Re: Periodic refresh causing server "Read timed out"

Posted by ncrofts on
URL: https://discuss.orbeon.com/Periodic-refresh-causing-server-Read-timed-out-tp45294p45308.html

Alex,

Thanks for the further advice. I've installed ieHttpHeaders and have attached a file containing the output from a test run that eventually ended in a "Read timed out" error. It seems that the page refreshes are taking place as normal, until the error occurs at which point there doesn't appear to be any data posted.

ieHttpHeaders_ReadTimedOut.txtoccurs

Can you see anything indicating a problem in this?

I've had a look again at orbeon.log too. It seems ok until the exception occurs and the stack trace I've posted previously is output.

Regards,
Neil

Alessandro Vernet wrote
Neil,

ncrofts wrote
Thanks for trying this. I haven't been able to see any obvious pattern when it comes to the interval. I've tried reducing it down to 5 second intervals and the fault does occur, but anecdotally it doesn't seem to cause the fault any more frequently. For the test I left it at 30 seconds to reflect the real scenario we need to use.
OK, even if anecdotal, this is interesting.

ncrofts wrote
Anyway, thanks in advance for sharing your results.
I left the page running for about 2 hours on a machine running IE6 but haven't seen the "read timeout" message so far. I am wondering what the server returns, if anything, when this "read timeout" error occurs. Could you try installing ieHTTPHeaders (http://wiki.orbeon.com/forms/doc/developer-guide/monitoring-http-requests) on IE, and run the test again on your side? ieHTTPHeaders should also log the Ajax requests. Maybe seeing what the request/response is when it fails will help. Also, when it fails, you might want to check the orbeon.log on the server to see if you see anything unusual there.

Alex