We help IT Professionals succeed at work.

Socket IO disconnects hangs on certain networks

88 Views
Last Modified: 2017-04-22
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
Comment
Watch Question

Software Developer
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Duncan RoeSoftware Developer
CERTIFIED EXPERT

Commented:
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.

Author

Commented:
Thanks Duncan, can i run wireshark and tcpdump on ubuntu?
Duncan RoeSoftware Developer
CERTIFIED EXPERT

Commented:
Yes, either of them. I prefer tcpdump, wireshark gives more detail than I usually want. You run run tcpdump in a command-line window.
Duncan RoeSoftware Developer
CERTIFIED EXPERT

Commented:
This has to be the answer, unless the OP objects
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.