Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperdx Loading... #483

Open
satya-soul opened this issue Jul 29, 2024 · 6 comments
Open

Hyperdx Loading... #483

satya-soul opened this issue Jul 29, 2024 · 6 comments

Comments

@satya-soul
Copy link

docker run -p 8000:8000 -p 4318:4318 -p 4317:4317 -p 8080:8080 -p 8002:8002 hyperdx/hyperdx-local

When I deployed it through docker I am getting loading page.
Screenshot 2024-07-29 at 3 58 28 PM

@Buringcarbon
Copy link

I have the same problem

@MikeShi42
Copy link
Contributor

Hi @satya-soul and @Buringcarbon are you guys both using non-localhost domains to access the page? Can you check if accessing on localhost:8080 works?

It's most likely you'll need to edit the environment variables and rebuild the frontend app with the instructions here for custom domains: https://github.com/hyperdxio/hyperdx#:~:text=Changing%20Hostname%20and%20Port

@satya-soul
Copy link
Author

Hey @MikeShi42 Thanks for the response, it did work on ec2 sever but still facing issue with getting logs from kubernetes. Do you know how to host it on Kubernetes? I have gone through a helm chart by one of open source contributor but still facing issue.

@MikeShi42
Copy link
Contributor

@satya-soul the most important part is you'll need to have an image with the new domain baked in so that the frontend knows where to talk to the backend. I don't believe the helm chart takes care of that step today

@jokester
Copy link

Hosting the web UI at non-localhost origin requires some extra configuration

I can use this configuration at LAN host 192.168.2.120 , with no problem submitting and reading the traces

services:
  hyperdx:
    image: hyperdx/hyperdx-local:1.10.0
    environment:
      - FRONTEND_URL=http://192.168.2.120:8081
      - SERVER_URL=http://192.168.2.120:8000
    ports:
      - 8081:8080 # UI
      - 8000:8000 # API
      - 4318:4318 # http collector
      - 4317:4317 # gRPC collector
      - 8002:8002
$ OTEL_EXPORTER_OTLP_ENDPOINT=http://192.168.2.120:4318 node my-server.js

@srinivas-bitla
Copy link

Hi, I am facing same problem, "Hyperdx Loading..." with back window. I have tried the solution mentioned at https://github.com/hyperdxio/hyperdx#:~:text=Changing%20Hostname%20and%20Port but that did not work for me. I deployed HyperDx on a EC2 Ubuntu machine.

Here are the steps I followed...

  1. git clone https://github.com/hyperdxio/hyperdx.git
  2. edited .env file with domain name
  3. make build-local
  4. docker-compose up -d
  5. "docker-compose ps" shows all services up and running
  6. When I access UI at http://domain_name:8080 it is just showing "Hyperdx Loading..."
  7. I have also posted some test logs to the v1/logs endpoint using postman, received 200 status with {"partialSuccess": {}} response body
  8. UI again just showing "Hyperdx Loading..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants