org.apache.camel.component.file.GenericFileOperationFailedException: Cannot connect to sftp://GATEWAY:22/inbox?username=USERNAME&password=#####/"

Stack Overflow | J. Does | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cannot connect to SFTP uding apache camel

    Stack Overflow | 5 months ago | J. Does
    org.apache.camel.component.file.GenericFileOperationFailedException: Cannot connect to sftp://GATEWAY:22/inbox?username=USERNAME&password=#####/"
  2. 0

    Apache Camel SFTP consumer with privateKeyFile gives error SSH_MSG_DISCONNECT: 2 Protocol error: no matching DH grp found

    Stack Overflow | 1 week ago | MozenRath
    org.apache.camel.component.file.GenericFileOperationFailedException: Cannot connect to sftp://user@host:22
  3. 0

    JSch / Mailing Lists

    sourceforge.net | 8 months ago
    com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Access windows command from Linux using Ant tasks

    Stack Overflow | 3 years ago | Raghav Vaidhyanathan
    com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset
  6. 0

    Java Program to run shell commands on SSH enabled System - JournalDev

    journaldev.com | 4 days ago
    com.jcraft.jsch.JSchException: Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.jcraft.jsch.JSchException

    SSH_MSG_DISCONNECT: 11 Account is locked

    at com.jcraft.jsch.Session.read()
  2. JSch
    Session.connect
    1. com.jcraft.jsch.Session.read(Session.java:996)[jsch-0.1.53.jar:na]
    2. com.jcraft.jsch.UserAuthKeyboardInteractive.start(UserAuthKeyboardInteractive.java:77)[jsch-0.1.53.jar:na]
    3. com.jcraft.jsch.Session.connect(Session.java:463)[jsch-0.1.53.jar:na]
    3 frames
  3. Camel :: FTP
    SftpConsumer.doStart
    1. org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperations.java:118)[camel-ftp-2.17.0.jar:2.17.0]
    2. org.apache.camel.component.file.remote.RemoteFileConsumer.connectIfNecessary(RemoteFileConsumer.java:203)[camel-ftp-2.17.0.jar:2.17.0]
    3. org.apache.camel.component.file.remote.SftpConsumer.doStart(SftpConsumer.java:52)[camel-ftp-2.17.0.jar:2.17.0]
    3 frames
  4. Camel :: Core
    DefaultCamelContext.start
    1. org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[camel-core-2.17.0.jar:2.17.0]
    2. org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3269)[camel-core-2.17.0.jar:2.17.0]
    3. org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:3563)[camel-core-2.17.0.jar:2.17.0]
    4. org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:3499)[camel-core-2.17.0.jar:2.17.0]
    5. org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3429)[camel-core-2.17.0.jar:2.17.0]
    6. org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3197)[camel-core-2.17.0.jar:2.17.0]
    7. org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3053)[camel-core-2.17.0.jar:2.17.0]
    8. org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:175)[camel-core-2.17.0.jar:2.17.0]
    9. org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2848)[camel-core-2.17.0.jar:2.17.0]
    10. org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2844)[camel-core-2.17.0.jar:2.17.0]
    11. org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2867)[camel-core-2.17.0.jar:2.17.0]
    12. org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2844)[camel-core-2.17.0.jar:2.17.0]
    13. org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[camel-core-2.17.0.jar:2.17.0]
    14. org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2813)[camel-core-2.17.0.jar:2.17.0]
    14 frames
  5. org.apache.camel
    RoutesCollector.onApplicationEvent
    1. org.apache.camel.spring.boot.RoutesCollector.onApplicationEvent(RoutesCollector.java:116)[camel-spring-boot-2.17.0.jar:2.17.0]
    2. org.apache.camel.spring.boot.RoutesCollector.onApplicationEvent(RoutesCollector.java:41)[camel-spring-boot-2.17.0.jar:2.17.0]
    2 frames
  6. Spring Context
    AbstractApplicationContext.finishRefresh
    1. org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    3. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:381)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    4. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:335)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    5. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:855)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    5 frames
  7. Spring Boot
    EmbeddedWebApplicationContext.finishRefresh
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:140)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    1 frame
  8. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    1 frame
  9. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    3. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    6 frames
  10. tripRecommenderPackage
    MainApplication.main
    1. tripRecommenderPackage.MainApplication.main(MainApplication.java:10)[classes/:na]
    1 frame