Websocket subprotocol results in Error: The script will never generate a response
Websockets - sending subprotocols (auth token smuggling) results in Error: The script will never generate a response.
Client:
Hono:
Client:
Hono:
- Fails right away at the upgrade with
Error: The script will never generate a response.on the server. - This only happens if I send a subprotocol such as
"potato"which automatically gets converted to thesec-websocket-protocolheader as it should. Curiously I can see the header in the console log. - Also tried with hc, same issue.