# WebSocket error

**URL:** <https://discourse.mcneel.com/t/websocket-error/129276>\
**Category:** Rhino.Inside\
**Created:** [August 26, 2021, 8:50am UTC](https://discourse.mcneel.com/t/websocket-error/129276 "2021-08-26T08:50:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MateuszZwierzycki](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mateuszzwierzycki/32/756427_2.png) [@MateuszZwierzycki](https://discourse.mcneel.com/u/MateuszZwierzycki)\
**Post date:** [August 26, 2021, 8:50am UTC](https://discourse.mcneel.com/t/websocket-error/129276/1 "2021-08-26T08:50:18Z")

</div>

When running Rhino.Inside for a longer period of time (4-8 hours), I get such an exception:

```auto
<>c __DisplayClass9.<ReadBytesAsync>b__ 8|System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
                            at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
                            at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
                            --- End of inner exception stack trace ---
                            at System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult)
                            at WebSocketSharp.Ext.<>c __DisplayClass9.<ReadBytesAsync>b__ 8(IAsyncResult ar)

```

It seems the rhino core underneath keeps running.
