You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I understand soketto::close doesn't
wait for CLOSE ACK from the server which causes the ACK to fail from the server-side.
That certainly explains error such as: 2022-09-07T10:18:15.621704Z ERROR jsonrpsee_server::transport::ws: WS transport error: i/o error: Transport endpoint is not connected (os error 107); terminate connection: 0 which I thought was some race-condition in soketto.
The downside is that soketto doesn't have an API to do that on the client-side AFAIU.
Thus, I was wrong it was caused that soketto tried to close down the I/O stream after close handshake was completed and ended up with an I/O error because the socket was already closed down and that error was propagated instead of the close message
From what I understand soketto::close doesn't
wait for
CLOSE ACK
from the server which causes theACK
to fail from the server-side.That certainly explains error such as:
2022-09-07T10:18:15.621704Z ERROR jsonrpsee_server::transport::ws: WS transport error: i/o error: Transport endpoint is not connected (os error 107); terminate connection: 0
which I thought was some race-condition in soketto.The downside is that soketto doesn't have an API to do that on the client-side AFAIU.
//cc @lexnv
The text was updated successfully, but these errors were encountered: