I use the granian
HTTP Server support ASGI and get a issue below
File "/usr/local/lib/python3.11/site-packages/strawberry/channels/handlers/base.py", line 88, in dispatch
await super().dispatch(message)
File "/usr/local/lib/python3.11/site-packages/channels/consumer.py", line 73, in dispatch
await handler(message)
File "/usr/local/lib/python3.11/site-packages/channels/generic/websocket.py", line 173, in websocket_connect
await self.connect()
File "/usr/local/lib/python3.11/site-packages/strawberry/channels/handlers/ws_handler.py", line 77, in connect
preferred_protocol = self.pick_preferred_protocol(self.scope["subprotocols"])
~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'subprotocols'
As mentioned by @gi0baro here
emmett-framework/granian#213 (comment)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too