-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
BlockingNotAllowedException when using rest client since quarkus 3.18.1
#45985
Labels
Milestone
Comments
/cc @cescoffier (rest-client), @geoand (rest-client) |
Thanks for reporting. I'll have a look tomorrow |
It seems to be caused by 7841f90 |
Right. The easy fix to revert 7841f90 but I want to have a deeper look at what's going on |
geoand
added a commit
to geoand/quarkus
that referenced
this issue
Jan 31, 2025
gastaldi
added a commit
that referenced
this issue
Jan 31, 2025
Don't prematurely close an InputStream returned by the REST Client
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Feb 4, 2025
Fixes: quarkusio#45985 (cherry picked from commit baf1fa5)
carlesarnal
pushed a commit
to carlesarnal/quarkus
that referenced
this issue
Feb 6, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using a rest-client returning an InputStream
Calling the client fails with
If you switch to a
String
, it works as expectedExpected behavior
Returning a
InputStream
should work as expected in already blocking context.Actual behavior
Returning a
InputStream
in a blocking context fails withBlockingNotAllowedException
How to Reproduce?
Clone https://github.com/Malandril/quarkus-rest-test and run the tests
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
3.18.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
Does not happen in quarkus 3.17.3
The text was updated successfully, but these errors were encountered: