Open cosbgn opened 3 weeks ago
cloudflare pages & workers (I tested both).
Try any postgres connection, for example: https://github.com/cosbgn/pg-cloudflare/blob/main/server/api/psql.js (email me for the password at username at gmail.)
You can test locally by running:
NITRO_PRESET=cloudflare_module npm run build and then: npx wrangler dev --remote .output/server/index.mjs --site .output/public --log-level debug
NITRO_PRESET=cloudflare_module npm run build
npx wrangler dev --remote .output/server/index.mjs --site .output/public --log-level debug
I think the issue is cause by nitro. On both workers dev and workers deployed it hungs forever.
I tested with multiple databases (Digital Ocean and Aiven/AWS).
It just hungs forever and eventually it times out.
No response
Environment
cloudflare pages & workers (I tested both).
Reproduction
Try any postgres connection, for example: https://github.com/cosbgn/pg-cloudflare/blob/main/server/api/psql.js (email me for the password at username at gmail.)
You can test locally by running:
NITRO_PRESET=cloudflare_module npm run build
and then:npx wrangler dev --remote .output/server/index.mjs --site .output/public --log-level debug
I think the issue is cause by nitro. On both workers dev and workers deployed it hungs forever.
I tested with multiple databases (Digital Ocean and Aiven/AWS).
Describe the bug
It just hungs forever and eventually it times out.
Additional context
No response
Logs
No response