Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Undertow upgrade causing ReadTimeoutException

29 views
Skip to first unread message

vineeth p

unread,
Aug 5, 2024, 1:20:35 AM8/5/24
to Undertow Dev
Hi all,

We use undertow web sever in our Java application to serve requests over MTLS. We recently upgraded undertow-servlet and undertow-core version from 2.2.18 to 2.3.15. With new version, for requests with larger payloads like 1MB size we are getting ReadTimeoutException when our application tries to read from undertow exchange inputstream. Upon further investigation, we realized that this issue is happening from version 2.2.23. Below is the stack trace. Is this a known issue? Can anyone please help?

```` org.xnio.channels.ReadTimeoutException: UT000199: Read timed out after 60000 milliseconds.
at io.undertow.io.UndertowInputStream.readIntoBuffer(UndertowInputStream.java:140) ~[undertow-core-2.3.15.Final.jar:2.3.15.Final]
at io.undertow.io.UndertowInputStream.read(UndertowInputStream.java:112) ~[undertow-core-2.3.15.Final.jar:2.3.15.Final]
```

Regards,
Vineeth
Message has been deleted

vineeth p

unread,
Aug 5, 2024, 2:35:02 PM8/5/24
to Undertow Dev
Correction. It seems to be happening from 2.2.21. I think this is the pr which introduced read timeout https://github.com/undertow-io/undertow/pull/1386/files

Flavia Rainone

unread,
Oct 4, 2024, 12:29:37 PM10/4/24
to Undertow Dev
@Vineeth
If you are still having this issue, please try 2.2.36.Final, that contains the latest fixes and let us know if you still see the ReadTimeoutException.

Thank you!
Reply all
Reply to author
Forward
0 new messages