secretflow / kuscia

Kuscia(Kubernetes-based Secure Collaborative InfrA) is a K8s-based privacy-preserving computing task orchestration framework.
https://www.secretflow.org.cn/docs/kuscia/latest/zh-Hans
Apache License 2.0
72 stars 49 forks source link

java调用kusica https接口问题,kusica中心部署的接口代码能调通,p2p部署的接口报错java.net.SocketException: Software caused connection abort: recv failed #441

Open zwj-edas opened 2 hours ago

zwj-edas commented 2 hours ago

Issue Type

Install/Deploy

Search for existing issues similar to yours

Yes

OS Platform and Distribution

centos7

Kuscia Version

kuscia0.11.0b0

Deployment

docker

deployment Version

docker

App Running type

secretflow

App Running version

secreatflow1.7

Configuration file used to run kuscia.

p2p和中心两种都部署成功,Postman能调通

What happend and What you expected to happen.

同样的代码,在java调用https接口,访问中心部署的kuscia接口可以跑通,p2p部署的kuscia接口一直报错:java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)

请问是否有网络设置需要注意?

Kuscia log output.

java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
wangzul commented 2 hours ago

目前只有P2P报错吗?你调用的是那个API。

zwj-edas commented 2 hours ago

目前只有P2P报错吗?你调用的是那个API。

对,p2p节点的报错,中心master的api没问题,好多接口都试过,一样的结果,/api/v1/domaindatasource/list