oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.16k stars 2.77k forks source link

Postgres.js | CONNECTION_CLOSED issue. #11301

Open amjed-ali-k opened 5 months ago

amjed-ali-k commented 5 months ago

What version of Bun is running?

1.1.9+bb13798d9

What platform is your computer?

Linux 6.5.0-28-generic x86_64 x86_64

What steps can reproduce the bug?

Test Repo to reproduce this issue

What is the expected behavior?

No response

What do you see instead?

https://github.com/oven-sh/bun/issues/7325#issuecomment-2123535963 https://github.com/porsager/postgres/issues/817#issuecomment-2030636937 image

Additional information

This issue frequently occurred to me for requests after the server was idling.

Related: https://github.com/oven-sh/bun/issues/7325#issuecomment-2126030305 https://github.com/porsager/postgres/issues/749 https://github.com/porsager/postgres/issues/817#issuecomment-2117616412

Possible Duplicate of: https://github.com/oven-sh/bun/issues/8946 https://github.com/oven-sh/bun/issues/7325

amjed-ali-k commented 3 months ago

Postgres.js 3.4.4 | Bun 1.1.12 image

lord007tn commented 2 months ago

Same problem with Hono is there any fix ?