Traffic Router logs SocketTimeoutException
for port 53 TCP health checks
#7081
Labels
improvement
The functionality exists but it could be improved in some way.
logging
related to logging infrastructure
Traffic Router
related to Traffic Router
This Improvement request (usability, performance, tech debt, etc.) affects these Traffic Control components:
Current behavior
To ensure that a Traffic Router can handle DNSSEC requests, a common practice is for an operator to create a health check that attempts to connect to Traffic Router over TCP on port 53, and, once successfully connected, close the request. When this happens, the following stack trace shows up in
traffic_router.log
:New behavior
org.apache.traffic_control.traffic_router.core.dns.protocol.TCP$TCPSocketHandler.run()
should catchSocketTimeoutException
and give a more descriptive error (including IP address).Also, this case is also not currently recorded in
access.log
. Do we want to log this case there?Steps to reproduce
The text was updated successfully, but these errors were encountered: