question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

More useful exception logging on ReadTimeoutHandler

See original GitHub issue

Expected behavior

When ReadTimeoutHandler throws a ReadTimeoutException, it would be useful if the exception message shows the timeout value.

Actual behavior

Currently, it does not include any useful information to the user:

io.netty.handler.timeout.ReadTimeoutException: null

Steps to reproduce

Perform a long HTTP request over the timeout.

Netty version

4.1.72.Final

JVM version (e.g. java -version)

Java 17

OS version (e.g. uname -a)

Mac OS

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

0reactions
normanmaurercommented, Mar 24, 2022

@jonathannaguin I think we can change the protection level… Let me do a PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handling ReadTimeoutHandler time out - Stack Overflow
It's basically because you put the ReadTimeoutHandler in the wrong position. Please put it in the first position of the pipeline (i.e. before...
Read more >
Set a Timeout in Spring 5 Webflux WebClient - Baeldung
Learn how to configure timeout settings for our WebClient using Spring Webflux.
Read more >
Logging Exceptions in Java - Loggly
A look at common approaches to exception handling and logging in Java. ... error, it usually results in the loss of more useful...
Read more >
Reactor Netty Reference Guide
Reactor Netty provides an easy to use and configure TcpServer . It hides most of the Netty functionality that is needed to create...
Read more >
Web on Reactive Stack - Spring
Spring Boot defaults to Netty, because it is more widely used in the ... Provide handling for exceptions from the chain of WebFilter ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found