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

nebula graph dashboard can not work for domain url like http://xxx.xxx.com/ #15

Open
learn2Pro opened this issue Sep 14, 2021 · 2 comments
Assignees
Labels
type/bug Type: something is unexpected

Comments

@learn2Pro
Copy link

learn2Pro commented Sep 14, 2021

Describe the bug (must be provided)
nebula dashboard only support http://ip:port pattern for work
A clear and concise description of what the bug is.

Your Environments (must be provided)

  • OS: Linux
  • Node-version: node v16.9.1
  • Dashboard-version: v2.5.0

How To Reproduce(must be provided)

step1:
bind a domain like dashboard.xxx.com to ip:port
step2:
view dashboard.xxx.com/ would report
nodejs.ECONNRESETError:
read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:220:20)
errno: -104
code: "ECONNRESET"
step3:
because this proxy file produce some route problem when view by domain url

xxx/nebula-graph-dashboard/nebula-graph-dashboard/app/middleware/proxy.js

wecom-temp-a0d579c2cde8bb962c805817f22821cd

this proxy

Additional context

Provide logs and configs, or any other context to trace the problem.

@nianiaJR
Copy link
Contributor

This will be fixed next version, thanks for your suggestion🤝

@xigongdaEricyang
Copy link
Contributor

xigongdaEricyang commented Sep 23, 2021

@learn2Pro Thanks for your comment. The "ECONNRESET" error means the host not exists. I reproduced it. Pls check that if you startup the nebula-http-gateway service(by checking the doc in README.md) before using dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

4 participants