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

Can't handle ws error #10

Open
developer2346 opened this issue Mar 28, 2022 · 1 comment
Open

Can't handle ws error #10

developer2346 opened this issue Mar 28, 2022 · 1 comment

Comments

@developer2346
Copy link

developer2346 commented Mar 28, 2022

I get BybitWs Read error, closing connection: websocket: not connected error and seems it is not handleable as the API is logging the error and not returning any error.
How can I reconnect to socket after that error?
https://github.com/frankrap/bybit-api/blob/813e4bc7efdca90385dd871fcc3ab7a96241cce7/ws/ws.go#L192

@elmehdiabdi-src
Copy link

try to watch disconected or update the source code as you want bro

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

2 participants