You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Web Application is not working when accessing a device via an SSH tunnel. The main webapp site loads but no interaction is possible and no values are displayed.
The main problem is that the device reports its own IP address in the answer to the initial request to /app? :
The device IP is saved into the global variable window.device and used for reference in all subsequent requests. If a tunnel is used, this IP is not reachable.
A workaround is possible via the browser console: window.device="<correct local ip and port>"
or window.device=""
The second one works because the browser directs the request to the current URL and therefore uses the correct IP.
Additional context
Yes I know it is a niche problem, but I still would be very happy if someone would take a look at this. Thank you very much, this project is really great.
The text was updated successfully, but these errors were encountered:
Describe the bug
The Web Application is not working when accessing a device via an SSH tunnel. The main webapp site loads but no interaction is possible and no values are displayed.
The main problem is that the device reports its own IP address in the answer to the initial request to /app? :
The device IP is saved into the global variable window.device and used for reference in all subsequent requests. If a tunnel is used, this IP is not reachable.
A workaround is possible via the browser console:
window.device="<correct local ip and port>"
or
window.device=""
The second one works because the browser directs the request to the current URL and therefore uses the correct IP.
The "normal simple" UI on /index works fine.
Firmware:
To Reproduce
Screenshots
Additional context
Yes I know it is a niche problem, but I still would be very happy if someone would take a look at this. Thank you very much, this project is really great.
The text was updated successfully, but these errors were encountered: