You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
javax.net.ssl.SSLException-java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
#244
Open
ChenGuop opened this issue
Dec 24, 2024
· 0 comments
com.tencentcloudapi.common.exception.TencentCloudSDKException: javax.net.ssl.SSLException-java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at com.tencentcloudapi.common.http.HttpConnection.doRequest(HttpConnection.java:52) ~[tencentcloud-sdk-java-3.0.70.jar!/:na]
at com.tencentcloudapi.common.http.HttpConnection.postRequest(HttpConnection.java:98) ~[tencentcloud-sdk-java-3.0.70.jar!/:na]
at com.tencentcloudapi.common.AbstractClient.doRequest(AbstractClient.java:313) ~[tencentcloud-sdk-java-3.0.70.jar!/:na]
at com.tencentcloudapi.common.AbstractClient.internalRequest(AbstractClient.java:269) ~[tencentcloud-sdk-java-3.0.70.jar!/:na]
at com.tencentcloudapi.iai.v20180301.IaiClient.SearchFaces(IaiClient.java:447) ~[tencentcloud-sdk-java-3.0.70.jar!/:na]
The text was updated successfully, but these errors were encountered:
人脸搜索异常-服务是通过docker 部署的:
Dockerfile:
sdk pom
重新构建镜像后就正常了,但是过段时间又会出现异常:
2024-12-24 08:42:15.768 ERROR 1 --- [nio-8356-exec-4] com.anzhong.common.face.CreateGroup : 人脸搜索
com.tencentcloudapi.common.exception.TencentCloudSDKException: javax.net.ssl.SSLException-java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at com.tencentcloudapi.common.http.HttpConnection.doRequest(HttpConnection.java:52) ~[tencentcloud-sdk-java-3.0.70.jar!/:na]
at com.tencentcloudapi.common.http.HttpConnection.postRequest(HttpConnection.java:98) ~[tencentcloud-sdk-java-3.0.70.jar!/:na]
at com.tencentcloudapi.common.AbstractClient.doRequest(AbstractClient.java:313) ~[tencentcloud-sdk-java-3.0.70.jar!/:na]
at com.tencentcloudapi.common.AbstractClient.internalRequest(AbstractClient.java:269) ~[tencentcloud-sdk-java-3.0.70.jar!/:na]
at com.tencentcloudapi.iai.v20180301.IaiClient.SearchFaces(IaiClient.java:447) ~[tencentcloud-sdk-java-3.0.70.jar!/:na]
The text was updated successfully, but these errors were encountered: