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?
Webserver timeout?
Moderator: Mattk
- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: Webserver timeout?
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
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?
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.