No relay (TURN) candidate in SDP with iOS when being connected in LTE/4G
See attached file for log (with an Android comparison)sdpios-andoid.log
To reproduce: Be connected on LTE/4G, make a call.
btw, why all the addresses are twice as candidate?
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Cyrille Béraud changed milestone to %Next major release
changed milestone to %Next major release
- Owner
cause it's for media so, you're negotiating 4 links
Edited by Sébastien Blin - Owner
Ok, I diggued a little and I saw 2 problems:
- daemon's code is bugguy. This should be fixed by: https://review.jami.net/c/ring-daemon/+/15540
- Something is wrong with our coturn instances and I need more digging for this. The allocation request is correct
[0m[22;36m[1599580626.820|0x16b6cb000|manager.cpp :248 ] [0m11:57:06.820 tcprel0x112013600 ..TX 116 bytes STUN message to [2607:5300:201:3000::29cc]:3478:\ --- begin STUN message ---\ STUN Allocate request\ Hdr: length=96, magic=2112a442, tsx_id=0000027d2592b43238e042cb\ Attributes:\ REQUESTED-TRANSPORT: length=4, value=100663296 (0x6000000)\ REQUESTED-ADDRESS-FAMILY: length=4, value=33554432 (0x2000000)\ SOFTWARE: length=13, value="pjnath-2.10.0"\ USERNAME: length=4, value="ring"\ REALM: length=4, value="ring"\ NONCE: length=16, value="6409a6b5f2c80355"\ MESSAGE-INTEGRITY: length=20, data=ecefb4f6af2c56211dffff2f86530f567874ab0b\ --- end of STUN message ---\
And try to ask an IPv4 address to perform ipv4->ipv6 translation, however the request is rejected:
[0m[22;36m[1599580626.876|0x16b6cb000|manager.cpp :248 ] [0m11:57:06.876 tcprel0x112013600 !.RX 112 bytes STUN message from [2607:5300:201:3000::29cc]:3478:\ --- begin STUN message ---\ STUN Allocate error response\ Hdr: length=92, magic=2112a442, tsx_id=0000027d2592b43238e042cb\ Attributes:\ ERROR-CODE: length=32, err_code=440, reason="Unsupported address family"\ SOFTWARE: length=26, value="Coturn-4.5.0.3 'dan Eider'"\ MESSAGE-INTEGRITY: length=20, data=1e382e3e5b8a5fd50347cd6b73c19f5e9270fe3e\ --- end of STUN message ---\
And this can be related to https://github.com/coturn/coturn/issues/154
- Sébastien Blin mentioned in commit 6ce8a7ce
mentioned in commit 6ce8a7ce
- Owner
To conclude:
- For the daemon, our work is done because the commit is merged
- For the infra part, the ticket is opened and will be closed as soon as the turn got the new config
- For ipv6->ipv4 support, this will need some work but related to another issue
To be fully functional, we need a new ios release + changes in TURN's conf, after that I will close the ticket
- Owner
Ok, so some news:
- Our infra is ok now, and candidate are correctly added
- However I needed to revert the patch, this cause issues in pjsip when using a network without IPv6. Currently investigating with them. So now we need to wait this
- Maybe will try something today for this ipv6->ipv4 bridge
- Owner
Update we removed the modification on TURN servers due to certainly some connectivity issues
So the process will be:
- Fix pjsip
- Merge my patch in daemon + pjsip
- Fix coturn config
- Sébastien Blin mentioned in issue #309 (closed)
mentioned in issue #309 (closed)
- Mohamed Chibani added connectivity label
added connectivity label
- Mohamed Chibani mentioned in epic &22
mentioned in epic &22
- Mohamed Chibani added to epic &22
added to epic &22
- Sébastien Blin removed milestone %Next major release
removed milestone %Next major release
- Mohamed Chibani changed milestone to %Backlog
changed milestone to %Backlog
- Loic Bogino changed title from No relay (Turn) candidate in SDP with IOS when being connected in LTE/4G to No relay (TURN) candidate in SDP with iOS when being connected in LTE/4G
changed title from No relay (Turn) candidate in SDP with IOS when being connected in LTE/4G to No relay (TURN) candidate in SDP with iOS when being connected in LTE/4G
- Loic Bogino changed title from No relay (TURN) candidate in SDP with iOS when being connected in LTE/4G to No relay (TURN) candidate in SDP with iOS when being connected in LTE/4G
changed title from No relay (TURN) candidate in SDP with iOS when being connected in LTE/4G to No relay (TURN) candidate in SDP with iOS when being connected in LTE/4G