Skip to content

error subproto = headers.get("sec-websocket-protocol", None).lower() AttributeError: 'NoneType' object has no attribute 'lower' #31

@jeremoquai

Description

@jeremoquai

Hi @ecthiender .

Trying to implement your solution to reach the WS : wss://ws.sorare.com/cable (correct URL given by the dev team)

Wrote a basic subscription that works on Playground.

But infortunately my script returns :

    subproto = headers.get("sec-websocket-protocol", None).lower()
AttributeError: 'NoneType' object has no attribute 'lower'

Any idea ?

Thanks !

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