org.mule.transport.sftp.SftpConnector: Borrowing a dispatcher for endpoint:sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox DEBUG 2017-01-11 22:40:54,269 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpConnector: Borrowed a dispatcher for endpoint:sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox = SftpMessageDispatcher{this=7ee5767e, endpoint=sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox, disposed=false} DEBUG 2017-01-11 22:40:54,269 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpConnector: Borrowed dispatcher: SftpMessageDispatcher{this=7ee5767e, endpoint=sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox, disposed=false} DEBUG 2017-01-11 22:40:54,273 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpMessageDispatcher: Writing file to:sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox [test.xml] DEBUG 2017-01-11 22:40:54,273 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpConnector: Using existing pool for endpointsftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox. Active: 0, Idle:8 DEBUG 2017-01-11 22:40:54,273 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpConnectionFactory: Inside validateObject - will return true DEBUG 2017-01-11 22:40:54,273 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpClient: Attempting to cwd to: /sftpUser/ftproot/destination/inbox ERROR 2017-01-11 22:40:54,275 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpClient: Error '' occurred when trying to CDW to '/sftpUser/ftproot/destination/inbox'. ERROR 2017-01-11 22:40:54,277 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpMessageDispatcher: Unexpected exception attempting to write file, message was: Error '' occurred when trying to CDW to '/sftpUser/ftproot/destination/inbox'. java.io.IOException: Error '' occurred when trying to CDW to '/sftpUser/ftproot/destination/inbox'.

