API unauthorize
I’m trying to deploy my application using Nginx as a reverse proxy for the domain https://hyperdx.example.com. However, all network requests directed to /api are consistently returning an “Unauthorized” error. I'm not sure if it's related to header forwarding, cookie handling, or proxy configuration.
I am using the Helm chart to deploy HyperDX and am facing the same issue where trying to communicate with the API on port 8000 always returns a 401.
Hello @mnafees, @rigun , I submitted an issue then discovered this issue which is part of my submission. In my case I could not even send OTEL data. Can you kindly review my environmental variables, shared in issue #1130, and advise if they are correct/complete? I assume you can send OTEL data in your case. Thank you in advance.
This is the problem with secure cookies.
Just add X-Forwarded-Proto: https
Example for nginx:
proxy_set_header X-Forwarded-Proto $scheme;
Did anyone could solve this issue ? I am still getting the same issue.
Deployed using helm chart.
@evsinev i tried this but it didn't work
Solved for me
HYPERDX_APP_URL=<domain_url> HYPERDX_API_URL=<domain_url>