chrome error "WebSocket connection to failed: Invalid frame header " in LAN #2126
Unanswered
Mactarvish
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Is there anything in your LAN that can be interfering? Maybe a firewall, anti-virus, router, etc.? I can't think of any reason why localhost would work and a remote client wouldn't. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
vue pakage version:
Flask modules version:
Ubuntu 22.04
I'm building a web using vue2 and expect client(chome browser) establishing a socket with Flask using Flask-SocketIO.
Sever code:
vue code:
If I open the website by
http://localhost:8081/
everything works fine ,while
http://192.168.8.10:8081/
show continious errorwebsocket.js:56 WebSocket connection to 'ws://192.168.8.10:5000/socket.io/?EIO=4&transport=websocket&sid=XXX' failed: Invalid frame header
Anywhere I did wrong? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions