Trouble with POST Request

Hello All.

I have node POST Request which sends request to google translate API. It worked fine with KNIE version 4.5.0. But now it ends with error “Execution failed in Try-Catch block: Could not initialize class org.knime.core.util.ThreadLocalHTTPAuthenticator”. In browser request works fine. Can anybody help me with this trouble?

Hi @dbolshev

How are you using the node? Can you send a screenshot?

Regards,
Wali

I’m having the same issue (Execute failed: Could not initialize class org.knime.core.util.ThreadLocalHTTPAuthenticator), even with this example:

I just upgraded to knime 4.6.0

I am getting the same error, also immediately after upgrading to version 4.6.0, though in my case it is for a GET request.

You have to completely shut down and restart KNIME Analytics Platform once after the update from 4.5 to 4.6. Then the error is gone. This is caused by the update from Java 11 to Java 17 which requires a complete shutdown and not just a restart for some functionality.

2 Likes

That worked! Thank you!

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