Page 1 of 1
Webserver timeout?
Posted: Mon Aug 13, 2012 1:08 pm
by rune
When using the HTTP interface to get sensor data on Meteohub I often get "The underlying connection was closed: The connection was closed unexpectedly.".
Could it be because the Alix.1D can't keep up?
Re: Webserver timeout?
Posted: Mon Aug 13, 2012 4:33 pm
by YJB
Hi,
I'm using both meteograph.cgi as well as meteolog.cgi very frequently to feed my database, I've not seen any issues in this setup (and running already like this for a few years even when my meteohub was a NSLU2).
Especially the meteolog queries are running every 10 minutes out of cron, each run fetches about 300 values from my Alix1.d. I'm trying to prevent a potential overload, by waiting and arbitrary 2 seconds between each query.
Ysbrand
Re: Webserver timeout?
Posted: Mon Aug 13, 2012 5:58 pm
by rune
Thanks for your response. I've now ensured one reading at the time with 2 seconds in between. I'll keep an eye on it and see what happens.