TelegramMessenger / Telegram-iOS

Telegram-iOS
6.34k stars 1.66k forks source link

IPv6 only network - call setup failed with TURN error #487

Open iShift opened 3 years ago

iShift commented 3 years ago

When you have v6 only network telegram failed to connect during call setup (endless connecting.... after partner hit answer)

Expected Behavior

Call should setup normally

Actual Behavior

Call doesn't connect

Steps to Reproduce

  1. Use v6 only network for 1 or both partners
  2. try to call
  3. have problem

Logs

2020-12-17 17:50:58:967 (RTCLogging.mm:33): (audio_device_ios.mm:582 HandleSampleRateChange): Handling playout sample rate change to: 48000.000000
  Session sample rate: 48000.000000 frames_per_buffer: 1024
  ADM sample rate: 48000.000000 frames_per_buffer: 1024
2020-12-17 17:50:58:967 (RTCLogging.mm:33): (audio_device_ios.mm:587 HandleSampleRateChange): Ignoring sample rate change since audio parameters are intact.
2020-12-17 17:50:58:967 (thread.cc:668): Message took 54ms to dispatch. Posted from: OnValidRouteChange@../../sdk/objc/native/src/audio/audio_device_ios.mm:352
2020-12-17 17:50:59:193 (EncryptedConnection.cpp:380): (signaling) Got RECV:empty#2
2020-12-17 17:50:59:193 (EncryptedConnection.cpp:493): (signaling) Got ACK:type2#2
2020-12-17 17:50:59:466 (basic_port_allocator.cc:1353): Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]: Allocation Phase=Relay
2020-12-17 17:50:59:467 (port.cc:186): Port[c038800::1:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Port created with network cost 900
2020-12-17 17:50:59:467 (basic_port_allocator.cc:885): Adding allocated port for transport
2020-12-17 17:50:59:467 (basic_port_allocator.cc:906): Port[c038800:transport:0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Added port to allocator
2020-12-17 17:50:59:467 (turn_port.cc:365): Port[c038800:transport:0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Trying to connect to TURN server via udp @ 91.108.12.x:599
2020-12-17 17:50:59:468 (turn_port.cc:1362): Port[c038800:transport:0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: TURN allocate request sent, id=37676b50534633374773784d
2020-12-17 17:50:59:468 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 12.70.130.x
2020-12-17 17:50:59:468 (port.cc:186): Port[c01a200::1:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Port created with network cost 900
2020-12-17 17:50:59:468 (basic_port_allocator.cc:885): Adding allocated port for transport
2020-12-17 17:50:59:468 (basic_port_allocator.cc:906): Port[c01a200:transport:0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Added port to allocator
2020-12-17 17:50:59:469 (turn_port.cc:365): Port[c01a200:transport:0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Trying to connect to TURN server via udp @ 91.108.16.x:599
2020-12-17 17:50:59:469 (turn_port.cc:1362): Port[c01a200:transport:0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: TURN allocate request sent, id=43446c455668636358704543
2020-12-17 17:50:59:469 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 12.70.130.x
2020-12-17 17:50:59:469 (port.cc:186): Port[c01aa00::1:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Port created with network cost 900
2020-12-17 17:50:59:469 (basic_port_allocator.cc:885): Adding allocated port for transport
2020-12-17 17:50:59:469 (basic_port_allocator.cc:906): Port[c01aa00:transport:0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Added port to allocator
2020-12-17 17:50:59:469 (turn_port.cc:365): Port[c01aa00:transport:0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Trying to connect to TURN server via udp @ 91.108.8.x:599
2020-12-17 17:50:59:470 (turn_port.cc:1362): Port[c01aa00:transport:0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: TURN allocate request sent, id=586a7777443062746c4a6b35
2020-12-17 17:50:59:470 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 12.70.130.x
2020-12-17 17:50:59:470 (basic_port_allocator.cc:1353): Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]: Allocation Phase=Relay
2020-12-17 17:50:59:470 (port.cc:186): Port[c01b200::1:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Port created with network cost 50
2020-12-17 17:50:59:470 (basic_port_allocator.cc:885): Adding allocated port for transport
2020-12-17 17:50:59:470 (basic_port_allocator.cc:906): Port[c01b200:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Added port to allocator
2020-12-17 17:50:59:470 (turn_port.cc:365): Port[c01b200:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Trying to connect to TURN server via udp @ 91.108.12.x:599
2020-12-17 17:50:59:471 (turn_port.cc:848): Port[c01b200:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:471 (turn_port.cc:1362): Port[c01b200:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: TURN allocate request sent, id=366a67667470536934595455
2020-12-17 17:50:59:471 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 10.254.254.x
2020-12-17 17:50:59:471 (port.cc:186): Port[c01ba00::1:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Port created with network cost 50
2020-12-17 17:50:59:471 (basic_port_allocator.cc:885): Adding allocated port for transport
2020-12-17 17:50:59:471 (basic_port_allocator.cc:906): Port[c01ba00:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Added port to allocator
2020-12-17 17:50:59:471 (turn_port.cc:365): Port[c01ba00:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Trying to connect to TURN server via udp @ 91.108.16.x:599
2020-12-17 17:50:59:472 (turn_port.cc:848): Port[c01ba00:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:472 (turn_port.cc:1362): Port[c01ba00:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: TURN allocate request sent, id=514d49307549535263737341
2020-12-17 17:50:59:472 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 10.254.254.x
2020-12-17 17:50:59:472 (port.cc:186): Port[c01c200::1:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Port created with network cost 50
2020-12-17 17:50:59:472 (basic_port_allocator.cc:885): Adding allocated port for transport
2020-12-17 17:50:59:472 (basic_port_allocator.cc:906): Port[c01c200:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Added port to allocator
2020-12-17 17:50:59:472 (turn_port.cc:365): Port[c01c200:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Trying to connect to TURN server via udp @ 91.108.8.x:599
2020-12-17 17:50:59:472 (turn_port.cc:848): Port[c01c200:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:472 (turn_port.cc:1362): Port[c01c200:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: TURN allocate request sent, id=464a7334357a2b3072396d69
2020-12-17 17:50:59:472 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 10.254.254.x
2020-12-17 17:50:59:472 (basic_port_allocator.cc:1353): Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]: Allocation Phase=Relay
2020-12-17 17:50:59:473 (port.cc:186): Port[c01e800::1:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Port created with network cost 50
2020-12-17 17:50:59:473 (basic_port_allocator.cc:885): Adding allocated port for transport
2020-12-17 17:50:59:473 (basic_port_allocator.cc:906): Port[c01e800:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Added port to allocator
2020-12-17 17:50:59:473 (turn_port.cc:365): Port[c01e800:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Trying to connect to TURN server via udp @ 91.108.12.x:599
2020-12-17 17:50:59:473 (turn_port.cc:848): Port[c01e800:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:473 (turn_port.cc:1362): Port[c01e800:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: TURN allocate request sent, id=744b5a464d43376c776b7245
2020-12-17 17:50:59:473 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 10.254.254.x
2020-12-17 17:50:59:473 (port.cc:186): Port[c01fa00::1:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Port created with network cost 50
2020-12-17 17:50:59:473 (basic_port_allocator.cc:885): Adding allocated port for transport
2020-12-17 17:50:59:473 (basic_port_allocator.cc:906): Port[c01fa00:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Added port to allocator
2020-12-17 17:50:59:473 (turn_port.cc:365): Port[c01fa00:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Trying to connect to TURN server via udp @ 91.108.16.x:599
2020-12-17 17:50:59:474 (turn_port.cc:848): Port[c01fa00:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:474 (turn_port.cc:1362): Port[c01fa00:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: TURN allocate request sent, id=6b5a4f446e67504f4a536961
2020-12-17 17:50:59:474 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 10.254.254.x
2020-12-17 17:50:59:474 (port.cc:186): Port[c020200::1:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Port created with network cost 50
2020-12-17 17:50:59:474 (basic_port_allocator.cc:885): Adding allocated port for transport
2020-12-17 17:50:59:474 (basic_port_allocator.cc:906): Port[c020200:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Added port to allocator
2020-12-17 17:50:59:474 (turn_port.cc:365): Port[c020200:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Trying to connect to TURN server via udp @ 91.108.8.x:599
2020-12-17 17:50:59:475 (turn_port.cc:848): Port[c020200:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:475 (turn_port.cc:1362): Port[c020200:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: TURN allocate request sent, id=4133556a6c5950786b4c5239
2020-12-17 17:50:59:475 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 10.254.254.x
2020-12-17 17:50:59:475 (basic_port_allocator.cc:1353): Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]: Allocation Phase=Relay
2020-12-17 17:50:59:475 (port.cc:186): Port[c020a00::1:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Port created with network cost 900
2020-12-17 17:50:59:475 (basic_port_allocator.cc:885): Adding allocated port for 
2020-12-17 17:50:59:475 (basic_port_allocator.cc:906): Port[c020a00::0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Added port to allocator
2020-12-17 17:50:59:475 (turn_port.cc:365): Port[c020a00::0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Trying to connect to TURN server via udp @ 91.108.12.x:599
2020-12-17 17:50:59:475 (turn_port.cc:1362): Port[c020a00::0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: TURN allocate request sent, id=533666686877506b42736339
2020-12-17 17:50:59:475 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 12.70.130.x
2020-12-17 17:50:59:475 (port.cc:186): Port[c021200::1:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Port created with network cost 900
2020-12-17 17:50:59:476 (basic_port_allocator.cc:885): Adding allocated port for 
2020-12-17 17:50:59:476 (basic_port_allocator.cc:906): Port[c021200::0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Added port to allocator
2020-12-17 17:50:59:476 (turn_port.cc:365): Port[c021200::0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Trying to connect to TURN server via udp @ 91.108.16.x:599
2020-12-17 17:50:59:476 (turn_port.cc:1362): Port[c021200::0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: TURN allocate request sent, id=6263304a6841507067395a53
2020-12-17 17:50:59:476 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 12.70.130.x
2020-12-17 17:50:59:476 (port.cc:186): Port[c021a00::1:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Port created with network cost 900
2020-12-17 17:50:59:476 (basic_port_allocator.cc:885): Adding allocated port for 
2020-12-17 17:50:59:476 (basic_port_allocator.cc:906): Port[c021a00::0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Added port to allocator
2020-12-17 17:50:59:476 (turn_port.cc:365): Port[c021a00::0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: Trying to connect to TURN server via udp @ 91.108.8.x:599
2020-12-17 17:50:59:477 (turn_port.cc:1362): Port[c021a00::0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: TURN allocate request sent, id=416b6632346a546f374c3279
2020-12-17 17:50:59:477 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 12.70.130.x
2020-12-17 17:50:59:477 (basic_port_allocator.cc:1353): Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]: Allocation Phase=Relay
2020-12-17 17:50:59:477 (port.cc:186): Port[c040800::1:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Port created with network cost 50
2020-12-17 17:50:59:477 (basic_port_allocator.cc:885): Adding allocated port for 
2020-12-17 17:50:59:477 (basic_port_allocator.cc:906): Port[c040800::0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Added port to allocator
2020-12-17 17:50:59:477 (turn_port.cc:365): Port[c040800::0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Trying to connect to TURN server via udp @ 91.108.12.x:599
2020-12-17 17:50:59:478 (turn_port.cc:848): Port[c040800::0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:478 (turn_port.cc:1362): Port[c040800::0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: TURN allocate request sent, id=2b2b446c4f5a674a5269355a
2020-12-17 17:50:59:478 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 10.254.254.x
2020-12-17 17:50:59:478 (port.cc:186): Port[c041000::1:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Port created with network cost 50
2020-12-17 17:50:59:478 (basic_port_allocator.cc:885): Adding allocated port for 
2020-12-17 17:50:59:478 (basic_port_allocator.cc:906): Port[c041000::0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Added port to allocator
2020-12-17 17:50:59:478 (turn_port.cc:365): Port[c041000::0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Trying to connect to TURN server via udp @ 91.108.16.x:599
2020-12-17 17:50:59:479 (turn_port.cc:848): Port[c041000::0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:479 (turn_port.cc:1362): Port[c041000::0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: TURN allocate request sent, id=5336792f31364344444e4941
2020-12-17 17:50:59:479 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 10.254.254.x
2020-12-17 17:50:59:479 (port.cc:186): Port[c039000::1:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Port created with network cost 50
2020-12-17 17:50:59:479 (basic_port_allocator.cc:885): Adding allocated port for 
2020-12-17 17:50:59:479 (basic_port_allocator.cc:906): Port[c039000::0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Added port to allocator
2020-12-17 17:50:59:479 (turn_port.cc:365): Port[c039000::0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Trying to connect to TURN server via udp @ 91.108.8.x:599
2020-12-17 17:50:59:480 (turn_port.cc:848): Port[c039000::0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:480 (turn_port.cc:1362): Port[c039000::0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: TURN allocate request sent, id=41767347583276516d526e67
2020-12-17 17:50:59:480 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 10.254.254.x
2020-12-17 17:50:59:480 (basic_port_allocator.cc:1353): Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]: Allocation Phase=Relay
2020-12-17 17:50:59:480 (port.cc:186): Port[c01f000::1:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Port created with network cost 50
2020-12-17 17:50:59:480 (basic_port_allocator.cc:885): Adding allocated port for 
2020-12-17 17:50:59:480 (basic_port_allocator.cc:906): Port[c01f000::0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Added port to allocator
2020-12-17 17:50:59:480 (turn_port.cc:365): Port[c01f000::0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Trying to connect to TURN server via udp @ 91.108.12.x:599
2020-12-17 17:50:59:480 (turn_port.cc:848): Port[c01f000::0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:480 (turn_port.cc:1362): Port[c01f000::0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: TURN allocate request sent, id=4652384d4167734947614b7a
2020-12-17 17:50:59:480 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 10.254.254.x
2020-12-17 17:50:59:480 (port.cc:186): Port[c039800::1:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Port created with network cost 50
2020-12-17 17:50:59:480 (basic_port_allocator.cc:885): Adding allocated port for 
2020-12-17 17:50:59:480 (basic_port_allocator.cc:906): Port[c039800::0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Added port to allocator
2020-12-17 17:50:59:480 (turn_port.cc:365): Port[c039800::0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Trying to connect to TURN server via udp @ 91.108.16.x:599
2020-12-17 17:50:59:481 (turn_port.cc:848): Port[c039800::0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:481 (turn_port.cc:1362): Port[c039800::0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: TURN allocate request sent, id=667a6c6f506c527464593677
2020-12-17 17:50:59:481 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 10.254.254.x
2020-12-17 17:50:59:481 (port.cc:186): Port[c043a00::1:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Port created with network cost 50
2020-12-17 17:50:59:481 (basic_port_allocator.cc:885): Adding allocated port for 
2020-12-17 17:50:59:481 (basic_port_allocator.cc:906): Port[c043a00::0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Added port to allocator
2020-12-17 17:50:59:481 (turn_port.cc:365): Port[c043a00::0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Trying to connect to TURN server via udp @ 91.108.8.x:599
2020-12-17 17:50:59:481 (turn_port.cc:848): Port[c043a00::0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:481 (turn_port.cc:1362): Port[c043a00::0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: TURN allocate request sent, id=396f324b57646e2f61507a2f
2020-12-17 17:50:59:481 (basic_port_allocator.cc:1520): Server and local address families are not compatible. Server address: 2a00:ab00:300:x:x:x:x:x Local address: 10.254.254.x
2020-12-17 17:50:59:724 (turn_port.cc:1362): Port[c038800:transport:0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: TURN allocate request sent, id=37676b50534633374773784d
2020-12-17 17:50:59:725 (turn_port.cc:1362): Port[c01a200:transport:0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: TURN allocate request sent, id=43446c455668636358704543
2020-12-17 17:50:59:725 (turn_port.cc:1362): Port[c01aa00:transport:0:0:relay:Net[pdp_ip1:12.70.130.x/32:Cellular:id=10]]: TURN allocate request sent, id=586a7777443062746c4a6b35
2020-12-17 17:50:59:726 (turn_port.cc:848): Port[c01b200:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:726 (turn_port.cc:1362): Port[c01b200:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: TURN allocate request sent, id=366a67667470536934595455
2020-12-17 17:50:59:726 (turn_port.cc:848): Port[c01ba00:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:726 (turn_port.cc:1362): Port[c01ba00:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: TURN allocate request sent, id=514d49307549535263737341
2020-12-17 17:50:59:726 (turn_port.cc:848): Port[c01c200:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:727 (turn_port.cc:1362): Port[c01c200:transport:0:0:relay:Net[ipsec3:10.254.254.x/32:VPN/Unknown:id=3]]: TURN allocate request sent, id=464a7334357a2b3072396d69
2020-12-17 17:50:59:727 (turn_port.cc:848): Port[c01e800:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:727 (turn_port.cc:1362): Port[c01e800:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: TURN allocate request sent, id=744b5a464d43376c776b7245
2020-12-17 17:50:59:727 (turn_port.cc:848): Port[c01fa00:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:727 (turn_port.cc:1362): Port[c01fa00:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: TURN allocate request sent, id=6b5a4f446e67504f4a536961
2020-12-17 17:50:59:728 (turn_port.cc:848): Port[c020200:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: Failed to send TURN message, error: 35
2020-12-17 17:50:59:728 (turn_port.cc:1362): Port[c020200:transport:0:0:relay:Net[ipsec4:10.254.254.x/32:VPN/Unknown:id=5]]: TURN allocate request sent, id=4133556a6c5950786b4c5239

Environment

Device: iPhone XS

iOS version: 14.4

App version: 7.4.2

ali-fareed commented 3 years ago

Please check if the issue is fixed in 7.6.

iShift commented 3 years ago

Nope, same problem. @ali-fareed

PS You can test V6 only network with apple Guide: (even if you have no real IPv6)

https://developer.apple.com/library/archive/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html

Use paragraph Test for IPv6 DNS64/NAT64 Compatibility Regularly

local_ipv6_dns64_nat64_network_2x

don't forget to turn off cellular when testing....

Logs on last app version: CallStats (1).log

Network: photo_2021-03-20 13 27 55 photo_2021-03-20 13 27 53

tigermust commented 3 years ago

@ali-fareed I have the same problem on IPhone. I have Iphone with IPv6 only, and other IPhone with IPv4 only. Calling isn't establishing. Could you please share when are you planning to fix it?

AirDRoN-lab commented 3 years ago

The same issue on IPhone11 (IOS 14.4.1). IPv6 only case. No attempt to establish a UDP IPv6 session to the STUN telegram server.

ali-fareed commented 3 years ago

@AirDRoN-lab does the other user have any IPv6 connectivity?

AirDRoN-lab commented 3 years ago

No. Side A - IPv6 only, side B - IPv4 only. I tried to call from A to B and from B to A. The result was the same - call failed.

AirDRoN-lab commented 2 years ago

Upgraded to IOS 15.1 (IPhone11). The (IPv4)<->(IPv6) audio call problem still persist. When the bug will be fixed?