Download / Upload from list node fails while connecting via SSH

Hi,

I recently upgraded my Knime to 3.6.1 from 3.5.3 and since then I am having trouble using the node “Download / Upload from list”.

I am using an SSH connection node to supply the connection information. When I execute the “Download / Upload from list” node I get the following error -

ERROR Download / Upload from List 0:4 Execute failed: Protocol file incompatible with connection information protcol ssh

The knime log has the following error

2018-09-10 15:53:22,862 : DEBUG : main : ExecuteAction :  :  : Creating execution job for 1 node(s)...
2018-09-10 15:53:22,862 : DEBUG : main : NodeContainer :  :  : Download / Upload from List 0:4 has new state: CONFIGURED_MARKEDFOREXEC
2018-09-10 15:53:22,862 : DEBUG : main : NodeContainer :  :  : Download / Upload from List 0:4 has new state: CONFIGURED_QUEUED
2018-09-10 15:53:22,863 : DEBUG : main : NodeContainer :  :  : neiman_marcus_local_test 0 has new state: EXECUTING
2018-09-10 15:53:22,863 : DEBUG : KNIME-WFM-Parent-Notifier : NodeContainer :  :  : ROOT  has new state: EXECUTING
2018-09-10 15:53:22,863 : DEBUG : KNIME-Worker-14 : WorkflowManager : Download / Upload from List : 0:4 : Download / Upload from List 0:4 doBeforePreExecution
2018-09-10 15:53:22,863 : DEBUG : KNIME-Worker-14 : NodeContainer : Download / Upload from List : 0:4 : Download / Upload from List 0:4 has new state: PREEXECUTE
2018-09-10 15:53:22,863 : DEBUG : KNIME-Worker-14 : WorkflowManager : Download / Upload from List : 0:4 : Download / Upload from List 0:4 doBeforeExecution
2018-09-10 15:53:22,863 : DEBUG : KNIME-Worker-14 : NodeContainer : Download / Upload from List : 0:4 : Download / Upload from List 0:4 has new state: EXECUTING
2018-09-10 15:53:22,863 : DEBUG : KNIME-Worker-14 : WorkflowFileStoreHandlerRepository : Download / Upload from List : 0:4 : Adding handler a9ba8f26-cb07-4e0b-948c-6f5aa9edfba7 (Download / Upload from List 0:4: <no directory>) - 13 in total
2018-09-10 15:53:22,863 : DEBUG : KNIME-Worker-14 : LocalNodeExecutionJob : Download / Upload from List : 0:4 : Download / Upload from List 0:4 Start execute
2018-09-10 15:53:23,254 : DEBUG : KNIME-Worker-14 : Buffer : Download / Upload from List : 0:4 : Using table format org.knime.core.data.container.DefaultTableStoreFormat
2018-09-10 15:53:23,255 : DEBUG : KNIME-Worker-14 : Node : Download / Upload from List : 0:4 : reset
2018-09-10 15:53:23,255 : ERROR : KNIME-Worker-14 : Node : Download / Upload from List : 0:4 : Execute failed: Protocol file incompatible with connection information protcol ssh
2018-09-10 15:53:23,255 : DEBUG : KNIME-Worker-14 : Node : Download / Upload from List : 0:4 : Execute failed: Protocol file incompatible with connection information protcol ssh
java.lang.Exception: Protocol file incompatible with connection information protcol ssh
	at org.knime.base.filehandling.remote.connectioninformation.port.ConnectionInformation.fitsToURI(ConnectionInformation.java:194)
	at org.knime.base.filehandling.remote.files.RemoteFileFactory.createRemoteFile(RemoteFileFactory.java:89)
	at org.knime.base.filehandling.downloaduploadfromlist2.DownloadUploadFromListNodeModel.execute(DownloadUploadFromListNodeModel.java:158)
	at org.knime.core.node.NodeModel.executeModel(NodeModel.java:567)
	at org.knime.core.node.Node.invokeFullyNodeModelExecute(Node.java:1177)
	at org.knime.core.node.Node.execute(Node.java:964)
	at org.knime.core.node.workflow.NativeNodeContainer.performExecuteNode(NativeNodeContainer.java:561)
	at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(LocalNodeExecutionJob.java:95)
	at org.knime.core.node.workflow.NodeExecutionJob.internalRun(NodeExecutionJob.java:179)
	at org.knime.core.node.workflow.NodeExecutionJob.run(NodeExecutionJob.java:110)
	at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(ThreadUtils.java:328)
	at org.knime.core.util.ThreadUtils$RunnableWithContext.run(ThreadUtils.java:204)
	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)
