Link to home
Start Free TrialLog in
Avatar of Jonathan Duane
Jonathan Duane

asked on

Socket IO disconnects hangs on certain networks

Hi guys,

We have a video music playout system, that essentially plays videos through firefox, it uses socket.io

so basically nginx is setup on each machine and videos are played from client.domainname.net:9000 and hosts files point client.domainname.net to 127.0.0.1

so if we plug out ethernet out on most networks the videos will continue to play offline, however on certain networks if we plug  out ethernet the videos will stop and it will be an issue with socket.io and as soon as we plug the ethernet back in, everything will resume playing again, even though its playing them locally
ASKER CERTIFIED SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
When a video is playing, run tcpdump or wireshark to verify it is playing locally.
In either case, the above will show you what is the critical network traffic that you interrupt by unplugging the connection.
Avatar of Jonathan Duane
Jonathan Duane

ASKER

Thanks Duncan, can i run wireshark and tcpdump on ubuntu?
Yes, either of them. I prefer tcpdump, wireshark gives more detail than I usually want. You run run tcpdump in a command-line window.
This has to be the answer, unless the OP objects