pantor / ros-control-center

A web-based control center for ROS robots.
https://pantor.github.io/ros-control-center
BSD 3-Clause "New" or "Revised" License
265 stars 71 forks source link

Doesn't seem to work with robot on local network #30

Closed nickvaras closed 4 years ago

nickvaras commented 4 years ago

Even when trying the demo page, I can see topics if running a local rosbridge server on same machine (127.0.0.1), but not a robot in the local network, for example 10.66.171.50. The dashboard banner goes green but gets stuck in "Loading" with no further information.

nickvaras commented 4 years ago

Correction to the above. It seems to work only when running a simple server on my laptop, but when I plugged a monitor to the robot (so the ws server lived on 127.0.0.1:9090) and tried to open the web demo, I got the same result, i.e., got stuck in the "loading..." bubble.

johnflux commented 4 years ago

https:// to ws:// is disallowed by default on firefox.

Go to firefox's about:config and toggling network.websocket.allowInsecureFromHTTPS to true

https://stackoverflow.com/questions/11768221/firefox-websocket-security-issue/12042843#12042843

nickvaras commented 4 years ago

Thanks!