Page 1 of 1

SFTP "channel is not opened."

Posted: Wed Mar 09, 2016 8:22 am
by kgough
I am using Director 4.7.0
I have been getting intermittent errors on connecting to SFTP server:
I am able to recover on the next run, but it is annoying. Is there any fix for it?

3/8/16 9:20:16 AM ERROR [8098 - List Files at source] channel is not opened.
com.linoma.dpa.runtime.JobFailedException: [8098 - List Files at source] channel is not opened.
at com.linoma.dpa.runtime.Job.run(Unknown Source)
at com.linoma.dpa.util.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at com.linoma.dpa.util.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.linoma.dpa.ExecutionException: [8098 - List Files at source] channel is not opened.
at com.linoma.dpa.ProjectUtilities.getExecutionException(Unknown Source)
at com.linoma.dpa.tasks.ftp.AbstractFTPTask.createFTPConnection(Unknown Source)
at com.linoma.dpa.tasks.ftp.AbstractFTPTask.execute(Unknown Source)
at com.linoma.dpa.Module.execute(Unknown Source)
at com.linoma.dpa.Project.execute(Unknown Source)
at com.linoma.dpa.runtime.Job.executeProject(Unknown Source)
... 4 more
Caused by: com.linoma.dpa.tasks.ftp.FTPInterfaceException: channel is not opened.
at com.linoma.dpa.tasks.ftp.SFTPImpl.connect(Unknown Source)
at com.linoma.dpa.tasks.ftp.SFTPImpl.connectAndLogin(Unknown Source)
... 9 more
Caused by: com.jcraft.jsch.JSchException: channel is not opened.
at com.jcraft.jsch.Channel.sendChannelOpen(Unknown Source)
at com.jcraft.jsch.Channel.connect(Unknown Source)
at com.jcraft.jsch.Channel.connect(Unknown Source)
at com.linoma.dpa.tasks.ftp.SFTPImpl.establishSFTPConnection(Unknown Source)
... 11 more


Thank you,
Ken

Re: SFTP "channel is not opened."

Posted: Fri May 06, 2016 12:15 pm
by Support_Rick
You can look at modifying your retries and retry intervals. Also, look at your time out value. You could possibly increase that value as well.