Stack Overflow | markusja | 1 month ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Mule sftp transfer loses files with Error '' occurred when trying to CDW to '/sftpUser/ftproot/destination/inbox/'

    Stack Overflow | 1 month ago | markusja
    org.mule.transport.sftp.SftpConnector: Borrowing a dispatcher for endpoint:sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox DEBUG 2017-01-11 22:40:54,269 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpConnector: Borrowed a dispatcher for endpoint:sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox = SftpMessageDispatcher{this=7ee5767e, endpoint=sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox, disposed=false} DEBUG 2017-01-11 22:40:54,269 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpConnector: Borrowed dispatcher: SftpMessageDispatcher{this=7ee5767e, endpoint=sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox, disposed=false} DEBUG 2017-01-11 22:40:54,273 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpMessageDispatcher: Writing file to:sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox [test.xml] DEBUG 2017-01-11 22:40:54,273 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpConnector: Using existing pool for endpointsftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox. Active: 0, Idle:8 DEBUG 2017-01-11 22:40:54,273 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpConnectionFactory: Inside validateObject - will return true DEBUG 2017-01-11 22:40:54,273 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpClient: Attempting to cwd to: /sftpUser/ftproot/destination/inbox ERROR 2017-01-11 22:40:54,275 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpClient: Error '' occurred when trying to CDW to '/sftpUser/ftproot/destination/inbox'. ERROR 2017-01-11 22:40:54,277 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpMessageDispatcher: Unexpected exception attempting to write file, message was: Error '' occurred when trying to CDW to '/sftpUser/ftproot/destination/inbox'. java.io.IOException: Error '' occurred when trying to CDW to '/sftpUser/ftproot/destination/inbox'.
  2. 0

    We are facing frequent 'Auth fail' issue when trying to connect Mule to SFTP server with correct username and password. Below are details.. ERROR 2016-07-25 21:49:30,184 [scheduler-fs_preservation_Worker-1] org.mule.transport.sftp.SftpClient: Error during login to user@sftp.com com.jcraft.jsch.JSchException: Auth fail at com.jcraft.jsch.Session.connect(Session.java:512) ~[jsch-0.1.53.jar:?] at com.jcraft.jsch.Session.connect(Session.java:183) ~[jsch-0.1.53.jar:?] at org.mule.transport.sftp.SftpClient.login(SftpClient.java:145) ~[mule-transport-sftp-3.7.0.jar:3.7.0] at org.mule.transport.sftp.SftpConnectionFactory.createClient(SftpConnectionFactory.java:108) ~[mule-transport-sftp-3.7.0.jar:3.7.0] at org.mule.transport.sftp.SftpConnector.createSftpClient(SftpConnector.java:190) ~[mule-transport-sftp-3.7.0.jar:3.7.0] at org.mule.transport.sftp.SftpConnector.createSftpClient(SftpConnector.java:173) ~[mule-transport-sftp-3.7.0.jar:3.7.0] at org.mule.transport.sftp.SftpReceiverRequesterUtil.getAvailableFiles(SftpReceiverRequesterUtil.java:72) ~[mule-transport-sftp-3.7.0.jar:3.7.0] at org.mule.transport.sftp.SftpMessageReceiver$2.doWork(SftpMessageReceiver.java:280) ~[mule-transport-sftp-3.7.0.jar:3.7.0] at org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:63) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.transport.sftp.SftpMessageReceiver.doConnect(SftpMessageReceiver.java:269) ~[mule-transport-sftp-3.7.0.jar:3.7.0] at org.mule.transport.AbstractMessageReceiver.connectHandler(AbstractMessageReceiver.java:447) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.transport.AbstractTransportMessageHandler.connect(AbstractTransportMessageHandler.java:214) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.transport.AbstractConnector.registerListener(AbstractConnector.java:1272) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:104) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:353) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.construct.Flow.doStart(Flow.java:90) ~[mule-core-3.7.0.jar:3.7.0]

    MuleSoft JIRA | 7 months ago | Syed Abuthagir
    com.jcraft.jsch.JSchException: Auth fail
  3. 0

    GitHub comment 23#210519849

    GitHub | 10 months ago | neerpathak
    java.io.IOException: Error during login to user@host: Auth fail
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mule SFTP endpoint fails to open local file

    Stack Overflow | 3 years ago | Andres
    java.io.IOException: Failed to open local file

    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. org.mule.transport.sftp.SftpConnector

      Borrowing a dispatcher for endpoint:sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox DEBUG 2017-01-11 22:40:54,269 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpConnector: Borrowed a dispatcher for endpoint:sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox = SftpMessageDispatcher{this=7ee5767e, endpoint=sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox, disposed=false} DEBUG 2017-01-11 22:40:54,269 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpConnector: Borrowed dispatcher: SftpMessageDispatcher{this=7ee5767e, endpoint=sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox, disposed=false} DEBUG 2017-01-11 22:40:54,273 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpMessageDispatcher: Writing file to:sftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox [test.xml] DEBUG 2017-01-11 22:40:54,273 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpConnector: Using existing pool for endpointsftp://sftpUser:****@127.0.0.1:22/sftpUser/ftproot/destination/inbox. Active: 0, Idle:8 DEBUG 2017-01-11 22:40:54,273 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpConnectionFactory: Inside validateObject - will return true DEBUG 2017-01-11 22:40:54,273 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpClient: Attempting to cwd to: /sftpUser/ftproot/destination/inbox ERROR 2017-01-11 22:40:54,275 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpClient: Error '' occurred when trying to CDW to '/sftpUser/ftproot/destination/inbox'. ERROR 2017-01-11 22:40:54,277 [[mule].sftpFileTransfer/sample.stage1.01] org.mule.transport.sftp.SftpMessageDispatcher: Unexpected exception attempting to write file, message was: Error '' occurred when trying to CDW to '/sftpUser/ftproot/destination/inbox'. java.io.IOException: Error '' occurred when trying to CDW to '/sftpUser/ftproot/destination/inbox'.

      at org.mule.transport.sftp.SftpClient.changeWorkingDirectory()
    2. org.mule.transport
      SftpMessageDispatcher.doDispatch
      1. org.mule.transport.sftp.SftpClient.changeWorkingDirectory(SftpClient.java:102)
      2. org.mule.transport.sftp.SftpConnector.createSftpClient(SftpConnector.java:196)
      3. org.mule.transport.sftp.SftpMessageDispatcher.doDispatch(SftpMessageDispatcher.java:70)
      3 frames
    3. Mule Core
      AbstractConnector$DispatcherMessageProcessor.process
      1. org.mule.transport.AbstractMessageDispatcher.process(AbstractMessageDispatcher.java:99)
      2. org.mule.transport.AbstractConnector$DispatcherMessageProcessor.process(AbstractConnector.java:2627)
      2 frames