question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Client Randomly Disconnecting

See original GitHub issue

Hey Guys, I recently observe following error when using Python-Socketio as Server with four connected clients. After some time (about ten minutes) one client disconnects with following log output:

INFO:werkzeug:127.0.0.1 - - [05/May/2020 10:23:28] "GET /socket.io/?transport=polling&EIO=3&sid=b91e51d9d9b043ab98293875123a744f&t=1588674208.5054448 HTTP/1.1" 500 -
WARNING:engineio.client:Unexpected status code 500 in server response, aborting

I enabled all debugging options that are available (to the best of my knowledge). However it seems that the server is unable to handle the GET Request at this particular time, but I can’t see a reason for this. Is there any way I can get more information about this 500 Error? Actually this seems like an Engineio problem and its maybe related to this issue: https://github.com/miguelgrinberg/python-socketio/issues/475

Thanks in advance 😃

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
anon767commented, May 5, 2020

I will try to write a minimal working example to reproduce this bug at the weekend.

0reactions
anon767commented, May 5, 2020

Small update, I managed to get more logs. Although they are not really helpful

LOG: HTTP POST request to http://127.0.0.1:5000/socket.io/?transport=polling&EIO=3&sid=7ab1ec126e0040d8ae87259ef997d2c6 failed with error ('Connection aborted.', RemoteDisconnected('Remote end closed connection
without response')).             
LOG: HTTP GET request to http://127.0.0.1:5000/socket.io/?transport=polling&EIO=3&sid=b0b122ac369d4a698c026b2de8470cb8&t=1588698861.2352238 failed with error ('Connection aborted.', RemoteDisconnected('Remote en
d closed connection without response')).
LOG: HTTP GET request to http://127.0.0.1:5000/socket.io/?transport=polling&EIO=3&sid=7ab1ec126e0040d8ae87259ef997d2c6&t=1588699073.8718028 failed with error ('Connection aborted.', RemoteDisconnected('Remote e$
d closed connection without response')).
LOG: Connection refused by the server, aborting
LOG: Waiting for write loop task to end                                                                                  
LOG: Exiting write loop task  
LOG: Connection refused by the server, aborting
LOG: Connection refused by the server, aborting
LOG: Exiting write loop task
LOG: Waiting for write loop task to end
LOG: Waiting for ping loop task to end
Read more comments on GitHub >

github_iconTop Results From Across the Web

Wireless AC Clients Randomly Disconnect - Cisco Community
When Windows clients are disconnected they receive the "globe" rather connected icon. After about 10-15 seconds the connectivity is restored without the user ......
Read more >
Client seemingly randomly disconnects from server on same ...
My client computer is the only client to be disconnected, other clients from other people are never disconnected. Does not matter if I...
Read more >
Steam disconnecting randomly? Try these fixes - Appuals.com
DNS Server — In some scenarios, your Steam client may be disconnecting randomly due to the DNS servers that you are using.
Read more >
clients randomly keep disconnecting/reconnecting from UAP ...
All clients randomly keep disconnecting/reconnecting from UAP AC-Lite. My problem is that all clients periodically and randomly drop from the wifi regardless ...
Read more >
7 Reasons Your VPN Keeps Disconnecting (And How to Fix It)
7 Reasons Your VPN Keeps Disconnecting & Reconnecting · 1. Your Connection Has Too Much Latency · 2. There Are Other Network Connection...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found