File Upload Widget not working after KNIME Server upgrade

Hi all,
Since our last KNIME Server update (4.13.1), the File Upload Widget stopped working as it was.

After uploading a file, the output port gets inactive. When I open the job, I see that it seems to be looking for the Default File we have used, no matter what file I upload in the portal.

Any ideas on what can be happening? Below a screenshot of the job with the message:

image

Thanks,
Matheus

1 Like

Hi Matheus,

thanks for reaching out. We are currently investigating a bug that occurs in KNIME 4.4.2, where default values of widgets may not be correctly overridden (internal reverence: AP-17734).

Could you double-check the server version (maybe access it in an incognito tab) and/or check the version of the server’s executor?

If the version is indeed 4.13.1 (executor 4.4.1), would it be possible to share (parts of) the workflow, so that we can reproduce the issue? You can also share that with support@knime.com, if you prefer. Please add a link to this forum thread in that case.

Kind regards
Marvin

2 Likes

Hi Marvin,

Thanks for responding. The version is exactly the one you described, so I will share the workflow via the support email.

Thanks,
Matheus

3 Likes

After further investigation, I think I know what caused the error.

What is happening is that the signal that the file has been uploaded (green tick mark) is being displayed before the actual upload of the file. If I click Next then, it does not recognise the uploaded file and tries to read the default one.

If I wait for a moment, then the upload occurs and when click Next, the workflow resumes naturally. What is difficult now is that there is no signal when the actual upload is complete.
Does anyone in KNIME know if this is a general issue?

image

2 Likes

Hi @toscanomatheus,

thanks for the update. That is interesting. It took me a few tries, but I can sometimes reproduce issues when clicking next the exact moment a file is marked as finished.
I’ll open a ticket for this in development.

Does this state only last very briefly, or do you have to wait e.g. multiple seconds, until you can click next?

Kind regards
Marvin

Hi Marvin,

Thanks for looking at it. I came to the conclusion that it depends on the size of the file being uploaded (the heavier the file, then more time it takes to upload, the more I need to wait until clicking Next).
If you need more information, please let me know

Regards,
Matheus

2 Likes

Hi all,

we are experiencing the same issues with the “File Upload Widget” @toscanomatheus is describing. Thanks for narrowing down the problem, that was really helpful!

Is there any news on when this issue is going to be fixed? This bug is quite annoying for our users. Our KNIME Server Version is 4.14.1.

Best,
Lennart

Hi @lennarts

unfortunately no news so far. We will keep you posted.

Best,
Marten

@lennarts, as an alternative solution for the time being, you could use the widget in legacy mode. You will not get the same look and feel, but at least the progress bar is consistent with the actual file upload and should be more intuitive to the users.

3 Likes

This issue is still occurring in April 2024 on KNIME 5.1.3.
It happens mainly on files bigger than 500 mb.

Is there anyone with a solution? @marvin.kickuth
The legacy node is unfortunately not available in 5.1.3.

Hi @RKrom,

I’m afraid I’m not aware of any new workarounds. However, it looks like development has implemented a solution that was released with KNIME 5.2.2.

The development ticket is listed as UIEXT-1620 in the respective changelog.

Kind regards
Marvin

1 Like

Hi Marvin,

Thanks for the quick response. Good to know the fix is implemented in 5.2.2.
Unfortunately our upgrade to 5.2 will not be anytime soon.

Kind regards