尝试通过cyber-ark SDK获取凭据时出现以下错误。
javapasswordsdk.exceptions.PSDKException: PDKTC006E Failed to connect to provider (Reason=[connect: timeout cant be negative], Rc=[-1])
at javapasswordsdk.PasswordSDK.getPassword(PasswordSDK.java:4)
at org.myorg.credentialprovider.utils.CredentialProviderUtil.getPasswordFromCP(CredentialProviderUtil.java:181)
at org.myorg.credentialprovider.utils.CredentialProviderUtil.retrieveCredentials(CredentialProviderUtil.java:146)
at org.myorg.module.batch.utility.CredentialUpdater.updateCredentials(CredentialUpdater.java:55)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84)
at org.springframework.scheduling
尝试搜索网络方舟文档,但无法在网络上获得任何相关信息。另外,我不会在任何地方自己将超时设置为-1。不知道为什么选择这个值。任何帮助将非常感激。谢谢。