Webserver timeout?

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
rune
Expert Boarder
Expert Boarder
Posts: 104
Joined: Wed Jun 24, 2009 10:51 pm

Webserver timeout?

Post 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?
User avatar
YJB
Platinum Boarder
Platinum Boarder
Posts: 387
Joined: Thu Feb 19, 2009 5:53 pm
Location: Venhuizen, Netherlands
Contact:

Re: Webserver timeout?

Post 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
rune
Expert Boarder
Expert Boarder
Posts: 104
Joined: Wed Jun 24, 2009 10:51 pm

Re: Webserver timeout?

Post 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.
Post Reply