Exception connecting to server
Posted: Wed Feb 25, 2009 4:11 pm
Can you take a look at this error? We're using the 4.1.4 Java client API release, and a customer is having problems using our integration to connect to his server. The client never appears to finish connecting, and gets these exceptions:
2/25/2009 1:25:52 PM <crypto>: Failed encryption. [System.ArgumentOutOfRangeException: Non-negative number required.
Parameter name: dstOffset
at system.Buffer.BlockCopy(Buffer.java:51)
at Mono.Security.Cryptography.PKCS1.I2OSP(Unknown Source)
at Mono.Security.Cryptography.PKCS1.Encrypt_v15(Unknown Source)
at system.Security.Cryptography.RSAPKCS1KeyExchangeFormatter.CreateKeyExchange(Unknown Source)
at system.Security.Cryptography.RSACryptoServiceProvider.Encrypt(Unknown Source)
at VaultLib.VaultUserCrypt.EncryptPassword(Unknown Source)
at VaultClientNetLib.VaultConnection.Login(Unknown Source)
I've attached the Vault client API log file.
Thanks,
Eric
2/25/2009 1:25:52 PM <crypto>: Failed encryption. [System.ArgumentOutOfRangeException: Non-negative number required.
Parameter name: dstOffset
at system.Buffer.BlockCopy(Buffer.java:51)
at Mono.Security.Cryptography.PKCS1.I2OSP(Unknown Source)
at Mono.Security.Cryptography.PKCS1.Encrypt_v15(Unknown Source)
at system.Security.Cryptography.RSAPKCS1KeyExchangeFormatter.CreateKeyExchange(Unknown Source)
at system.Security.Cryptography.RSACryptoServiceProvider.Encrypt(Unknown Source)
at VaultLib.VaultUserCrypt.EncryptPassword(Unknown Source)
at VaultClientNetLib.VaultConnection.Login(Unknown Source)
I've attached the Vault client API log file.
Thanks,
Eric