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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Nextcloud Talk not connecting calls

Nextcloud Talk not connecting calls

Scheduled Pinned Locked Moved Nextcloud
nextcloud talk
30 Posts 15 Posters 5.4k Views 16 Watching
  • 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.
  • robiR robi

    @nebulon adding stream support is done by enabling the module config.

    See:
    https://jitsi.github.io/handbook/docs/devops-guide/turn

    Hence you can rev/fwd proxy anything as long as you can pass in the servername for nginx to pivot on.

    FYI the stream_core_module is included in Ubuntu enginx-core packages.

    P.S. It would be useful for @staff to be aware of the other modules for mail and other services that are available for multi-cloudron functionality.

    32463 Offline
    32463 Offline
    3246
    wrote on last edited by 3246
    #9

    I'm playing with https://markus-blog.de/index.php/2020/11/20/how-to-run-nextcloud-talk-high-performance-backend-with-stun-turnserver-on-ubuntu-with-docker-compose/ on a Scaleway VM now to see how it works. It would be ace to get Cloudron's proxy to be able to proxy to the TURN/STUN server. Maybe my set up is too complicated (double NAT) and it works more smoothly to run Cloudron on a dedicated VM in a data centre somewhere 😕

    👉 Find our more www.bebraver.online

    1 Reply Last reply
    0
    • nebulonN nebulon

      @micmc unfortunately the TURN server on Cloudron cannot run on port 443, which is the most reliable one for webrtc, however nginx is already running there. There is some way to split traffic in nginx, but that is not part of the open source version, it needs some streams feature. So we had to fallback to other ports, which may or may not be blocked by a network. We may have to provide a feature to select which TURN server should be used for apps, internal or external, similar to how we deal with email sending.

      micmcM Offline
      micmcM Offline
      micmc
      wrote on last edited by micmc
      #10

      @nebulon said in Nextcloud Talk not connecting calls:

      @micmc unfortunately the TURN server on Cloudron cannot run on port 443, which is the most reliable one for webrtc

      Yeah, true I always forget this 'limitation' that TURN needs to run on port 443.

      We may have to provide a feature to select which TURN server should be used for apps, internal or external, similar to how we deal with email sending.

      While being at it that would be a great solution, and for several apps at the same time. +1 🙂

      Ignorance is not an excuse anymore!
      https://AutomateKit.com

      32463 1 Reply Last reply
      0
      • nebulonN nebulon

        @micmc unfortunately the TURN server on Cloudron cannot run on port 443, which is the most reliable one for webrtc, however nginx is already running there. There is some way to split traffic in nginx, but that is not part of the open source version, it needs some streams feature. So we had to fallback to other ports, which may or may not be blocked by a network. We may have to provide a feature to select which TURN server should be used for apps, internal or external, similar to how we deal with email sending.

        32463 Offline
        32463 Offline
        3246
        wrote on last edited by 3246
        #11

        @nebulon I just noticed that my custom TURN settings are being overwritten when the app is updated 😢

        stun_server
        turn_server
        TURN server schemes
        turn_secret
        

        Looks like signaling_secret is not affected.

        I assume this is the expected behaviour but as a user who customises this, I would like my own settings to be honored, please 😉

        👉 Find our more www.bebraver.online

        1 Reply Last reply
        0
        • micmcM micmc

          @nebulon said in Nextcloud Talk not connecting calls:

          @micmc unfortunately the TURN server on Cloudron cannot run on port 443, which is the most reliable one for webrtc

          Yeah, true I always forget this 'limitation' that TURN needs to run on port 443.

          We may have to provide a feature to select which TURN server should be used for apps, internal or external, similar to how we deal with email sending.

          While being at it that would be a great solution, and for several apps at the same time. +1 🙂

          32463 Offline
          32463 Offline
          3246
          wrote on last edited by
          #12

          @micmc said in Nextcloud Talk not connecting calls:

          Yeah, true I always forget this 'limitation' that TURN needs to run on port 443.

          Where does this come from or where you being sarcastic? (sorry, my translator is not enabled today) 🙂

          I run my own TURN and STUN servers on port 3478. Maybe I am misunderstanding?

          👉 Find our more www.bebraver.online

          nebulonN E 2 Replies Last reply
          0
          • 32463 3246

            @micmc said in Nextcloud Talk not connecting calls:

            Yeah, true I always forget this 'limitation' that TURN needs to run on port 443.

            Where does this come from or where you being sarcastic? (sorry, my translator is not enabled today) 🙂

            I run my own TURN and STUN servers on port 3478. Maybe I am misunderstanding?

            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #13

            @3246 this is not a real requirement but just depends on which network the clients are on. Some public wifis for example would block most ports besides the common ones. TURN on 443 is just a safe bet, since 443 is basically always open.

            1 Reply Last reply
            1
            • 32463 3246

              @micmc said in Nextcloud Talk not connecting calls:

              Yeah, true I always forget this 'limitation' that TURN needs to run on port 443.

              Where does this come from or where you being sarcastic? (sorry, my translator is not enabled today) 🙂

              I run my own TURN and STUN servers on port 3478. Maybe I am misunderstanding?

              E Offline
              E Offline
              eganonoa
              wrote on last edited by
              #14

              @3246 @girish mentioned public wifis. I think biggest reason for setting up turn on 443 is that very many (most?) academic and corporate IT systems block everything but 443 for ordinary users. So you'll never get a good connection if you have users accessing the internet there.

              Cloudron does indeed overwrite the turn server setting in Nextcloud upon reboot/update of the app. Thankfully with Nextcoud you don't need to reboot to add the turnsever back in. So adding it works.

              Sadly that's not the case with other apps - notably matrix - which means those apps will be limited in their videoconferencing capability until the ability to add an external turnserver is added to cloudron.

              @girish from my perspective I don't think you need a per-app choice there. Just a global option which turnserver to use across apps. My sense is that people who need an external turnserver for one app (because of users in an academic/corporate setting or using Cloudflare, etc) will need it for them all.

              • list item
              32463 1 Reply Last reply
              1
              • E eganonoa

                @3246 @girish mentioned public wifis. I think biggest reason for setting up turn on 443 is that very many (most?) academic and corporate IT systems block everything but 443 for ordinary users. So you'll never get a good connection if you have users accessing the internet there.

                Cloudron does indeed overwrite the turn server setting in Nextcloud upon reboot/update of the app. Thankfully with Nextcoud you don't need to reboot to add the turnsever back in. So adding it works.

                Sadly that's not the case with other apps - notably matrix - which means those apps will be limited in their videoconferencing capability until the ability to add an external turnserver is added to cloudron.

                @girish from my perspective I don't think you need a per-app choice there. Just a global option which turnserver to use across apps. My sense is that people who need an external turnserver for one app (because of users in an academic/corporate setting or using Cloudflare, etc) will need it for them all.

                • list item
                32463 Offline
                32463 Offline
                3246
                wrote on last edited by
                #15

                @girish @nebulon is there a way for me to hardcode my own TURN server / HPB? I have to manually check and update three Nextcloud sites every day, which is getting a bit tedious 😭

                Pretty please 🐱

                👉 Find our more www.bebraver.online

                girishG 1 Reply Last reply
                1
                • 32463 3246

                  @girish @nebulon is there a way for me to hardcode my own TURN server / HPB? I have to manually check and update three Nextcloud sites every day, which is getting a bit tedious 😭

                  Pretty please 🐱

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #16

                  @3246 this is coming in 7.2 - https://forum.cloudron.io/topic/6655/what-s-coming-in-7-2 (the last bullet point)

                  32463 D 2 Replies Last reply
                  3
                  • girishG girish

                    @3246 this is coming in 7.2 - https://forum.cloudron.io/topic/6655/what-s-coming-in-7-2 (the last bullet point)

                    32463 Offline
                    32463 Offline
                    3246
                    wrote on last edited by
                    #17

                    @girish said in Nextcloud Talk not connecting calls:

                    Amazing! Thank you 😄

                    👉 Find our more www.bebraver.online

                    1 Reply Last reply
                    0
                    • doodlemania2D doodlemania2

                      @3246 This is likely due to firewalls and NATs from you and your peer. The default installation will require you to add at least a TURN server and, sometimes, a high performance backend. The cloudron turn server works well for getting through NATS.

                      If you're interested, I offer a TURN and high performance backend service - see https://www.thedoodleproject.com

                      I Offline
                      I Offline
                      Innky
                      wrote on last edited by
                      #18

                      @doodlemania2

                      1. Do I need to install the turn server on the same server I installed the nextcloud

                      Or a different server?

                      My nextcloud works fine just that I can not call users on a different network.

                      How do I do this right, for I call users who are not on the same networks?

                      Thank you

                      1 Reply Last reply
                      0
                      • girishG girish

                        @3246 this is coming in 7.2 - https://forum.cloudron.io/topic/6655/what-s-coming-in-7-2 (the last bullet point)

                        D Offline
                        D Offline
                        dmikolaj
                        wrote on last edited by
                        #19

                        @girish where are we at with this solution in 7.2? My nextcloud talk won't work with the default turn settings, it only works when all the devices in the call are on the same local network. looks like my preconfigured by cloudron turn settings in nextcloud are on port 3478.

                        also if i overwrite my turn settings, where in your documentation are the settings located so i can restore to the cloudron defaults?

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          joseph
                          Staff
                          wrote on last edited by
                          #20

                          @dmikolaj is this spam?

                          D 1 Reply Last reply
                          0
                          • firmansiF Offline
                            firmansiF Offline
                            firmansi
                            wrote on last edited by
                            #21

                            Actually I also still experience this issue, I can't make proper video call even after configure built-in TURN server, is there any port that should be set in firewall ?

                            1 Reply Last reply
                            0
                            • J joseph

                              @dmikolaj is this spam?

                              D Offline
                              D Offline
                              dmikolaj
                              wrote on last edited by
                              #22

                              @joseph no this is not spam.

                              I tried both on your demo server and on my own test VPS to get nextcloud talk to work. The calls only work when both callers are on the same network which tells me that the turn server is not working. I also have a hetzner storage share nextcloud instance in which talk works out of the box in the same test scenario.

                              The hetzner nextcloud talk settings show their turn/stun server configured to port 443 and it works great.

                              I was wondering if I was doing something wrong, and have been looking through forums to try and see if there is a fix. So far it sounds like the built in cloudron turn server is not on port 443 which means it doesn't work reliably across all networks.

                              1 Reply Last reply
                              1
                              • nebulonN Offline
                                nebulonN Offline
                                nebulon
                                Staff
                                wrote on last edited by
                                #23

                                It is correct, since Cloudron only has one server, where port 443 is occupied by the nginx reverse proxy, the turn server is not running on port 443. This can impact functionality depending on the local network setup. For this you can disable the usage of Cloudron's built-in turn server in nextcloud. See https://docs.cloudron.io/apps/#turn

                                Afterwards you can configure an alternative turn server, which works in your setup.

                                1 Reply Last reply
                                1
                                • firmansiF Offline
                                  firmansiF Offline
                                  firmansi
                                  wrote on last edited by
                                  #24

                                  @nebulon I guess the question (which not really provided in docs) is suggested port numbers that should be kept away from firewall

                                  1 Reply Last reply
                                  0
                                  • nebulonN Offline
                                    nebulonN Offline
                                    nebulon
                                    Staff
                                    wrote on last edited by
                                    #25

                                    @firmansi do you mean something like https://docs.cloudron.io/security/#inbound-ports or referring to something else?

                                    1 Reply Last reply
                                    0
                                    • firmansiF Offline
                                      firmansiF Offline
                                      firmansi
                                      wrote on last edited by
                                      #26

                                      @nebulon yes, thanks

                                      1 Reply Last reply
                                      0
                                      • andreasduerenA Offline
                                        andreasduerenA Offline
                                        andreasdueren
                                        wrote on last edited by
                                        #27

                                        I can heavily recommend running a dedicated turn server or even better the high performance backend for reliable NC Talk conversations. I have had only problems using the built in turn server.

                                        jdaviescoatesJ 1 Reply Last reply
                                        0
                                        • andreasduerenA andreasdueren

                                          I can heavily recommend running a dedicated turn server or even better the high performance backend for reliable NC Talk conversations. I have had only problems using the built in turn server.

                                          jdaviescoatesJ Offline
                                          jdaviescoatesJ Offline
                                          jdaviescoates
                                          wrote on last edited by
                                          #28

                                          @andreasdueren said in Nextcloud Talk not connecting calls:

                                          the high performance backend

                                          remind me, does that come with a turn server built in?

                                          I use Cloudron with Gandi & Hetzner

                                          andreasduerenA 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search