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

Data websocket error with paper trading. Error code = 1002 (protocol error) #379

Open
Medham278 opened this issue Mar 23, 2022 · 0 comments

Comments

@Medham278
Copy link

Hi,
I keep getting the following error when running any strategy (the sample python files) in paper trading mode. It was working before. Recently there has been some update in the alpaca trade api and I feel that maybe causing this error. I would appreciate any help regarding figuring out the cause and resolution for this type of error. The error message is below -

2022-03-23 14:11:54,810 starting stock data websocket connection
2022-03-23 14:11:56,289 connected to: wss://stream.data.alpaca.markets/v2/iex
2022-03-23 14:11:56,802 data websocket error, restarting connection: code = 1002 (protocol error), reason = received header with unexpected rsv bits set: true:false:false

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