Hi,
I am using KNIME Hub (v1.13) along with KNIME Edge (v1.3). To set up the environment, I downloaded and uploaded the “KNIME Edge Control Plane (Hub v1.5 or higher)” workflows to my KNIME Hub space:
KNIME Edge Control Plane (Hub v1.5 or higher)
After installing KNIME Edge, I tested the “View existing clusters” workflow, but I received the following response:
“There are no clusters registered on the Edge service.”
I started troubleshooting, and everything seemed correct. The cluster was already registered in the PostgreSQL database, but it was not visible from the Data App.
Upon further investigation, I found that the environment variable KNIME_EXECUTION_URL
in the node Get KNIME Version and Hub URL in the View Edge Clusters workflow was returning: http://api.hub-url.com/executions/edge/clusters instead of http://api.hub-url.com/edge/clusters
This was causing the 404 error as response.
If I replace the string to match the correct endpoint (removing “executions/”) with a Java method, the clusters become visible:
After this, I have two questions:
- Should I be able to retrieve existing clusters using ‘http://api.hub-url.com/executions/edge/clusters’?
- If not, how and where should I modify the KNIME_EXECUTION_URL environment variable to ensure the workflow uses the correct endpoint automatically?
Thanks in advance!
Best regards,
Mauricio