Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved How to add websocket on cloudron for app support

    Rocket.Chat
    3
    8
    326
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      onlybro last edited by

      Hello!

      Can anyone let me know how to add the web socket feature to the rocketchat on cloudron I know how to do it on a raw installation of rocketchat kinda unaware on how things work on cloudron I need to use the iOS rocketchat app

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @onlybro last edited by

        @onlybro can you provide more details on how you enabled it on a non-cloudron installation? I was not aware that it would not already use websockets, at least the browser client does use websockets without any further configuration required.

        O 1 Reply Last reply Reply Quote 0
        • O
          onlybro @nebulon last edited by onlybro

          @nebulon

          By adding the following to

          /etc/nginx/conf.d/rocketchat.conf

          https://docs.rocket.chat/installation/manual-installation/configuring-ssl-reverse-proxy

          How to enable iOS app on cloudron ?

          nebulon 1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff @onlybro last edited by

            @onlybro the rocket chat app package does not use nginx, but nginx is provided as a generic reverse proxy for all apps. It is also properly setup to support websockets not just for rocketchat and is the SSL termination endpoint. Given that websockets do work and are used, as seen from the browser's webinspector, I am not sure what is missing. But I don't have an iOS device to test.

            O 1 Reply Last reply Reply Quote 0
            • O
              onlybro @nebulon last edited by

              @nebulon

              If you could simply let me know if any extra configuration is required to connect the rocketchat app to the iOS app /android app after installing from cloudron cause I tried to connect and the iOS app doesn’t connect which is the same error when the stated proxy is not entered while a user tries to connect to the iOS app on a raw installation

              nebulon 1 Reply Last reply Reply Quote 0
              • nebulon
                nebulon Staff @onlybro last edited by

                @onlybro no further config should be required. I am actively using the android app that works, but as mentioned, I don't have an iOS device to test. Maybe someone else here is using iOS and rocketchat to give some input?

                O 1 Reply Last reply Reply Quote 1
                • O
                  onlybro @nebulon last edited by

                  @nebulon

                  It works thanks

                  luckow 1 Reply Last reply Reply Quote 0
                  • luckow
                    luckow translator @onlybro last edited by

                    @onlybro same here. No problem with the ios rocket.chat app and rocket.chat on cloudron.

                    Pronouns: he/him | Primary language: German

                    1 Reply Last reply Reply Quote 2
                    • First post
                      Last post
                    Powered by NodeBB