knime protocol (knime: // knime-server /) error

KNIME webpotal executes a workflow that retrieves and prints data stored in the KNIME Server repository.
As a result of execution, KNIME protocol (knime: // knime-server /) is not recognized correctly and an error message is displayed and normal execution is not possible.
The error message is shown below.

The knime server version is 4.10.0.3fa2e72f6.
================================================== =
There are messages for workflow “KNIME_project6 2020-01-08 19.58.13”
File Reader 11: 410: 0: 3-WARNING: Can’t access ‘knime: //knime-server/data/adult.csv’. (Server returned HTTP response code: 400 for URL: http: // [fe80: 0: 0: 0: d250: 99ff: fec0: f38b% enp4s0]: 18080 / knime / rest / v4 / repository / data / adult.csv : data)
================================================== ==

Contact the cause and solution.

Thank you.

Hello @Youngjin,
knime-server corresponds to a mountpoint and I suppose you have mounted your server local under “knime-server”. On the server itself, this mountpoint probably does not exist. Can you change it to knime://LOCAL before uploading the workflow to the server?
Kind regards
Alexander

Hello. @Alexander
Thank you for answer.

I created a workflow for the knime-server prototype test in webportal. The test is to load data from the KNIME Server repository. You can apply knime: // LOCAL by connecting String Input node in front of Quickform node.

After the application, the following error message is displayed.

================================================
There are messages for workflow “KNIME_project6 2020-01-09 08.46.04”
File Reader 2: 410: 0: 3-WARNING: Can’t access ‘knime: //LOCAL/data/adult.csv’. (File not found: /home/knime/knime_server/workflow_repository/runtime/runtime_knime-rmi-50100/data/adult.csv.)

=================================================

knime: // LOCAL is assumed to be assigned to the path generated when the workflow is run from the KNIME web portal.

Hello. @Alexander
Thank you for answer.

I created a workflow for the knime-server prototype test in webportal. The test is to load data from the KNIME Server repository. You can apply knime: // LOCAL by connecting String Input node in front of Quickform node.

After the application, the following error message is displayed.

================================================
There are messages for workflow “KNIME_project6 2020-01-09 08.46.04”
File Reader 2: 410: 0: 3-WARNING: Can’t access ‘knime: //LOCAL/data/adult.csv’. (File not found: /home/knime/knime_server/workflow_repository/runtime/runtime_knime-rmi-50100/data/adult.csv.)

=================================================

knime: // LOCAL is assumed to be assigned to the path generated when the workflow is run from the KNIME web portal.

The issue has been resolved as follows.

This was solved by assigning the KNIME Web portal access path to the com.knime.server.canonical-address = entry in the knime-server.config file.

com.knime.server.default_mount_id = knime-server was set before the issue was registered.

==== knime-server.config =============================
com.knime.server.canonical-address = [KNIME Web portal URL]
com.knime.server.default_mount_id = knime-server

=================================================

Thanks for the feedback.

4 Likes

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