-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
External clients receive redirects to internal Kubernetes URLs that cannot be resolved outside the cluster.
What I Observed
When connecting to the MCP API from outside the cluster:
- Request URL:
https://tackle-konveyor-tackle.apps.mig08.rhos-psi.cnv-qe.rhood.us/hub/services/kai/api/ - Server redirects to:
http://tackle-hub.konveyor-tackle.svc:8080/api
This causes the following error:
Error: getaddrinfo ENOTFOUND tackle-hub.konveyor-tackle.svc
Workaround
We added client-side logic to intercept these redirects and rewrite them to use the external URL.
How to Reproduce
- Obtain an authentication token from the Keycloak endpoint
- Make an authenticated request to the MCP API endpoint:
https://tackle-konveyor-tackle.apps.mig08.rhos-psi.cnv-qe.rhood.us/hub/services/kai/api/ - Observe the redirect response pointing to
tackle-hub.konveyor-tackle.svc
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working