-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
7.1.0.DR13, 7.2.0.GA.CR1
-
-
-
-
-
-
Known Issue
node-timeout is an attribute set via worker
node-timeout
Timeout (in seconds) for proxy connections to a node. That is the time mod_cluster will wait for the back-end response before returning error. That corresponds to timeout in the worker mod_proxy documentation. A value of -1 indicates no timeout. Note that mod_cluster always uses a cping/cpong before forwarding a request and the connectiontimeout value used by mod_cluster is the ping value.
Reproducing:
- Set up EAP with undertow as proxy balancer
- Start EAP node/worker with standalone-full-ha.xml config: ./bin/standalone.sh -c standalone-full-ha.xml
- Set node-timeout to 10 on node/worker:
/subsystem=modcluster/mod-cluster-config=configuration:write-attribute(name=node-timeout, value=10)
or
/subsystem=modcluster/proxy=default:write-attribute(name=node-timeout, value=10)
- Deploy app that uses Thread#sleep() to sleep for 15 seconds. The goal here is to simulate request processing which took too long - longer than node-timeout value.
- Request sent via balancer to deployed app should return 50x HTTP code after 10 seconds, but is returning 200 after 15 seconds.
- clones
-
UNDERTOW-1018 node-timeout: Attribute is not working
- Coding In Progress
- is cloned by
-
JBEAP-26262 (8.x) node-timeout: Attribute is not working
- Coding In Progress