Skip to content

Inexplicable binding fail #132

@deldering

Description

@deldering

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

often

Expected behavior

The binding process of a webrtc call should always succeed

Actual behavior (suspected bug)

Without any apparent reason, sometimes the binding just doesn't succeed causing the call setup to fail. Two calls right after each other can just fail or succeed seemingly at random

Error logs or terminal output

## Failed logs:
I (25713) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59787 remote:192.168.70.205:55335 id:666d97166fd595896931589d
I (25715) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59787 remote:192.168.70.205:45629 id:17c5e07e0b0abb7751af16c6
I (25726) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59787 remote:95.128.95.110:45629 id:1dee132f3b3a772600f32298
I (25738) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59787 remote:95.128.95.110:55335 id:5148068835eb8df57a1179b4
I (25749) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:62130 id:6db4489d4a691c3a5a89680d
I (25760) AGENT: 1 send indication bind request

I (25765) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:53025 id:6de3eda1559e2ff738b9210f
I (25776) AGENT: 1 send indication bind request

I (25781) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:63326 id:0d1102d92657c93c79b12ba8
I (25792) AGENT: 1 send indication bind request

I (25797) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:65320 id:59b5fe2a302059cd4e8694c2
I (25808) AGENT: 1 send indication bind request

I (26006) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:60568 id:23252c5217e9617140c9fe6a
I (26007) AGENT: 1 send indication bind request

I (26174) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59787 remote:192.168.70.205:55335 id:49067a72561f3b294fd30023
I (26175) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59787 remote:192.168.70.205:45629 id:07d89db046755a5b482fa51b
I (26186) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59787 remote:95.128.95.110:45629 id:44aeb1a30d57872a4cbd7e82
I (26198) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59787 remote:95.128.95.110:55335 id:235e94882bd25b445ec1cc19
I (26209) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:52988 id:47a3556b3c7f6aa37c55d8ae
I (26220) AGENT: 1 send indication bind request

I (26225) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:62130 id:2b847f490057b6d65df6e283
I (26236) AGENT: 1 send indication bind request

I (26241) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:53025 id:274a1fa301b180397fdf0c93
I (26252) AGENT: 1 send indication bind request

I (26257) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:63326 id:00611ef139b7048a5cfaa8fe
I (26268) AGENT: 1 send indication bind request

I (26273) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:65320 id:29ae8b7e0f90f8e4755b6b75
I (26284) AGENT: 1 send indication bind request

I (26464) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:60568 id:43af20857abebc581f1b54dd
I (26464) AGENT: 1 send indication bind request


E (26534) AGENT: 1 Not found for bind remote 192.168.70.205:45339
I (26708) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59787 remote:192.168.70.205:55335 id:340c30247b7620e675214e9d
I (26709) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59787 remote:192.168.70.205:45629 id:5aec5e5d0cad3244587f6040
I (26720) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59787 remote:95.128.95.110:45629 id:6e6aa68b1fd3905a22c4f223
I (26732) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59787 remote:95.128.95.110:55335 id:7c06ba5e0cf05da936745def
I (26743) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:52988 id:7502199c312fab7a6559aa41
I (26754) AGENT: 1 send indication bind request

I (26759) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:62130 id:75c9aeeb4ea0c6061a637bf2
I (26770) AGENT: 1 send indication bind request

I (26775) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:53025 id:42967a6c4bb1e6be1c2099d9
I (26786) AGENT: 1 send indication bind request

I (26791) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:63326 id:142fef23690ae3066849ed7a
I (26802) AGENT: 1 send indication bind request

I (26807) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:65320 id:2e03d8d7274ee4520346c612
I (26818) AGENT: 1 send indication bind request

I (26985) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:60568 id:20f8ff943d0442950c75db66
I (26986) AGENT: 1 send indication bind request

I (27153) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59787 remote:192.168.70.205:55335 id:22fefe0663d6e1236c52f559
I (27154) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59787 remote:192.168.70.205:45629 id:13de80f246ac426f6a4677fa
I (27165) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59787 remote:95.128.95.110:45629 id:1203eee7767bb4ec22e2e0a9
I (27177) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59787 remote:95.128.95.110:55335 id:467c6ee63e0e58ab665297aa
I (27188) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:52988 id:0d20d75f5f6694a52c86c8b1
I (27199) AGENT: 1 send indication bind request

I (27204) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:62130 id:14cc39617dc30b8a521b4c78
I (27215) AGENT: 1 send indication bind request

I (27220) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:53025 id:09effe474cbe2c787756e639
I (27231) AGENT: 1 send indication bind request

I (27236) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:63326 id:455e81d9476e8c4a7b6797af
I (27247) AGENT: 1 send indication bind request

I (27252) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:65320 id:4681c3bd0c7fe26a080778f5
I (27263) AGENT: 1 send indication bind request

I (27426) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:60568 id:4272e9912930a9cd78ab7f5f
I (27427) AGENT: 1 send indication bind request

I (27595) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59787 remote:192.168.70.205:55335 id:24308d751b5a7b5f49202f41
I (27596) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59787 remote:192.168.70.205:45629 id:2103fbb8713585d500d94438
I (27607) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59787 remote:95.128.95.110:45629 id:30d8d007289c95fe48d313d8
I (27619) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59787 remote:95.128.95.110:55335 id:25a5cd5a391204b14170b52f
I (27630) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:52988 id:07bff03541f7c92a43ff5738
I (27641) AGENT: 1 send indication bind request

