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
I get this error when trying to connect to the websockets..
handler, values = adapter.match() raise WebsocketMismatch() werkzeug.routing.WebsocketMismatch: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand. 2021-11-29T06:06:43Z {'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '58134', 'HTTP_HOST': 'localhost:8022', (hidden keys: 30)} failed with WebsocketMismatch
Im trying to connect to the websockets like so
let socket = new WebSocket('ws://localhost:8022/api/v1/marketdata');
PS At least, I can send something to Sierra's server via WS, but I'm NOT [yet] getting a market data in the LOG section below [like shown on the video], but it could be due to
my Sierra server misconfiguration, OR
Certain CME restrictions for the live data
Sierra's server settings attached
PS downgrading flask didn't help; current versions [as of Feb 2024 - should be latest]:
I get this error when trying to connect to the websockets..
handler, values = adapter.match() raise WebsocketMismatch() werkzeug.routing.WebsocketMismatch: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand. 2021-11-29T06:06:43Z {'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '58134', 'HTTP_HOST': 'localhost:8022', (hidden keys: 30)} failed with WebsocketMismatch
Im trying to connect to the websockets like so
let socket = new WebSocket('ws://localhost:8022/api/v1/marketdata');
and my setup originally is...
example_client.py --host 127.0.0.1 --port 11099 -q 11098 -r 8022 -s
The text was updated successfully, but these errors were encountered: