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

SCQL命令启动下 创建项目失败 #69

Open
Korano0521 opened this issue Dec 9, 2024 · 3 comments
Open

SCQL命令启动下 创建项目失败 #69

Korano0521 opened this issue Dec 9, 2024 · 3 comments
Assignees

Comments

@Korano0521
Copy link

在/secretnode/scql/project 页面下,创建项目时报错“No host provided.”
secretnode 启动命令:
secretnote scql <work_dir> --party=alice --broker=http://10.189.xxx.xxx:8080
alice broker为远端部署SCQL 0.9.1b1版本节点
secretnote报错日志如下:
400 POST 、api/broker?1733392668471 (127.0.0.1): no host provided.
wrote error: 'no host provided.'
Traceback (most recent call last):
File "/data/python_env/python_secretflow_nenv3.8/lib64/python3.8/site-packages/tornado/web.py", line 1790, in _execute
result = await result
File "/data/python_env/python_secretflow_nenv3.8/lib64/python3.8/site-packages/secretnote/server/services/broker/handlers.py", line 159, in post
raise web.HTTPError(400, "no host provided.")

@zimu-yuxi
Copy link

scql的部署方式是什么?参考的哪个文档以及版本是什么?

@zimu-yuxi zimu-yuxi self-assigned this Dec 9, 2024
@Korano0521
Copy link
Author

P2P模式部署 alice/bob方均部署在阿里云ACK集群 通过SLB(loadbalance)暴露broker/engine服务端口 scql版本0.9.1b1
参考文档:
https://www.secretflow.org.cn/zh-CN/docs/scql/0.9.1b1/topics/deployment/how-to-deploy-p2p-cluster

@z0gSh1u
Copy link
Collaborator

z0gSh1u commented Dec 10, 2024

Python 3.8下可能会装到旧版的SecretNote,其启动命令与当前版本不同,为

secretnote --mode=scql --party=alice --host=http://127.0.0.1:8991

如果可能建议升级Python到3.10,以使用更新后的SecretNote

requires-python = ">=3.10, <3.12"

目前SecretFlow本身也要求3.10版本的Python,见https://www.secretflow.org.cn/zh-CN/docs/secretflow/v1.10.0b1/getting_started/installation#environment

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

No branches or pull requests

3 participants