sup filistine
sup filistine
CDCloudflare Developers
Created by sup filistine on 2/6/2025 in #workers-help
Something broken with establishing websocket connection with Browser as a service provider
We have been using Zenrows with puppeteer running in Durable Objects for quite some time now. But as of 2/6 (and we momentarily saw this issue last week too), we get this error on trying to connect to their wss endpoint on a brand new invocation. We are using the cloudflare/puppeteer package. The error is:
Uncaught TypeError: Failed to establish the WebSocket connection: expected server to reply with HTTP status code 101 (switching protocols), but received 520 instead."
Uncaught TypeError: Failed to establish the WebSocket connection: expected server to reply with HTTP status code 101 (switching protocols), but received 520 instead."
Does anyone know what's going on? This is happening with no code change from our side. Last week, I thought it was because the Zenrows API key variable might have gotten corrupt in our worker/DO deployment, so I manually updated it and the issue resolved itself. Today, the issue is not resolving on rotating the Zenrows API key (to the same value really) - so I am not sure what's up.
5 replies
CDCloudflare Developers
Created by sup filistine on 1/5/2025 in #workers-help
Queues are not scaling up, consumer wise when using a regular (non pull consumer)
No description
8 replies