Closed jcarranzan closed 3 months ago
cc @jamezp
Hi @geoand & @jamezp , I've updated the reproducer adding some extra tests that also trigger the SocketTimeoutException
and also I've updated the quarkus version to <quarkus.platform.version>3.8.999-SNAPSHOT</quarkus.platform.version>
where the backport (https://github.com/quarkusio/quarkus/pull/40663/commits/8b683ee24fdeea6978156dd889f7ee8c3fee6f0c) was done.
Thanks.
I can't seem to reproduce this with plain RESTEasy using the Jakarta SeBootstrap. I assume the issue is somewhere in Quarkus, but I can't figure out how to debug through the test. I'm not familiar with the Quarkus QE Test Framework.
Closing the issue, it's test case design issue where recursive call through rest client is made in GzipResource
. @jcarranzan I extended https://github.com/quarkusio/quarkus/issues/39636 reproducer and also updated your reproducer to identify the issue is in test application. I will comment on test coverage PR.
@jamezp the app is Quarkus vanilla one, Quarkus QE Test Framework gives us some goodies + we run against standalone java process as customers would do in production. There is no need to be afraid of that stuff :)
@jamezp the app is Quarkus vanilla one, Quarkus QE Test Framework gives us some goodies + we run against standalone java process as customers would do in production. There is no need to be afraid of that stuff :)
Good to know. I just wasn't sure what it was and I unfortunately just don't have much experience with Quarkus at all. One of these days I'll be able to dig into it more :)
Describe the bug
I'm encountering a
java.net.SocketTimeoutException: Read timed out
exception when I send Gzip compressed data from my test to a Quarkus endpoint. I've configured my application.properties with:I've created
byte[] gzip_max_input_1K = new byte[1000];
that after I compress in gzip data then I send to the Quarkus endpoint and then in the logs, I can see the error mentioned.My reproducer:
git clone -b gzip-input-bytes-reproducer https://github.com/jcarranzan/quarkus-reproducer.git
Logs with the error:
Expected behavior
The server successfully processes Gzip data sent from the test and response 200 OK.
Actual behavior
org.jboss.resteasy.spi.UnhandledException: jakarta.ws.rs.ProcessingException: RESTEASY004655: Unable to invoke request: java.net.SocketTimeoutException: Read timed out
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response