#How to use websockets on workers?
2 messages · Page 1 of 1 (latest)
This is an example which works locally but fails on production/workers: https://pastecode.io/s/j4oo4jvn
2 messages · Page 1 of 1 (latest)
I'm trying to connect openAI realtime to workers, I use nuxt/nitro.
I get this error in the logs:
[ws] Error in open handler: SyntaxError: WebSocket Constructor: The protocol header token is invalid.
This is an example which works locally but fails on production/workers: https://pastecode.io/s/j4oo4jvn