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

error: failed to read: read limited at 1048577 bytes #203

Closed
petric3 opened this issue Jun 15, 2022 · 1 comment · Fixed by #278
Closed

error: failed to read: read limited at 1048577 bytes #203

petric3 opened this issue Jun 15, 2022 · 1 comment · Fixed by #278

Comments

@petric3
Copy link

petric3 commented Jun 15, 2022

It seems there's a limit on read news messages, is it possible to increase its default value?

2022/06/15 18:22:06 WARN datav2stream: reading from conn failed, error: failed to read: read limited at 1048577 bytes
2022/06/15 18:22:06 WARN datav2stream: connection lost
2022/06/15 18:22:06 INFO datav2stream: connecting to wss://stream.data.alpaca.markets/v1beta1/news, attempt 1/20 ...
2022/06/15 18:22:07 INFO datav2stream: established connection
2022/06/15 18:22:07 INFO datav2stream: finished connection setup
@gnvk
Copy link
Contributor

gnvk commented Aug 31, 2023

This is fixed in nhooyr/websocket#382 but it's not released yet unfortunately :(

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

Successfully merging a pull request may close this issue.

2 participants