Geckos 2.0 http server hangs after a while
See original GitHub issueHey, there! I recently upgraded to geckos 2.0. Everything has been working swimmingly, except for one mysterious problem. After about two days of runtime, my geckos server starts timing out all requests. It sits behind an NGINX proxy, so the first error I see is:
2021/11/09 15:44:56 [error] 15785#15785: *5965624 upstream timed out (110: Connection timed out) while reading response header from upstream, request: "POST /geckos/.wrtc/v2/connections HTTP/1.1", upstream: "http://127.0.0.1:3030/.wrtc/v2/connections"
eventually followed by the similar:
2021/11/09 16:06:34 [error] 15785#15785: *5969357 upstream timed out (110: Connection timed out) while connecting to upstream, request: "POST /geckos/.wrtc/v2/connections HTTP/1.1", upstream: "http://127.0.0.1:3030/.wrtc/v2/connections"
I haven’t found any correlated errors coming from the geckos server itself. It just suddenly starts hanging and won’t reply anymore 😦 CPU and MEM usage seem normal.
Any idea how best to dig into this?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:45 (31 by maintainers)
Top Results From Across the Web
266627 - firefox freezes 3-10 seconds every time i open a link ...
The Gecko hang happens exactly after the tab gets opend and starts the rotating mini icon, but just before the gray background get...
Read more >Server randomly hangs · Issue #286 · pypiserver ... - GitHub
Hello, I just noticed that the server hangs after browsing http://XXXX:8082/packages/ with this error message on the browser: "Error: 403 ...
Read more >[SOLVED] playonlinux hangs on installing gecko
gecko is usually downloaded on demand from the internet, so it's possible that the server it is trying to download from is not...
Read more >448328 – ssh connection hangs when running command ...
Bug 448328 - ssh connection hangs when running command producing large text output after running "service iptables restart".
Read more >nginx hangs some POST requests for a while - Server Fault
I have the following stack running on Ubuntu 18.08 and defined as ... "POST /ajax-bidsform.html?meth=post&yid=d7f9f1a1a0bf HTTP/2.0" 200 208 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@marcwehbi Thank you for the gdb output, it looks like a regression introduced in libdatachannel v0.15.4. I refactored the transports teardown and it looks like it might make the PeerConnection deadlock on close. The timings triggering the deadlock must happen on one machine and not on the other for some reason.
Haven’t seen any deadlocks in the last 4 days! Looks fixed!