webMethods

 View Only
Expand all | Collapse all

com.jcraft.jsch.JSchException: Algorithm negotiation fail

  • 1.  com.jcraft.jsch.JSchException: Algorithm negotiation fail

    Posted Wed February 23, 2022 09:46 PM

    What product/components do you use and which version/fix level?

    IS 10.5

    Are you using a free trial or a product with a customer license?

    Customer License

    What are trying to achieve? Please describe in detail.

    Get SFTP connection

    Do you get any error messages? Please provide a full error message screenshot and log file.

    Cannot get host key from server [ftp.aes.accuweather.com]:22. Details: com.jcraft.jsch.JSchException: Algorithm negotiation fail

    This is a public ftp. Ive tried with ip: 12.53.43.245 same error.

    Ive tried with this SFTP Connection Failure : com.jcraft.jsch.JSchException: Algorithm negotiation fail but this is not an good answer.

    What should I do?

    Regards,
    Jesús


    #webMethods
    #SFTP


  • 2.  RE: com.jcraft.jsch.JSchException: Algorithm negotiation fail

    Posted Thu February 24, 2022 02:54 PM

    Hi Jesus,

    do you have applied all latest Fixes to your IS 10.5 environment?
    There have been issues with the JCraft SecureChannel jars, which have been resolved by certain Fixes meanwhile.

    Regards,
    Holger


    #SFTP
    #webMethods


  • 3.  RE: com.jcraft.jsch.JSchException: Algorithm negotiation fail

    Posted Thu February 24, 2022 04:50 PM

    Hi, Holger. No, I haven’t. I’ll try with that and then I’ll notice you what happened!

    Regards,
    Jesús.


    #webMethods
    #SFTP


  • 4.  RE: com.jcraft.jsch.JSchException: Algorithm negotiation fail

    Posted Thu February 24, 2022 10:55 PM

    Hi

    Can you check which user integration server running? Also what is the OS? it is windows? Typically error comes on Windows based OS, when IS tries to use NTML authentication.


    #SFTP
    #webMethods


  • 5.  RE: com.jcraft.jsch.JSchException: Algorithm negotiation fail

    Posted Thu February 24, 2022 10:57 PM

    What do you mean about “user integration server running”? And I’ve tried in linux and windows. This error appears in both of them.

    Regards,
    Jesús


    #webMethods
    #SFTP


  • 6.  RE: com.jcraft.jsch.JSchException: Algorithm negotiation fail

    Posted Thu February 24, 2022 10:59 PM

    User running Integration Server process.


    #SFTP
    #webMethods


  • 7.  RE: com.jcraft.jsch.JSchException: Algorithm negotiation fail

    Posted Thu February 24, 2022 11:00 PM

    Also, did you tried to do use any external clients like winscp to connect to sftp server?


    #webMethods
    #SFTP


  • 8.  RE: com.jcraft.jsch.JSchException: Algorithm negotiation fail

    Posted Thu February 24, 2022 11:01 PM

    In windows is a superuser administrator. In linux I really dont know. And yes, with WinSCP connect successfully.


    #webMethods
    #SFTP


  • 9.  RE: com.jcraft.jsch.JSchException: Algorithm negotiation fail

    Posted Thu February 24, 2022 11:02 PM

    Does the network protected by any proxy servers? It could be proxy that is blocking Integration Server.


    #webMethods
    #SFTP


  • 10.  RE: com.jcraft.jsch.JSchException: Algorithm negotiation fail

    Posted Thu February 24, 2022 11:40 PM

    No, it doesn’t. Maybe on linux but in windows in my local machine no one politicy or restriction is active. Its appears is about a Fix.
    image

    I’ve installed that fix but now my IS can’t start.

    Error occurred while initializing server: java.lang.NoSuchMethodError: org.apache.logging.log4j.spi.LoggerContextFactory.isClassLoaderDependent()Z at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:49) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:46) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:33) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383) at com.maverick.ssh2.Ssh2Context.(Ssh2Context.java:58) at com.wm.app.b2b.server.sftp.client.SFTPClientCommonConfig.setMacC2S(SFTPClientCommonConfig.java:93) at com.wm.app.b2b.server.sftp.client.SFTPClientCommonConfig.loadDefaultConfiguration(SFTPClientCommonConfig.java:34) at com.wm.app.b2b.server.sftp.client.common.SFTPClientSelfMigrator.migrate(SFTPClientSelfMigrator.java:66) at com.wm.app.b2b.server.sftp.client.common.SFTPClientSelfMigrator.migrate(SFTPClientSelfMigrator.java:212) at com.wm.app.b2b.server.Server.run(Server.java:641)


    #webMethods
    #SFTP


  • 11.  RE: com.jcraft.jsch.JSchException: Algorithm negotiation fail

    Posted Fri February 25, 2022 06:17 AM

    Hi Jesus,

    please check for the TPP_10.5_Misc_Fix3, as this contains an updated version of the JSch lib used by the SFTP feature.

    Regards,
    Holger


    #webMethods
    #SFTP


  • 12.  RE: com.jcraft.jsch.JSchException: Algorithm negotiation fail

    Posted Fri February 25, 2022 09:33 PM

    Hi, Holger.

    I just installed all available fixes in SUM and then IS started.
    The good news is SFTP now works! The bad news is I dont know what fix solved this!
    However now SFTP works well. Thank all of you so much!


    #webMethods
    #SFTP