SFTP connection cloud V4

0
Dear community, We’re migrating our cloud environment from V3 to V4 and while testing if all connections remain intact, one of the connections doesn’t work anymore. It’s a connection setup with a private key and pass phrase that works fine on the V3 environment and locally. When using the V4 environment, the transaction is never ended and the following error is logged: 11:50:27 AMAPPINFOjava.lang.IllegalAccessException: Can not set static final boolean field javax.crypto.JceSecurity.isRestricted to java.lang.Boolean 11:50:27 AMAPPINFOat sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:76) 11:50:27 AMAPPINFOat sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:80) 11:50:27 AMAPPINFOat sun.reflect.UnsafeQualifiedStaticBooleanFieldAccessorImpl.set(UnsafeQualifiedStaticBooleanFieldAccessorImpl.java:77) 11:50:27 AMAPPINFOat java.lang.reflect.Field.set(Field.java:764) 11:50:27 AMAPPINFOat sftpconnection.helpers.HandleFileSftp.handleFile(HandleFileSftp.java:134) 11:50:27 AMAPPINFOat sftpconnection.actions.GetFileListFromSFTPLocation.executeAction(GetFileListFromSFTPLocation.java:49) 11:50:27 AMAPPINFOat sftpconnection.actions.GetFileListFromSFTPLocation.executeAction(GetFileListFromSFTPLocation.java:24) Does anyone know of a way to deal with this? Note: I’m using the SFTP Connection app from the app store. Thanks in advance! Tijmen Verwoert
asked
2 answers
2

The issue can be solved by using the solution as proposed in the following link:

https://stackoverflow.com/questions/10881981/sftp-connection-through-java-asking-for-weird-authentication

answered
0

Just googled it a bit and it might be an openJDK bug: https://bugs.openjdk.java.net/browse/JDK-8149417

There is a threat about it on github: https://github.com/jruby/jruby/issues/4101

You might want to check which version you are using because the status of the bug seems to be fixed in later versions.

Regards,

Ronald

 

answered