Git Product home page Git Product logo

Comments (3)

wenkesong-li avatar wenkesong-li commented on August 28, 2024

你好,请描述一下具体遇到的问题~
通过其他容器与kuscia api交互是什么意思呢~

from kuscia.

maclarencn avatar maclarencn commented on August 28, 2024

你好,请描述一下具体遇到的问题~ 通过其他容器与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.

from kuscia.

wenkesong-li avatar wenkesong-li commented on August 28, 2024

你好,你的端口不正确。请使用 11081 端口。详细的kuscia端口介绍可参考下面文档
https://www.secretflow.org.cn/zh-CN/docs/kuscia/v0.8.0b0/deployment/kuscia_ports_cn

from kuscia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.