For now I use the .so file with debug you provided in
#issue10325, I suppose it doesn't need to change turn settings if I use your reflector.
Found another interesting piece of logs:
[005:181] [25111] (
connection.cc:282): Conn[c801b5c0:0:Net[v-peer1:10.201.202.x/24:Unknown:id=3]:M9MhHXN6:1:0:local:udp:10.201.202.x:33446->n2zCqs3a:1:2122260223:local:udp:10.203.204.x:40478|C--W|-|0|0|9115038255631187454|-]: Connection created, total: 1
[005:181] [25111] (p2p_transport_channel.cc:1755): Channel[0|1|__]: Transport channel state changed from 0 to 2
[005:181] [25111] (jsep_transport_controller.cc:1428): 0 Transport 1 state changed. Check if state is complete.
[005:181] [25111] (jsep_transport_controller.cc:1428): 0 Transport 1 state changed. Check if state is complete.
[005:181] [25111] (p2p_transport_channel.cc:1566): Channel[0|1|__]: Have a pingable connection for the first time; starting to ping.
[005:182] [25111] (
connection.cc:1044): Conn[c801b5c0:0:Net[v-peer1:10.201.202.x/24:Unknown:id=3]:M9MhHXN6:1:0:local:udp:10.201.202.x:33446->n2zCqs3a:1:2122260223:local:udp:10.203.204.x:40478|C--W|-|0|0|9115038255631187454|-]: Sent STUN ping, id=4e726a692b79552b39435554, use_candidate=1, nomination=05] (webRTCPeer.cpp:288): onCandidate: ICE candidate added
[005:183] [25111] (turn_port.cc:1413): Port[c801ad60:0:1:0:relay:Net[v-peer1:10.201.202.x/24:Unknown:id=3]]: Received TURN allocate error response, id=6b456e593935574852737a36, code=401, rtt=1560:0:1:0:relay:Net[v-peer1:10.201.202.x/24:Unknown:id=3]]: TURN allocate request sent, id=53544d52336455486a567168rn_port.cc:1367): Port[c801ad60:0:1:0:relay:Net[v-peer1:10.201.202.x/24:Unknown:id=3]]: TURN allocate requested successfully, id=53544d52336455486a567168, code=0, rtt=14: Port[c801ad60:0:1:0:relay:Net[v-peer1:10.201.202.x/24:Unknown:id=3]]: Gathered candidate: Cand[:2567287068:1:udp:41885439:35.214.162.x:60052:relay:
142.93.98.42:33446:zfMK:RxabOZjWVbbSWSqJ6zs08iQS:3:50:0]n:id=3]]: Port ready.
[005:197] [25111] (physical_socket_server.cc:557): Socket::OPT_DSCP not supported.
[005:197] [25111] (p2p_transport_channel.cc:830): Port[c801ad60:0:1:0:relay:Net[v-peer1:10.201.202.x/24:Unknown:id=3]]: SetOption(5, 0) failed: 005:198] [25111] (turn_port.cc:1636): Port[c801ad60:0:1:0:relay:Net[v-peer1:10.201.202.x/24:Unknown:id=3]]: TURN create permission request sent, id=6870544f64454e6e4b6c4d69cc:282): Conn[c801e2d0:0:Net[v-peer1:10.201.202.x/24:Unknown:id=3]:kmGCzXFp:1:0:relay:udp:35.214.162.x:60052->n2zCqs3a:1:2122260223:local:udp:10.203.204.x:40478|C--W|-|0|0|179896594928123390|-]: Connection created2, total: 2
Namely:
Received TURN allocate error response, id=6b456e593935574852737a36, code=401.
Any idea why this error can happen?