I (27646) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:62130 id:28adc2af30c254625498210f
I (27657) AGENT: 1 send indication bind request

I (27662) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:53025 id:332ec7743fec221c557bac70
I (27673) AGENT: 1 send indication bind request

I (27678) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:63326 id:40bacb5f48e2acbe4dbb1db3
I (27689) AGENT: 1 send indication bind request

I (27694) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:65320 id:44c47458033d4927354a946b
I (27705) AGENT: 1 send indication bind request

E (27712) AGENT: 1 Not found for bind remote 192.168.70.205:45339
I (27889) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:60568 id:7ab97d104170719a75d77cae
I (27889) AGENT: 1 send indication bind request

I (28057) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59787 remote:192.168.70.205:55335 id:515a510540a722086fbfe338
I (28058) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59787 remote:192.168.70.205:45629 id:55e2dd847dcb6bd60a1b990a
I (28069) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59787 remote:95.128.95.110:45629 id:24872187242d4a553fcad87a
I (28081) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59787 remote:95.128.95.110:55335 id:03e4e3a35e1dce7551f0aa35
I (28092) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:52988 id:6fe91e6c2322a8846df77827
I (28103) AGENT: 1 send indication bind request

I (28108) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:62130 id:621f7dc2473fade00ecfd396
I (28119) AGENT: 1 send indication bind request

I (28124) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:53025 id:57f7686d7936f3746ee7eb07
I (28135) AGENT: 1 send indication bind request

I (28140) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:63326 id:16dc99605368c1de0aa98cb7
I (28151) AGENT: 1 send indication bind request

I (28156) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:65320 id:09f4ba361af7c2e06b1623bb
I (28167) AGENT: 1 send indication bind request


I (28334) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:57094 remote:207.154.234.214:60568 id:7bde7ea20e124e0a7655b2c1
I (28335) AGENT: 1 send indication bind request

I (28501) webrtc: PeerConnectionState: 7
====================Event 2======================



## Successful logs (retried right away):
I (517604) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59788 remote:192.168.70.205:60716 id:666d97166fd595896931589d
I (517605) AGENT: 1 Send binding request (cand:0) local:192.168.68.21:59788 remote:192.168.70.205:33983 id:17c5e07e0b0abb7751af16c6
I (517617) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59788 remote:95.128.95.110:33983 id:1dee132f3b3a772600f32298
I (517628) AGENT: 1 Send binding request (cand:0) local:95.128.95.110:59788 remote:95.128.95.110:60716 id:5148068835eb8df57a1179b4
I (517640) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:55559 remote:167.172.162.40:61207 id:6db4489d4a691c3a5a89680d
I (517651) AGENT: 1 send indication bind request

I (517656) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:55559 remote:167.172.162.40:50947 id:6de3eda1559e2ff738b9210f
I (517667) AGENT: 1 send indication bind request

I (517672) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:55559 remote:167.172.162.40:55110 id:0d1102d92657c93c79b12ba8
I (517683) AGENT: 1 send indication bind request

I (517688) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:55559 remote:167.172.162.40:57614 id:59b5fe2a302059cd4e8694c2
I (517699) AGENT: 1 send indication bind request

I (517704) AGENT: 1 Send binding request (cand:0) local:167.172.162.40:55559 remote:167.172.162.40:50808 id:23252c5217e9617140c9fe6a
I (517715) AGENT: 1 send indication bind request

I (517779) AGENT: 1 PeerBinding recv local:192.168.68.21:59788 remote:192.168.70.205:60716
I (517779) AGENT: 1 Send binding response local:192.168.68.21:59788 remote:192.168.70.205:60716
I (517785) AGENT: 1 Select pair192.168.70.205:60716
I (517789) AGENT: 1 Send binding request (cand:1) local:192.168.68.21:59788 remote:192.168.70.205:60716 id:49067a72561f3b294fd30023
I (517813) AGENT: 1 PeerBinding recv local:192.168.68.21:59788 remote:192.168.70.205:60716
I (517814) AGENT: 1 Send binding response local:192.168.68.21:59788 remote:192.168.70.205:60716
I (517830) AGENT: 1 LocalIndication resp local:167.172.162.40:55559 remote:167.172.162.40:50808
I (517831) AGENT: 1 LocalIndication resp local:167.172.162.40:55559 remote:167.172.162.40:50947
I (517868) AGENT: 1 LocalIndication resp local:167.172.162.40:55559 remote:167.172.162.40:61207
I (517869) AGENT: 1 LocalIndication resp local:167.172.162.40:55559 remote:167.172.162.40:57614
I (517874) AGENT: 1 PeerIndication recv local:167.172.162.40:55559 remote:167.172.162.40:57614
I (517883) AGENT: 1 send indication bind response

I (517930) AGENT: 1 PeerIndication recv local:167.172.162.40:55559 remote:167.172.162.40:50808
I (517931) AGENT: 1 send indication bind response

I (517934) AGENT: 1 Connection OK 192.168.70.205:60716

Steps to reproduce the behavior

Starting a call a couple times will almost always result in at least one failure

Project release version

esp_peer 1.2.7

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

Ubuntu 24.04

Shell

ZSH

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions