Skip to content

[3.25.0] - REST-Client throws "BlockingNotAllowedException" on method that returns "Response"-object #49280

@lyrst

Description

@lyrst

Describe the bug

I have a project in which I use the REST-Client to fetch data from an external system.
I also wrote a custom logging interceptor to get some logging on the outgoing request and incoming response from that client.
This worked flawlessly in the past but since the upgrade to quarkus 3.25.0 I get a "BlockingNotAllowedException".

I attached an example that works without any issue on 3.24.5 but not on 3.25.0

Expected behavior

Application should work in 3.25.0 the same way as in 3.24.5

Actual behavior

Code throws BlockingNotAllowedException

How to Reproduce?

Reproducer can be found here:
https://github.com/lyrst/quarkus-copy-io-thread-reproducer

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions