I have/had a workflow running on our knime server, which normally worked fine.
Since the upgrade to the latest server version (KNIME Server 4.8.1, KNIME Server Executor 3.7.1), however, some of the nodes are resettet as soon as the job starts.
In particular GET Request nodes seem to be affected, and since the workflow starts with some of them it aborts almost immediately.
By being resettet I mean, that the compelte settings are set to default and of course without credentials/url ect. the node is not working anymore.
To clarify this, once I deploy the workflow on the server the settings are still all there…
I found another “problem”. Another workflow we have on the server is running rather fine, but once it’s finished the job is not “closed”/deleted. So even clicking on discard in the end will not finish the job.
Therefore the job will still be on the server with a red flag to it.
Is there a way to force the server/workflow to close/finish the job once the workflow was executed?
Just to confirm, your users execute the workflow in the WebPortal until the end? Do they then click the “discard” button on the last page? I.e., is it possible that they don’t actually click through the very last page? (where it only says “Workflow executed successfully”).
that’s for sure something I’ll try to confirm, and/or ask them to do.
Nevertheless is there a way of somehow finishing the workflow automatically after it has been executed (maybe after 10 minutes or so)?
Unfortunately, there is no way to enforce this - technically, the workflow is not fully executed if your users don’t click through to the last page (there might still be user input happening there, so we can’t consider it “executed”).
If they actually click through to the end, they can either discard the workflow directly, or leave it be so it will be discarded after the specified time (default: 7 days)
One more small point to add. It is possible to set a global option that defines a maximum job execution time. Perhaps that might help?
com.knime.server.job.max_execution_time<duration with unit, e.g. 60m, 36h, or 2d>
Allows to set a maximum execution time for jobs. If a job is executing longer than this value it will be canceled and eventually discarded (see com.knime.server.job.discard_after_timeout option). The default is unlimited job execution time. https://docs.knime.com/2018-12/server_admin_guide/index.html
the bug in the GET Request node has been fixed with 3.7.2 (AP-11466: Post Request nodes forgets URL settings on load). We also released the 4.8.2 server version, but to fix your GET request issue it should be sufficient to update the executor.
however i keep getting the same error. i even tried to execute the first GET and the save this executed version on the server, but as soon as I start the workflow in this state on the server the node resets itself again.
Is there anything else that might lead to this error?