Download node fails: Execute failed: session is down when trying to download file from FTP, KNIME 4.1.3, Win server 2012 SRD and Win 10

Hello

Download and Upload nodes from the IO/File Handling/Remote repository respond an error message like this: Execute failed: session is down.

The file that I am trying to download is from a SFTP.
I am connected to the SFTP with the SSH Connection node. Test connection result is successful.

but every time I try to download a file or upload a file. it fails and says that the sessions is down.

here is the log:

2020-06-22 01:37:58,497 : ERROR : KNIME-Worker-96-Download 0:65 : : Node : Download : 0:65 : Execute failed: session is down
com.jcraft.jsch.JSchException: session is down
at com.jcraft.jsch.Channel.sendChannelOpen(Channel.java:762)
at com.jcraft.jsch.Channel.connect(Channel.java:151)
at com.jcraft.jsch.Channel.connect(Channel.java:145)
at org.knime.base.filehandling.remote.files.SFTPRemoteFile.openChannel(SFTPRemoteFile.java:620)
at org.knime.base.filehandling.remote.files.SFTPRemoteFile.openInputStream(SFTPRemoteFile.java:363)
at org.knime.base.filehandling.remote.files.RemoteFile.write(RemoteFile.java:341)
at org.knime.base.filehandling.download2.DownloadNodeModel.download(DownloadNodeModel.java:204)
at org.knime.base.filehandling.download2.DownloadNodeModel.execute(DownloadNodeModel.java:132)
at org.knime.core.node.NodeModel.executeModel(NodeModel.java:571)
at org.knime.core.node.Node.invokeFullyNodeModelExecute(Node.java:1236)
at org.knime.core.node.Node.execute(Node.java:1016)
at org.knime.core.node.workflow.NativeNodeContainer.performExecuteNode(NativeNodeContainer.java:557)
at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(LocalNodeExecutionJob.java:95)
at org.knime.core.node.workflow.NodeExecutionJob.internalRun(NodeExecutionJob.java:218)
at org.knime.core.node.workflow.NodeExecutionJob.run(NodeExecutionJob.java:124)
at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(ThreadUtils.java:334)
at org.knime.core.util.ThreadUtils$RunnableWithContext.run(ThreadUtils.java:210)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:123)
at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:246)

Hi there @fvargase,

welcome to KNIME Community!

Have you made any progress on this one? Is there any log message on this other end?

Br,
Ivan

Hello @ipazin

Thanks for your welcome. I hope that I can make any contribution to the comunity.

The log on the other end just shows how I connect and then immidiately disconnect. Nothing else.

I do not think that this counts as fixing the issue but what I did was to connect in a non secure way using the ftp node instead of the ssh node and creating on the other side a white list with the ip address of the server where I put my knime flow.

I can download and upload files now but this is just a workaround.

1 Like

Hi @fvargase,

glad to hear you found a workaround and if remember well from other topics think other users did the same. This is planned to be addressed in future releases. Stay tuned for updates!

Br,
Ivan

Thanks a lot for your attention.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.