webots
webots copied to clipboard
Streaming client can't start
EDIT: Solution Don't be stupid like me, and don't forget to add --stream at webots startup...
Describe the Bug The streaming client connect to the server, but stop loading halfway through
Steps to Reproduce
- Start
webots --port=1235 - Open custom_robot_windows
- Start the simulation
- Open the client at "http://localhost:1235/index.html"
- Connect to the port 1235 in mode W3D
- Start to load until "Sending mode: w3d", and hang there
- On the Webots side, see the error : WARNING: Cannot read '/usr/local/webots/resources/web/streaming_viewer/webots_icon.png', sending "404 Not Found". (and indeed the file is not there)
I don't know if 6 and 7 are actually linked, however
Possible Workaround But in any case, copying /usr/local/webots/resources/images/webots.png to /usr/local/webots/resources/web/streaming_viewer/webots_icon.png made the loading go further, but it don't seems to be working each time (but at least the error go away on the webots side)
Steps to Reproduce (continue) 8. I once manage to pass this point, only to get stuck on "Post-finalizing"
Expected behavior I would expect to load and play
System
- Operating System: Debian 12
- Firefox/Chromium and Webots 2025a