Open maclarencn opened 2 months ago
你好,请描述一下具体遇到的问题~
通过其他容器与kuscia api交互是什么意思呢~
你好,请描述一下具体遇到的问题~ 通过其他容器与kuscia api交互是什么意思呢~
当前情况是,kuscia运行于本机的一个容器上: unauthorized.[root@cm-dssn-node1 secu]# docker ps |grep 11080 5faef755e847 secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia "tini -- bin/kuscia …" 4 days ago Up 4 days 0.0.0.0:13081->80/tcp, :::13081->80/tcp, 0.0.0.0:11080->1080/tcp, :::11080->1080/tcp, 0.0.0.0:11081->8082/tcp, :::11081->8082/tcp, 0.0.0.0:13083->8083/tcp, :::13083->8083/tcp root-kuscia-autonomy-alice
本机地址是172.32.173.1
在本机上通过调用kuscia api接口,返回unauthorized.: [root@cm-dssn-node1 secu]# export CTR_CERTS_ROOT=./ [root@cm-dssn-node1 secu]# curl -k -X POST 'https://172.32.173.1:11080/api/v1/job/query' \
--header "Token: $(cat ${CTR_CERTS_ROOT}/token)" \ --header 'Content-Type: application/json' \ --cert ${CTR_CERTS_ROOT}/kusciaapi-server.crt \ --key ${CTR_CERTS_ROOT}/kusciaapi-server.key \ --cacert ${CTR_CERTS_ROOT}/ca.crt \ -d '{ "job_id": "job-alice-bob-001" }' unauthorized.
你好,你的端口不正确。请使用 11081 端口。详细的kuscia端口介绍可参考下面文档 https://www.secretflow.org.cn/zh-CN/docs/kuscia/v0.8.0b0/deployment/kuscia_ports_cn
Issue Type
Running
Search for existing issues similar to yours
Yes
OS Platform and Distribution
BC linux 8.2
Kuscia Version
0.8.0b0
Deployment
docker
deployment Version
Docker version 24.0.2, build cb74dfc
App Running type
secretflow
App Running version
latest
Configuration file used to run kuscia.
What happend and What you expected to happen.
Kuscia log output.