Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ws client]: doesn't wait for Close ACK from server during close handshake #871

Open
niklasad1 opened this issue Sep 7, 2022 · 0 comments

Comments

@niklasad1
Copy link
Member

niklasad1 commented Sep 7, 2022

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.

//cc @lexnv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant