You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey, @marcodejongh do you think this error Error: All attempts to open a WebSocket to connect to the database failed. Please refer to https://github.com/neondatabase/serverless/blob/main/CONFIG.md#websocketconstructor-typeof-websocket--undefined. Details: fetch failed
is somehow related to what you are experiencing I am using "^0.9.5" version of @neondatabase/serverless
Steps to reproduce
Setup nextjs up using the websocket proxy & docker approach outlined on: https://vercel.com/docs/storage/vercel-postgres/local-development
Using @neondatabase/[email protected]
Expected result
wsProxy callback is executed, which allows next.js app to connect
Actual result
wsProxy is never executed and all queries fail.
I put a debugger in the wsProxy callback but it was never reached in 0.10.4
Downgraded back to 0.9.5 fixes the problem, havent tried previous versions yet
Environment
Logs, links
The text was updated successfully, but these errors were encountered: