Skip to content

Websocket issue? #2

Description

@bitnosis

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions