简体   繁体   English

websocket连接无效-Socket.IO

[英]websocket connection invalid - Socket.IO

I developed a web application that uses socket.io on my windows platform, and it worked perfectly. 我开发了一个在Windows平台上使用socket.io的Web应用程序,它运行良好。 However, as soon as I move it over to my debian 6 production dedicated server, it starts dropping clients for "warn - websocket connection invalid". 但是,一旦我将其移到我的debian 6生产专用服务器上,它就会开始删除客户机以发出“警告-websocket连接无效”的警告。

This error happens on the server, and drops normally 10-20 seconds after the first connection is established. 此错误在服务器上发生,通常在建立第一个连接后10到20秒消失。

socket.io is running at version 0.9.11 on both linux + windows servers socket.io在两个Linux + Windows服务器上都以0.9.11版本运行

Did you check your ports and connection adresses? 您检查端口和连接地址了吗?

Try updating your socket.io! 尝试更新您的socket.io!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM