added host argument and new default for 0.0.0.0#8
added host argument and new default for 0.0.0.0#8techtasie wants to merge 1 commit intoFlexBE:mainfrom
Conversation
|
You must replace localhost in ros_subscriber.js. (line 6) https://github.com/FlexBE/flexbe_webui/blob/main/flexbe_webui/app/ros/ros_subscriber.js?plain=1#L6 |
|
Sorry for the delay, I'm getting back to this, and hope to get this merged this month. Our normal mode is that the OCS (mirror + server + client) runs remote from the robot, but we should allow multiple computers on OCS network to run client, so I appreciate this PR. I'm inclined to make 127.0.0.1 the default not 0.0.0.0 to make the default more secure and limit access by default. For @Maik13579 's comment, ChatGPT suggests: This is currently untested. I need to run these changes by some folks more attuned to cybersecurity than I am. |
|
See https://github.com/FlexBE/flexbe_webui/tree/pr/8 for latest code. @Maik13579 or @techtasie can you test the branch pr/8 branch on your systems? I'm keeping this PR open for discussion, but plan to close and merge from that branch if it checks out as pr/8 branch is rebased with latest changes . |
|
Hey @dcconner, sorry for my late response. Thank you for the implementation. I tested it, and it worked well on my system. From my side, it can be merged. 👍 |
It makes sense to allow connections from remote hosts if you want to run FlexBE on a robot and the WebUI on your PC.