RobotWebTools / rosbridge_suite

Server Implementations of the rosbridge v2 Protocol
https://robotwebtools.github.io
BSD 3-Clause "New" or "Revised" License
919 stars 519 forks source link

WebSocketClosedError: Tried to write to a closed websocket #418

Closed uahic closed 5 years ago

uahic commented 5 years ago

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

miguelfrosa commented 5 years ago

I was about to open an issue about this too.

I've been looking for what was causing the same problem on my system with the exact same specifications stated before.

I had to update some docker containers and in the process has to update rosbridge library from APT.

After that, my systems connect (roscore + rosbridge and roslibjs on client side) but I keep receiving the WRN: WebSocketClosedError: Tried to write to a closed websocket on the server side.

I believe this is related with #413 and/or #410

Hasankanso commented 5 years ago

I have the same problem, client is not complaining at all

v-raja commented 5 years ago

Facing the same problem as well

jorgenfb commented 5 years ago

Experiencing the same issue.

xarthurx commented 5 years ago

Experiencing the same issue. When would this merge be incorporated into a release package?

mvollrath commented 5 years ago

apt is installing 0.11.3 for me today.

xarthurx commented 5 years ago

Ubuntu 16.04?

On Fri, 16 Aug 2019 at 16:16, Matt Vollrath notifications@github.com wrote:

apt is installing 0.11.3 for me today.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/RobotWebTools/rosbridge_suite/issues/418?email_source=notifications&email_token=AAOVGVXE6NUC5BZ6U5TNDIDQE2ZFBA5CNFSM4ID7EIDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4OXPCQ#issuecomment-522024842, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOVGVQLYIH66QR7ZUJVAWDQE2ZFBANCNFSM4ID7EIDA .

-- MA Zhao

"SAVE PAPER - PLEASE THINK BEFORE YOU PRINT!"

xarthurx commented 5 years ago

I guess you're using Melodic? I'm on the Kinetic branch.

On Fri, 16 Aug 2019 at 16:30, X xliotx@gmail.com wrote:

Ubuntu 16.04?

On Fri, 16 Aug 2019 at 16:16, Matt Vollrath notifications@github.com wrote:

apt is installing 0.11.3 for me today.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/RobotWebTools/rosbridge_suite/issues/418?email_source=notifications&email_token=AAOVGVXE6NUC5BZ6U5TNDIDQE2ZFBA5CNFSM4ID7EIDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4OXPCQ#issuecomment-522024842, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOVGVQLYIH66QR7ZUJVAWDQE2ZFBANCNFSM4ID7EIDA .

-- MA Zhao

"SAVE PAPER - PLEASE THINK BEFORE YOU PRINT!"

-- MA Zhao

"SAVE PAPER - PLEASE THINK BEFORE YOU PRINT!"

sradmard commented 5 years ago

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

mvollrath commented 5 years ago

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