Issue with KNIME_EXECUTION_URL in KNIME Edge Control Plane

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:

  1. Should I be able to retrieve existing clusters using ‘http://api.hub-url.com/executions/edge/clusters’?
  2. 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

Hello,

I am looking into this issue, and am consulting internally to answer your two questions. I’ll update you further soon, once I have more information to shed light on your issue. :slight_smile:

Regards,
Nickolaus

Hello,

We have identified this issue as a defect and are tracking it as EDGE-1823. I will let you know if it is resolved soon.

Thank you,
Nickolaus

4 Likes

Thank you for your help Nickolaus

Just to follow up, EDGE-1823 is entered but has not yet been prioritized on the roadmap. I don’t have a timeline for its completion, but please monitor the changelogs when new versions of Hub/Edge are released, and if it is included it should be listed there.

Thank you,
Nickolaus

1 Like