WebSocketClosedError: Tried to write to a closed websocket

See original GitHub issue

We 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
mvollrathcommented, Aug 26, 2019

The kinetic sync just came out a few minutes ago and rosbridge_server should now be at 0.11.3.

0reactions
sradmardcommented, Aug 26, 2019

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found