Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem connection not handling requests #1584

Open
sonic182 opened this issue Oct 26, 2022 · 3 comments
Open

Problem connection not handling requests #1584

sonic182 opened this issue Oct 26, 2022 · 3 comments

Comments

@sonic182
Copy link

sonic182 commented Oct 26, 2022

I have an API where I send a lot of fast requests sequential, after certain number of requests, one of then get stuck eternal until client timeout or cowboy timeout.

I'm using Phoenix

I have detected using a handler that the last respond had in the state IsFin flag to true so I think the http client tries to use the same acceptor or connection or whatever process that is marked for being shutdown (but shutdown also seems that is not being done)

Is http1.1 requests, I think it is the same bug that is being tried to be fixed in this pr: #1583

Have you seen any similar bug?

@sonic182 sonic182 changed the title Problem when stream has fin flag true Problem connection not handling requests Oct 26, 2022
@sonic182
Copy link
Author

I have fixed my app by using {:cowboy, "< 2.8.0"}, in deps, I got the error with 2.8 and 2.9 In 2.7 works as expected

@sonic182
Copy link
Author

any comment here?? @essen

@essen
Copy link
Member

essen commented Nov 2, 2023

I do not understand the ticket, sorry. A way to reproduce would help, a small sample project, even if it's using Phoenix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants