Cannot Connect WebSocket with DurableObject

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?

Err header here:

"upgrade": "websocket",

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.