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. Support
  3. Cloudron with Nextcloud Talk can't connect calls after v20 upgrade

Cloudron with Nextcloud Talk can't connect calls after v20 upgrade

Scheduled Pinned Locked Moved Support
nextcloud talkturn
23 Posts 5 Posters 2.8k Views 4 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

    @girish you have an email with logs.

    girishG Do not disturb
    girishG Do not disturb
    girish
    Staff
    wrote on last edited by
    #8

    @robi Johannes and I tried a whole bunch of calls. Calls fail now and then. But if we refresh browser connect/discoonect, it connects eventually. I could connect reliably in chrome but not in firefox. If I start a call in firefox, then johannes can never join it. It fails with "WebRTC: ICE failed, see about:webrtc for more details" for me in the console.

    Not sure, what the final outcome of all this is. It's basically, "your mileage may vary". Maybe should be reported upstream?

    robiR 2 Replies Last reply
    0
    • girishG girish

      @robi Johannes and I tried a whole bunch of calls. Calls fail now and then. But if we refresh browser connect/discoonect, it connects eventually. I could connect reliably in chrome but not in firefox. If I start a call in firefox, then johannes can never join it. It fails with "WebRTC: ICE failed, see about:webrtc for more details" for me in the console.

      Not sure, what the final outcome of all this is. It's basically, "your mileage may vary". Maybe should be reported upstream?

      robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #9

      @girish Thanks for testing.

      It's disappointing that what once worked so well and is the basis of the self-hosted install is now unusable.

      Furthermore, there don't appear to be sufficient logs figure out what could possible be adjusted. What about the TURN server logs? TCP/UDP ports?

      Even stranger is that depending on who initiates the connection, an audio stream manages to connect, but only in one direction.

      Since VPS Cloudrons work well, I'm leaning towards the router port forwarding, but which ports will make a difference??

      Conscious tech

      1 Reply Last reply
      0
      • girishG girish

        @robi Johannes and I tried a whole bunch of calls. Calls fail now and then. But if we refresh browser connect/discoonect, it connects eventually. I could connect reliably in chrome but not in firefox. If I start a call in firefox, then johannes can never join it. It fails with "WebRTC: ICE failed, see about:webrtc for more details" for me in the console.

        Not sure, what the final outcome of all this is. It's basically, "your mileage may vary". Maybe should be reported upstream?

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #10

        @girish Do you have a better idea of what to report upstream vs 'now it doesn't work' ?

        Conscious tech

        nebulonN girishG 2 Replies Last reply
        0
        • robiR robi

          @girish Do you have a better idea of what to report upstream vs 'now it doesn't work' ?

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

          @robi it more looks like some state handling issue in Nextcloud talk and not so much an issue in the TURN server or port setup, if it works sometimes and sometimes not.

          I guess for your setup to gain some more insight would be to check if you are able to make calls at all even if only sometimes and also test kopano meet to check if this is even similar to what we have seen.

          Generally when reporting something here upstream it will surely help to send a dump of the browser console logs alongside, Nextcloud talk outputs a lot of debugging info, I assume this is there for a reason...

          1 Reply Last reply
          0
          • robiR robi

            @girish Do you have a better idea of what to report upstream vs 'now it doesn't work' ?

            girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #12

            @robi I don't know what to exactly "report". (TBH, If I did, I would have reported it upstream myself 🙂 ). I didn't investigate much but I couldn't figure how to get meaningful logs for the nextcloud devs.

            robiR 1 Reply Last reply
            0
            • girishG girish

              @robi I don't know what to exactly "report". (TBH, If I did, I would have reported it upstream myself 🙂 ). I didn't investigate much but I couldn't figure how to get meaningful logs for the nextcloud devs.

              robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #13

              @girish it seems to be a difference between single port usage and multi port usage via TURN server. The former used to work fine but may have been deprecated?

              My gut instinct was telling me it's also port related.

              Doing some more testing we enabled UDP ports in the 50,000 range and began to have better call connection results.

              Final tweak was realizing that one of the clients had a mobile VPN enabled which only dropped incoming audio connections but not outgoing. 🤦 :

              So if you can validate your testing with @nebulon that adding the UDP ports to the NAT Firewall lets you connect, that would give enough data for an upstream report.

              Conscious tech

              girishG 1 Reply Last reply
              0
              • robiR robi

                @girish it seems to be a difference between single port usage and multi port usage via TURN server. The former used to work fine but may have been deprecated?

                My gut instinct was telling me it's also port related.

                Doing some more testing we enabled UDP ports in the 50,000 range and began to have better call connection results.

                Final tweak was realizing that one of the clients had a mobile VPN enabled which only dropped incoming audio connections but not outgoing. 🤦 :

                So if you can validate your testing with @nebulon that adding the UDP ports to the NAT Firewall lets you connect, that would give enough data for an upstream report.

                girishG Do not disturb
                girishG Do not disturb
                girish
                Staff
                wrote on last edited by
                #14

                @robi said in Cloudron with Nextcloud Talk can't connect calls after v20 upgrade:

                So if you can validate your testing with @nebulon that adding the UDP ports to the NAT Firewall lets you connect, that would give enough data for an upstream report.

                FWIW, we tested with a Cloudron on a VPS, so there is cloud/NAT firewall. Indeed, if you have a NAT firewall those ports have to be opened up. I will add it to https://docs.cloudron.io/security/#cloud-firewall

                robiR 1 Reply Last reply
                1
                • girishG girish

                  @robi said in Cloudron with Nextcloud Talk can't connect calls after v20 upgrade:

                  So if you can validate your testing with @nebulon that adding the UDP ports to the NAT Firewall lets you connect, that would give enough data for an upstream report.

                  FWIW, we tested with a Cloudron on a VPS, so there is cloud/NAT firewall. Indeed, if you have a NAT firewall those ports have to be opened up. I will add it to https://docs.cloudron.io/security/#cloud-firewall

                  robiR Offline
                  robiR Offline
                  robi
                  wrote on last edited by
                  #15

                  @girish right, yet this all used to work fine with a single port until the latest changes. Not sure if that was planned or a regression.

                  Conscious tech

                  jdaviescoatesJ 1 Reply Last reply
                  0
                  • robiR robi

                    @girish right, yet this all used to work fine with a single port until the latest changes. Not sure if that was planned or a regression.

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

                    ...and I'm not sure if this issue effects me/ everyone or not? Is there someone extra we now all have to do to get Nextcloud Talk working after a v20 upgrade?

                    I use Cloudron with Gandi & Hetzner

                    robiR 1 Reply Last reply
                    0
                    • jdaviescoatesJ jdaviescoates

                      ...and I'm not sure if this issue effects me/ everyone or not? Is there someone extra we now all have to do to get Nextcloud Talk working after a v20 upgrade?

                      robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #17

                      @jdaviescoates only if you're behind a NATing firewall.

                      VPS Cloudrons are not affected.
                      Home and Office Cloudrons would be and need to have the appropriate port forwarding set up if expecting calls with other users outside the local network to connect.

                      Conscious tech

                      1 Reply Last reply
                      1
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by A Former User
                        #18

                        I'd like to revive this. Looks like its still an issue for me. For context I have even tried making my server the DMZ on my router to rule out DNS issues. Here are my ports I've forwarded. It just loads for me and anyone I try and invite.

                        Screen Shot 2020-12-16 at 8.36.13 PM.png

                        Any ideas? @girish @robi

                        EDIT: Just tried local connections and it works... O_O

                        1 Reply Last reply
                        1
                        • ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by A Former User
                          #19

                          So one issue I noticed is that when I use my Adguard DNS to talk to someone with nextcloud talk it works. When I use the default DNS server I have issues. Odd...

                          EDIT: I have some TURN logs I sent in via a support ticket btw

                          EDIT 2: Nevermind the adguard trick only works on my phone... unsure whats going on.

                          EDIT 3: Nevermind again. Seems like this issue is happening for me in the browser??? works fine afaik on the iOS/Android app.

                          1 Reply Last reply
                          0
                          • ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by A Former User
                            #20

                            Incredibly confusing and frustrating. I guess I'll look at it more in the morning...

                            girishG 1 Reply Last reply
                            0
                            • ? A Former User

                              Incredibly confusing and frustrating. I guess I'll look at it more in the morning...

                              girishG Do not disturb
                              girishG Do not disturb
                              girish
                              Staff
                              wrote on last edited by
                              #21

                              @atrilahiji To narrow this down to network or a Cloudron issue, can you try maybe a call at https://meet.jit.si/ ?

                              ? 2 Replies Last reply
                              0
                              • girishG girish

                                @atrilahiji To narrow this down to network or a Cloudron issue, can you try maybe a call at https://meet.jit.si/ ?

                                ? Offline
                                ? Offline
                                A Former User
                                wrote on last edited by
                                #22

                                @girish Jitsi works for me with the same test

                                1 Reply Last reply
                                0
                                • girishG girish

                                  @atrilahiji To narrow this down to network or a Cloudron issue, can you try maybe a call at https://meet.jit.si/ ?

                                  ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by A Former User
                                  #23

                                  @girish @nebulon Encountering the exact same issue with Matrix with the same network setup and same individual I was testing Nextcloud Talk with. Any ideas on how I can proceed here? I'm a bit lost but it looks to be either a TURN or network issue. The only thing I've changed lately is bridging my ISP modem to a new router I got. I have forwarded the ports I believe I need. (Also I sent new screenshots to the support email)

                                  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