Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

realtime.txt not updating (& Toolbox not knowing about it)

Please discuss beta versions of Cumulus 1 here. Note: There are currently no beta versions of Cumulus 1.
SUBYDAZZ
Posts: 209
Joined: Fri 01 Jan 2010 1:04 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 11
Location: Singleton, NSW, Australia
Contact:

realtime.txt not updating (& Toolbox not knowing about it)

Post by SUBYDAZZ »

The last few days I've noticed that my realtime.txt file is not updating quite often. The toolbox add-on also usually identifies this on the rare occasion it's happened in the past, but now it seems not to, or at least several hours can pass before it realises and notifies me.

What could be the cause of this? I have no error messages on the error thingy in Cumulus.

I currently have only one of my own webpages at a realtime update frequency (20seconds), and I've noticed that sometimes realtime.txt has updated but my webpage doesn't display that current data. All the other webpages that update every 10 minutes seem to be working OK

Shutting down and restarting Cumulus seems to fix this.

Using b971.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by steve »

SUBYDAZZ wrote:The last few days I've noticed that my realtime.txt file is not updating quite often.
Turn on ftp logging (delete the old ftplog.txt and realtimeftplog.txt files first), and when the problem occurs, look at the realtimeftplog.txt file.
Steve
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by daj »

and I've noticed that sometimes realtime.txt has updated but my webpage doesn't display that current data
Are you using the Cumulus Realtime App or something you wrote yourself? (you do not have a link to your website so I can not see).

I'm just wondering if your webserver is caching the realtime.txt file
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
SUBYDAZZ
Posts: 209
Joined: Fri 01 Jan 2010 1:04 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 11
Location: Singleton, NSW, Australia
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by SUBYDAZZ »

Just the realtime application *link* and I use it for Weather Console *link* also.

The other webpage *link* I have doesn't use the realtime.txt file but is supposed to be updating at the realtime interval (checked box in internet settings>files tab), I only recently enabled this but I'm now having a lot of trouble with it.
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by daj »

If you use a web browser to check the raw realtime file on the web server it appears not to be updating

http://users.on.net/~dazznsarah/pws/realtime.txt

So either Cumulus is having trouble FTPing it to the server, or your web server is caching the file

As Steve has noted, you need to turn on FTP logging in Cumulus so we can see what is going on.
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
SUBYDAZZ
Posts: 209
Joined: Fri 01 Jan 2010 1:04 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 11
Location: Singleton, NSW, Australia
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by SUBYDAZZ »

steve wrote:Turn on ftp logging (delete the old ftplog.txt and realtimeftplog.txt files first), and when the problem occurs, look at the realtimeftplog.txt file.
Have done this, the files were very large before I deleted them, will check it out.

My realtime.txt link

I notice now I am back home that my realtime file hasn't updated since 19:12:57, and it's now after 10:30pm.
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by mcrossley »

Looks like it is updating now "06-01-11 22:47:10"
SUBYDAZZ
Posts: 209
Joined: Fri 01 Jan 2010 1:04 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 11
Location: Singleton, NSW, Australia
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by SUBYDAZZ »

mcrossley wrote:Looks like it is updating now "06-01-11 22:47:10"
Yes, I just restarted Cumulus, we'll wait and see.

Dunno if it's related to any of this garbage I get in the debug log file:
debug.zip
You do not have the required permissions to view the files attached to this post.
SUBYDAZZ
Posts: 209
Joined: Fri 01 Jan 2010 1:04 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 11
Location: Singleton, NSW, Australia
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by SUBYDAZZ »

OK, it hasn't appeared to happen yet but will include my current realtimeftplog and ftplog so you can see if anything is going awry or whatever currently:
logs.zip
Also in that zip file is a small excerpt of my realtimelog.txt file (generated by toolbox) that shows the last time it appeared to stop tonight, clearly it looks as if the realtime file wasn't being generated? Still toolbox never noticed there was a problem with it updating though as the check is supposed to do.
You do not have the required permissions to view the files attached to this post.
SUBYDAZZ
Posts: 209
Joined: Fri 01 Jan 2010 1:04 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 11
Location: Singleton, NSW, Australia
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by SUBYDAZZ »

OK so it happened about 6:42am today here's the logs:
logs2.zip
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by steve »

An upload timed out:

06:42:26:609 ! HighLevelAsync 0
06:42:42:609 ! Aborting
06:42:42:609 ! HighLevelAsync 0
06:42:42:609 ! Abort detected

It then keeps trying to re-establish the connection, but the server seems to not want to play:

2890.6000 : 6:42:51 Realtime FTP Connect attempt

2893.6000 : 6:43:21 Realtime FTP Connect attempt

2896.6000 : 6:43:51 Realtime FTP Connect attempt

2899.6000 : 6:44:21 Realtime FTP Connect attempt

2902.6000 : 6:44:51 Realtime FTP Connect attempt

... etc.
Steve
SUBYDAZZ
Posts: 209
Joined: Fri 01 Jan 2010 1:04 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 11
Location: Singleton, NSW, Australia
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by SUBYDAZZ »

OK, but my normal web updates (10 minutes) still work. So what's going on there?

Will this realtime upload failure also affect any other files I've chosen to process & update at that realtime interval?

How many times is it set to re-try before it gives up, and is there any way to change this?

And why does it right itself when I restart Cumulus?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by steve »

SUBYDAZZ wrote:And why does it right itself when I restart Cumulus?
It does look as though it's actually the ftp component which is unable to connect; otherwise I would expect to see the logging of the connect attempts in the ftp log.

You appear to have set active ftp mode for some reason; your ftp server is suggesting that you use passive mode:

22:43:44:359 >|200 PORT command successful. Consider using PASV.|

You could try that...
Steve
SUBYDAZZ
Posts: 209
Joined: Fri 01 Jan 2010 1:04 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 11
Location: Singleton, NSW, Australia
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about it)

Post by SUBYDAZZ »

I did that, and after 24 hours it seems to be working OK so far...
SUBYDAZZ
Posts: 209
Joined: Fri 01 Jan 2010 1:04 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 11
Location: Singleton, NSW, Australia
Contact:

Re: realtime.txt not updating (& Toolbox not knowing about i

Post by SUBYDAZZ »

OK, it stopped working again last night. Any ideas as to why it doesn't reattempt to update these realtime interval files?

Also I still don't understand why the toolbox application is not recognising that the realtime.txt file is not uploading - or does it only see if the file has updated in the Cumulus folder?
Locked