Re: Periodic refresh causing server "Read timed out"
Posted by
ncrofts on
URL: https://discuss.orbeon.com/Periodic-refresh-causing-server-Read-timed-out-tp45294p45306.html
Hi Alex,
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.
Also, one thing I noticed is that sometimes if the activity performed by the XPL pipeline takes a 'long time' relative to the interval then the page refreshing seems to stop. I don't know if this is a related issue.
Anyway, thanks in advance for sharing your results.
Regards,
Neil
Alessandro Vernet wrote
Neil,
ncrofts wrote
Sorry about the delay in getting back to you. I've attached a zip file containing the simplest application I can reproduce the "Read timed out" problem with.
test-page.zip [...]
I have the code running in an Orbeon Forms on my laptop with a remote Windows machine doing its thing every 30 seconds. I'll let you know what I see.
Does the problem happen faster if you set the interval to be shorter?
Alex