WebSocketClosedError: Tried to write to a closed websocket
See original GitHub issueWe upgraded yesterday to rosbridge_suite 0.11.2 and on the webserver side we get now an infinite-repeating of the following warning:
WebSocketClosedError: Tried to write to a closed websocket
However, our webapp is still running and roslib.js is not complaining on the client side. I just wonder if that error refers to unsubscribed topics or users that disconnected.
Specifications
- ROS Version (
echo $ROS_DISTRO): kinetic - OS Version (
grep DISTRIB_CODENAME /etc/lsb-release): xenial - Rosbridge Version (
roscat rosbridge_server package.xml | grep '<version>'): 0.11.2 - Tornado Version (
python -c 'import tornado; print tornado.version'): 4.2.1
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:10 (3 by maintainers)
Top Results From Across the Web
rosbridge_server: websocket_handler.py Source File
46 from tornado.websocket import WebSocketHandler, WebSocketClosedError ... 'WebSocketClosedError: Tried to write to a closed websocket'). 185 raise.
Read more >Not able to connect to Jupyter Notebook - tornado.websocket ...
I have installed Anaconda and when I run Jupyter Notebook and try to create a ... in wrapper raise WebSocketClosedError() tornado.websocket.
Read more >WebSocket closed unexpectedly - Jupyter Community Forum
I have a binderhub/jupyterhub setup on GKE. When I launch a notebook and create a kernel, I keep getting disconnected about every 30s, ......
Read more >Source code for tornado.websocket
If the connection is already closed, raises `WebSocketClosedError`. ... _wire_bytes_out += len(frame) try: self.stream.write(frame) except ...
Read more >"websocket closed" error in all browsers when running ...
Tried with firefox/chrome/IE. All versions latest. I captured wireshark log on laptop throwing error and at packet 771, CC3200 launchpad sends " ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The kinetic sync just came out a few minutes ago and rosbridge_server should now be at 0.11.3.
Hi, I’m also still getting the 0.11.2 version on ros Kinetic by using apt-get. It would be great to have the fix on the kinetic version as well. Thank you