-
Notifications
You must be signed in to change notification settings - Fork 381
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
I am receiving an error accesing the API from marquez web
[HPM] Error occurred while trying to proxy request /api/v1/namespaces from marquez-web-internal-eks.eu-west-1.dev.hbi.systems to http://marquez-internal-eks.eu-west-1.dev.hbi.systems:80/ (ECONNRESET)
My application is deployed in Kubernetes. There is a redirection from http to https.
The problem is happening here:
https://github.com/MarquezProject/marquez/blob/main/web/setupProxy.js#L6
So first question is why http protocol is hardcoded here.
I made marquez web to work forking the code and creating my own image:
const apiOptions = {
target: `https://${process.env.MARQUEZ_HOST}/`,
secure: false,
changeOrigin: true,
headers: {
"Connection": "keep-alive"
}
}
I based my patch from this post:
chimurai/http-proxy-middleware#171
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Todo