walle-web icon indicating copy to clipboard operation
walle-web copied to clipboard

"The client is using an unsupported version of the Socket.IO or Engine.IO protocols" ——BUG

Open hyxiaomo opened this issue 4 years ago • 1 comments

问题描述owner角色下,部署管理页面,点击新建上线单(请求代码200),然后点击测试环境中的项目后,进入到提交上线单的页面,此时请求就不成功,400(选择测试环境中的代码后就这样)。

从运行日志以及浏览器后台(F12)来看,好像是客户端的 Socket.IO or Engine.IO版本不匹配,也查了网上的一些方法,但是目前依然不成功,这个不成功导致后面提交上线单的时候,分支选取和版本选取由于无法通信,显示无数据。

目前已经尝试了(Flask-SocketIO (3.0.2),python-engineio (4.0.0),python-socketio (5.0.4))和(Flask-SocketIO (5.0.0),python-engineio (4.0.0),python-socketio (5.0.4))这两组版本,但是依然没有成功。我这里的版本是从walle-web中创建的虚拟环境中看到的(venv)

问题描述 日志堆栈贴上来。 logs/runtime.log

Server initialized for gevent.
The client is using an unsupported version of the Socket.IO or Engine.IO protocols (further occurrences of this error will be logged with level INFO)
The client is using an unsupported version of the Socket.IO or Engine.IO protocols
The client is using an unsupported version of the Socket.IO or Engine.IO protocols
The client is using an unsupported version of the Socket.IO or Engine.IO protocols
The client is using an unsupported version of the Socket.IO or Engine.IO protocols
The client is using an unsupported version of the Socket.IO or Engine.IO protocols
The client is using an unsupported version of the Socket.IO or Engine.IO protocols
The client is using an unsupported version of the Socket.IO or Engine.IO protocols
The client is using an unsupported version of the Socket.IO or Engine.IO protocols

logs/error.log

没有日志

截图 拖拽到此处即可上传 image image

运行环境

  • OS: [e.g. Centos 7.6.18]
  • 版本 [e.g. walle2.0.1] walle首页信息处显示

hyxiaomo avatar Jan 27 '21 06:01 hyxiaomo

我一开始nginx没有配置server_name ,walle/config/setting_prod 中HOST写的0.0.0.0
这个原因导致里此问题发生,不知道你的环境是否和我相同。 我nginx配置server_name 和 Host 均为walle.com 绑定域名同时 /ect/hosts 添加 127.0.0.1 walle.com

Dreamisfly avatar Apr 17 '21 09:04 Dreamisfly