0

尝试通过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。不知道为什么选择这个值。任何帮助将非常感激。谢谢。

4

1 回答 1

0

中央凭据提供程序似乎没有运行。类似的问题CA 文档

作为示例(目标),您可以检查:

ps -ef | grep appprovider
/etc/init.d/aimprv stop
/etc/init.d/aimprv start

或使用 CA 日志

于 2021-04-16T15:30:52.893 回答