-
Notifications
You must be signed in to change notification settings - Fork 34
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
zio-aws with http4s client never terminates #377
Comments
I agree with the expected behavior. Will take a look. |
I've seen the same behaviour (never terminates) in my integration tests too. But I see this "hanging" problem with http4s 0.21.23 only. If I downgrade to 0.21.22, there is no problem. |
http4s 0.22.24 is out now. Might as well use it as the target version :) I have tested zio-aws with http4s 0.22.24. The same issue persists, unfortunately. |
@vigoo @jmcclell Apparently a similar issue has been reported here: http4s/blaze#660 You can also find out more details on Typelevel's http4s room on Discord: https://discord.com/channels/632277896739946517/632286375311573032/847885930010640404 |
Thanks for the info and sorry for the delay. I will try to look into this soon. |
In the meantime I updated to http4s 0.22. Did not check this issue though yet, but might be fixed. |
This issue still persist with zio-aws 6.20.78.1 |
Given the following test case code:
The threads spawned by http4s client never terminate. This works as expected with the netty client.
Build.sbt:
I haven't gotten an example to work quite yet, but this is definitely happening when there are no AWS credentials configured and the unhappy path is executed.
Log:
I would expect in this error state, the behavior with the http4s client would be the same as with the netty client – the threads should shut down and the program should exit.
The text was updated successfully, but these errors were encountered: