-
Notifications
You must be signed in to change notification settings - Fork 399
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
ZClient - PrematureChannelClosureException #2841
Comments
Changing to |
@kyri-petrou The reproducer and results described above was with ZIO 2.0.21. I have now tested with ZIO 2.1.1 and ZIO-HTTP 3.0.0-RC7. The issue is still exactly the same |
@xkrillex my bad, I only just realised this issue was related to |
@kyri-petrou @jdegoes when do you plan to cut a release? |
I'm not an admin of this repo, but I think @987Nabil is going to make one soon |
I'll do one over the weekend |
@987Nabil please ping me when the release is ready. |
Describe the bug
io.netty.handler.codec.PrematureChannelClosureException: Channel closed while executing the request. This is likely caused due to a client connection misconfiguration
/io.netty.handler.codec.PrematureChannelClosureException: channel gone inactive with 1 missing response(s)
when making simple HTTP GET requestsNote 10 second idleTimeout on the client config.
ZIO-HTTP-3.0.0-RC6
To Reproduce
Making a GET Request to http://127.0.0.1:8080/makeSleepRequest/10 gives following output (no successful responses - sleep time equals idleTimeout):
Making 3 subsequent GET Requests to http://127.0.0.1:8080/makeSleepRequest/4 (4 seconds sleep time) gives following output (first two requests are successful - third which goes past idleTimeout are not successful):
The text was updated successfully, but these errors were encountered: