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

[bug] Deltaboard keeps visiting localhost back-end when deployed on a remote server #51

Closed
lencyforce opened this issue Mar 15, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@lencyforce
Copy link
Member

lencyforce commented Mar 15, 2022

Describe the bug
Deltaboard keeps visiting localhost back-end when deployed on a remote server

To Reproduce
Steps to reproduce the behavior:

  1. Deploy Deltaboard on a remote server
  2. Access Deltaboard using the remote IP address

Expected behavior
Deltaboard operates normally

Screenshots
c734c0e55a80540c112ce0c1b88b4cd

@lencyforce lencyforce added the bug Something isn't working label Mar 15, 2022
@lencyforce
Copy link
Member Author

The remote IP address should not be hard coded into the project. Instead use a relative URL which has the same domain as the browser uses to visit the frontend

@lencyforce lencyforce added this to 0.3.1 in Delta Roadmap Mar 15, 2022
@mh739025250
Copy link
Member

A workaround:
use ssh local port forwarding
ssh -fNt -L 8090:{your-server-ip}:8090 {your-server-ssh-name}

or just edit your host file to make localhost resolved to your server ip.

@mh739025250
Copy link
Member

fixed in commit aa13d38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants