Page 1 of 1

Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 10:30 am
by ZCH
In the internet Settings I set Realtime interval 10 secs.
Davis Vatage Pro updates any 5 seconds.
After opening Cumulus Realtime, no updates are shown.
What did I do wrong?

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 11:06 am
by steve
Please give a link to the web page.

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 11:18 am
by ZCH

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 11:27 am
by steve
Your realtime.txt file isn't updating (although it had updated very recently when I first looked at it). If you turn on ftp logging, wait a couple of minutes, and then attach the realtimeftplog.txt file here, that might throw some light on the problem.

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 12:50 pm
by ZCH
I turned on FTP logging, waited for 5 minutes before recalling Cumulus Realtime. No updating.
Restarted Cumulus, same as above.
realtime.txt:
05-12-12 13:43:19 3.2 94 2.3 5 4 235 0.0 0.4 1001.05 SW 2 kts C hPa mm 14.7 -0.11 0.4 38.8 0.0 20.3 30 0.6 +0.2 6.1 12:35 0.0 10:56 10 12:53 20 12:52 1001.80 13:04 0.00 10:56 1.9.2 1032 10 3.2 3.2 0 0.00 0 233 0.2 24 1 0 SW 108 m -0.3 0.0 122 0
realtime.txttmp:
05-12-12 12:00:24 4.7 79 1.4 2 5 242 0.0 0.0 1001.39 WSW 1 kts C hPa mm 3.4 0.00 0.0 38.4 0.0 21.2 29 4.7 +0.7 5.7 11:33 0.0 10:56 8 11:32 13 11:31 1001.66 11:41 0.00 10:56 1.9.2 1032 5 4.7 4.7 0 0.00 0 299 0.0 14 1 0 WNW 415 m 2.1 0.0 145 0

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 12:58 pm
by steve
I can see that it is updating, but only occasionally, not every 10 seconds. What does the realtimeftplog.txt show?

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 1:07 pm
by ZCH
realtimeftplog.txt in the annexe

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 1:35 pm
by steve
I can't see any errors in there; it is apparently successfully uploading the file every 10 seconds, so I don't know why your web server doesn't reflect that.

I note that you have 'delete before upload' set; it's better not to use that, but to use 'rename' instead. But some (broken, IMO) ftp servers don't' support that, and do require 'delete before upload', so perhaps that's why you have it set. Perhaps you could show screen shots of both tabs of your internet settings?

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 1:47 pm
by steve
It looks like some kind of caching issue; I thought it was odd that each time I've looked at your page it had just updated successfully. I looked in Chrome just now and got a realtime.txt with this timestamp:

05-12-12 14:36:42

Refreshing didn't change it. I then looked at the file in IE and got this timestamp:

05-12-12 14:41:32

So it had actually updated, even though I can't see it in Chrome. Refreshing both browsers gives the same timestamp each time (i.e. a different timestamp in each).

I'm afraid I don't know what you can do about that other than talk to your service provider.

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 1:49 pm
by ZCH
Here they are.

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 2:03 pm
by ZCH
Maybe there's something wrong with Silverlight. IE9 and Safari show error messages when I call Realtime. I don't want to use Chrome, because I love my privacy.
I'll let you know what I found.
Many thanks for your quick replies!

Gerard Hageman

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 2:05 pm
by steve
Your settings look fine (although as I said, you should use 'rename' instead of 'delete' if your server allows it).

The problem is that your web server is returning an http code of 304 when asked for the realtime.txt file. That code means that the server says the file has not been modified since the browser last requested it, but in fact it has been modified.

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 3:21 pm
by ZCH
I had to restore my settings. Without, my home page didn't show recent data.
The host I use is a free-of-charge server we got with our licence from KPN, the former state Telecom Company. I think they offer limited service.
My gliding club uses a professional one for their main site: 123host. This site runs under Wordpress. It proved to be impossible to incorporate Cumulus. So we decided to use KPN.
I'm afraid, we have to live with this handicap.
Anyway, Cumulus is wonderful.
Thank you

Re: Cumulus Realtime doesn't refresh

Posted: Wed 05 Dec 2012 3:52 pm
by mcrossley
Definitely looks like an IIS7 aggressive caching problem - from Google it looks like it is 'known' for it.