Unable to reach a settlement...
- Dominant language
- Java
- Stars
- 2.7k
- Forks
- 620
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 11
Description
I am trying to read a file from a SFTP data source using SFTPClient version 0.31.0.
The code works locally and on an integration environment. But in production I get the following exception:
`...failed to retreve remote file: net.schmizz.sshj.transport.TransportException: Unable to reach a settlement: [diffie-hellman-group1-sha1, diffie-hellman-group-exchange-sha1] and [ecdh-sha2-nistp521, ecdh-sha2-nistp384, ecdh-sha2-nistp256, diffie-hellman-group-exchange-sha256] - Unable to reach a settlement: [diffie-hellman-group1-sha1, diffie-hellman-group-exchange-sha1] and [ecdh-sha2-nistp521, ecdh-sha2-nistp384, ecdh-sha2-nistp256, diffie-hellman-group-exchange-sha256`
This behavior is surprising as I am running the same payara docker container in a OpenShift dev-cluster and a prod-cluster.
So I can be sure that the code base - including libs and underlying JDK - is absolute identically.
What can be the reason for this exception? I found a discussion on stackoverflow [here](https://stackoverflow.com/questions/24519462/net-schmizz-sshj-transport-transportexception-unable-to-reach-a-settlement) where someone mentioned that this can be related to the clients MAC address? Can this be possible?
My build includes the following libs:
- slf4-api-1.7.30.jar
- slf4j-nop-1.7.30.jar
- sshj-031.0.jar
- bcpkix-jdk15on-168.jar
- pcprov-jdk15on-168.jar
- commons-net-3.1.jar
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.