zelnaut
03/15/2023, 2:44 PMJatinGundabathula
03/15/2023, 3:01 PMzszszsz
03/15/2023, 8:02 PMVero 🐙
03/15/2023, 8:09 PMRyan The Temp
03/16/2023, 1:33 AMnpx wrangler dev
but when I publish the worker, all the requests show in the log as Cancelled
when I try to connect a client using websocket.
How come it works on local but not when published?Ryan The Temp
03/16/2023, 1:34 AMRyan The Temp
03/16/2023, 1:34 AMSK
03/16/2023, 2:38 AMSK
03/16/2023, 2:38 AMSK
03/16/2023, 2:39 AMSrd
03/16/2023, 5:07 AMPlotzes
03/16/2023, 6:35 AMSC_pRo_ION
03/16/2023, 7:42 AMawait
the fetch result.
Has anybody here faced the same problem? Is it possible to speed up consumer performance? Now I only see the solution in adding multiple queues and multiple consumers which is way too difficult to handle and it still doesn't give enough RPS.m0c
03/16/2023, 8:27 AMTL&D
03/16/2023, 8:34 AMJatinGundabathula
03/16/2023, 10:16 AMGET
https://api.cloudflare.com/client/v4/accounts//workers/services//environments//bindingsJasper
03/16/2023, 3:36 PMkian
03/16/2023, 3:39 PMPatrickJ
03/16/2023, 3:45 PMJasper
03/16/2023, 3:47 PMzegevlier
03/16/2023, 4:55 PMzegevlier
03/16/2023, 4:55 PMJasper
03/16/2023, 6:56 PMRyan The Temp
03/17/2023, 4:27 PMts
const socket = new WebSocket(env.OTHER_WORKER)
socket.addEventListener('error', (event) => {
console.error('error', event)
})
socket.addEventListener('open', () => {
socket.send('hello world ')
socket.addEventListener('message', (event) => {
console.log('from other worker socket', event.data)
})
})
This works on local, but it doesn't work when I publish it. Is there a reason why it doesn't work in prod?Dawn Parzych
03/17/2023, 4:39 PMErisa | Support Engineer
03/17/2023, 4:43 PMkian
03/17/2023, 4:47 PMkian
03/17/2023, 4:47 PMkian
03/17/2023, 4:57 PM