I built my DurableObject to use websockets. I have it working fine locally. But when I deploy and try to connect, I get this error:
exceptions": [
{
"name": "TypeError",
"message": "Worker tried to return a WebSocket in a response to a request which did not contain the header \"Upgrade: websocket\".",
"timestamp": 1656431342367
}
],
But it’s definitely in the request headers:
"connection": "Upgrade",
Anyone have any idea?