Closed RouquinBlanc closed 9 months ago
This issue is mentioned in release v1.7.0 🚀 Check out the entire changelog by clicking here
This issue is being locked automatically because it has been closed for more than 6 months. Please open a new issue in case you encounter a similar problem.
Which version are you using?
v1.5.1
Which operating system are you using?
Describe the issue
This is probably very similar to #3062 but kept aside until getting more evidence about being a duplicate.
Basically the instance remains stuck, unable to reconnect a WHEP source, which happens more on bad connections.
Describe how to replicate the issue
Logs were taken including goroutines listing when the issue happens.
It looks like the issue may be similar to this issue, when blocking on a webrtc callback deadlocks.
Looking at goroutines, we have this blocked:
And this at the same time:
The issue can be made systematic by forcing something to fail in WHIPClient.Read after
c.pc.Start()
. The most likely to fail isPostOffer
but any call toc.pc.Close()
before the for loop is going to deadlock.Did you attach the server logs?
failure.log goroutines.txt
Logs and pprof goroutines list during issue
Did you attach a network dump?
no (does not look relevant)