honojs / hono

Web framework built on Web Standards
https://hono.dev
MIT License
20.27k stars 579 forks source link

Hono stops accepting requests and ignores the requests after a certain amount of requests have been sent. #3408

Closed itztiva closed 1 month ago

itztiva commented 2 months ago

What version of Hono are you using?

4.1.0

What runtime/platform is your app running on?

Bun

What steps can reproduce the bug?

Just send a ton of requests.

What is the expected behavior?

It ignores requests then my cloudflare just says the webserver is down.

What do you see instead?

Web server is down.

Additional information

No response

Extarys commented 2 months ago

May I ask about the interval between requests ?

Just spam clicking inside insomnia as fast as I can to a heartbeat endpoint, I do get a new timestamp for each request. I didn't test with a stresstest type of software though.

itztiva commented 2 months ago

well im not sure exactly, but its over 1000 atleast and the requests would come in every like second or 2 as i had over 10 users online.

MathurAditya724 commented 2 months ago

Can you share a reproduction of the code you are using?

itztiva commented 2 months ago

i switched to a different version of hono and it has started to work. i am on version 4.4.10

yusukebe commented 1 month ago

I think we can close this issue. Closing.