sftp algorithm negotiation fail #5216
-
I have a channel on Mirth 3.12 that is trying to make an SFTP connection. When I test the SFTP connection it gives me an error reason of "Algorithm negotiation fail". I am able to make a connection using Filezilla but not through Mirth. Has anyone had this issue and been able to resolve it? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 15 replies
-
Mirth uses jsch for SFTP, I would google that error for things like https://stackoverflow.com/questions/6263630/jschexception-algorithm-negotiation-fail |
Beta Was this translation helpful? Give feedback.
-
The problem sounds familiar but I don't recall the solution. https://forums.mirthproject.io/search?q=sftp+algorithm&searchJSON=%7B%22keywords%22%3A%22sftp+algorithm%22%7D seems to have some solid leads. What error, if any, is in If you control the SFTP server, what errors are in its logs? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestions. I will take a look at the links that you provided. The SFTP server is not ours so I cannot check the logs. I have created a windows scripting job to handle things for now. Thanks, |
Beta Was this translation helpful? Give feedback.
-
Yesterday I updated a Mirth from Version 3.9.1 to 4.5.0. After that all my SFTP connections are broken. When testing the connection by clicking the "Test read" button Mirth says I tried this solution (Page 2, last post): https://forums.mirthproject.io/forum/mirth-connect/support/13545-sftp-unable-to-connect-algorithm-negotaition-fail/page2 but it didn't work. Any idea? Thanks! |
Beta Was this translation helpful? Give feedback.
-
I'm getting the same sort of error, but this time for
I used
Any suggestions? I've re-deployed the channel after changing the configuration, of course. |
Beta Was this translation helpful? Give feedback.
Got it working!
I only had to set this option in the Method Settings:
When you got an error like me shown above in the post then you will see a part serverProposal on the right of the error message
You have to set one of this values as value for kex in the Method Settings. This are the algorithms the server can handle.
I hope this will help others to get Mirth working with your SFTP using older algorithms ;-)