Hi Ralph > I'm trying to run a pre-1.3 nightly build version of Synapse. > Unfortunately I'm getting lots of connection timeout messages in the logs: > > ERROR [org.apache.synapse.transport.nhttp.ServerHandler] Connection > Timeout - before message body was fully read : [/127.0.0.18:56740] > > Web service clients are getting a HTTP 502 error with about 10 % > frequency. > I tried increasing http.connection.timeout and http.socket.timeout but > that did not change the behaviour. > Can you set the following on the lib/log4j.properties and send me a zipped trace
log4j.category.org.apache.synapse=DEBUG .. log4j.category.org.apache.synapse.transport.nhttp.util=DEBUG log4j.category.org.apache.http.impl.nio.reactor=DEBUG > The released version Synapse 1.2 is no option for me, because the issue > SYNAPSE-404 freezes the entire ESB and forces a restart about 3 times per > day, which is not feasible for productive use. But using Synapse 1.2 does > not show the timeout messages and runs with no HTTP 502 errors (as long as > it hasn't run into SYNAPSE-404). > > What causes the connection timeouts and how can I prevent them? > If possible, get a wireshark, tcpdump trace of the messages too and send me cheers asankha -- Asankha C. Perera AdroitLogic, http://adroitlogic.org http://esbmagic.blogspot.com
