Invalid node settings

I have been using the expression node in my workflow for months. I just started getting this error:

“Failed to convert initial data to map: java.net.SocketException: SocketException invoking https://auth.hub.knime.com/auth/realms/knime/protocol/openid-connect/token: Socket is closed”

Why did this suddenly start and how can it be fixed?

Hi @KGJr_bmwfs10,

welcome to the KNIME Forum.

This error is likely related to an issue we identified recently. It can occur when you are logged into the KNIME Community Hub and your internet connection drops while KNIME tries to refresh the access token in the background (for example, when opening the Expression node to check K-AI availability). In this situation, the connection loss was not handled gracefully and results in the “Socket is closed” error you’re seeing.

To confirm that this is the same issue, could you check the KNIME log? You can open it via Menu → Show KNIME log in File Explorer, then search for the error in the knime.log file. The full stack trace (lines following the message) will help verify this.

As a quick workaround, restarting KNIME Analytics Platform should resolve the issue.

Let me know what you find in the log.

2 Likes