2018-09-10 15:53:23,255 : DEBUG : KNIME-Worker-14 : WorkflowManager : Download / Upload from List : 0:4 : Download / Upload from List 0:4 doBeforePostExecution
2018-09-10 15:53:23,255 : DEBUG : KNIME-Worker-14 : NodeContainer : Download / Upload from List : 0:4 : Download / Upload from List 0:4 has new state: POSTEXECUTE
2018-09-10 15:53:23,255 : DEBUG : KNIME-Worker-14 : WorkflowManager : Download / Upload from List : 0:4 : Download / Upload from List 0:4 doAfterExecute - failure
2018-09-10 15:53:23,255 : DEBUG : KNIME-Worker-14 : Node : Download / Upload from List : 0:4 : reset
2018-09-10 15:53:23,255 : DEBUG : KNIME-Worker-14 : Node : Download / Upload from List : 0:4 : clean output ports.
2018-09-10 15:53:23,255 : DEBUG : KNIME-Worker-14 : WorkflowFileStoreHandlerRepository : Download / Upload from List : 0:4 : Removing handler a9ba8f26-cb07-4e0b-948c-6f5aa9edfba7 (Download / Upload from List 0:4: <no directory>) - 12 remaining
2018-09-10 15:53:23,255 : DEBUG : KNIME-Worker-14 : NodeContainer : Download / Upload from List : 0:4 : Download / Upload from List 0:4 has new state: IDLE
2018-09-10 15:53:23,256 : DEBUG : KNIME-Worker-14 : Node : Download / Upload from List : 0:4 : Configure succeeded. (Download / Upload from List)
2018-09-10 15:53:23,256 : DEBUG : KNIME-Worker-14 : NodeContainer : Download / Upload from List : 0:4 : Download / Upload from List 0:4 has new state: CONFIGURED
2018-09-10 15:53:23,257 : DEBUG : KNIME-Worker-14 : Node : List Files : 0:10 : Configure succeeded. (List Files)
2018-09-10 15:53:23,257 : DEBUG : KNIME-WFM-Parent-Notifier : NodeContainer :  :  : ROOT  has new state: IDLE
2018-09-10 15:53:23,259 : DEBUG : KNIME-Node-Usage-Writer : NodeTimer$GlobalNodeStats :  :  : Successfully wrote node usage stats to file: C:\Users\Jaison.babu\Knime 3.6\.metadata\knime\nodeusage_3.0.json

I have tried checking the connection using the “List Remote Files” and I am able to browse through the remote files.

Please help me understand what the error is and how to resolve this.

Best Regards,
Jaison Babu

Hi @jaisonbabu,

Could you provide an excerpt from your input table with the locations? It sounds to me like the URI are not correct.

Best,
Stefan

Hi @stelfrich,

I am sorry, I did not understand what you are asking here. If it’s the connection detail, I cannot provide you since it’s connecting to a client.

image

I’ve uploaded snapshot for your reference.

I reverted the Knime to 3.5.3 and the workflow works perfectly fine without any changes. I believe it is some changes in 3.6.1 that has caused this failure.

Let me know it this helps.

Best Regards,
Jaison

I was able to reproduce the exception, @jaisonbabu. We are looking into this and will keep you update here!

For now, the workaround (as you have already figured out) is to use KNIME 3.5.3…

Best,
Stefan

1 Like

I’m waiting for a solution too…

2 Likes

We have a similar problem, has there been any progress?

Can you provide a legacy node for this if there is no immediate solution? It’s not really feasible for us to keep both 3.5 and 3.6…

David

Hi @David_Ko,

This has been fixed on master and will make its way into 3.6.2 (which will be released in the next weeks).

Best,
Stefan

1 Like

Thanks, look forward to it.

We are using the KNIME server, would going to 3.6.2 require any upgrade of the server itself?

Best

David

You will have to update the executor (which is a KNIME Analytics Platform) if you want to execute workflows that use the node on KNIME Server.

Best,
Stefan

3.6.2 has been released.

@David_Ko @papaito Can you confirm that the issue has been solved? Thanks!

The new release 3.6.2 worked for me. Thanks

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