Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

拉取不了分支,报not an accepted origin #1165

Open
unixomg opened this issue Mar 4, 2021 · 1 comment
Open

拉取不了分支,报not an accepted origin #1165

unixomg opened this issue Mar 4, 2021 · 1 comment
Assignees
Labels

Comments

@unixomg
Copy link

unixomg commented Mar 4, 2021

问题描述
新建上线流程,拉取不了分支,页面返回跨域400错误

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

walle2.test.com:80 is not an accepted origin. (further occurrences of this error will be logged with level INFO)
walle2.test.com:80 is not an accepted origin.
walle2.test.com:80 is not an accepted origin.

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

运行环境

  • OS: [e.g. Centos 7.x]
  • 版本 [v2.0.1 ]
@15811199127
Copy link

好像是客户端的 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安装记录,里面提到使用python3创建虚拟环境),使用pip3,将相关python包升级到指定版本 Flask-SocketIO==3.0.2, python-engineio==3.13.2, python-socketio==4.2.0。主要是参考下面这张图进行升级:(若pip3安装报错就用pip安装)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants