I configured cumulus so it uploads the realtime.txt
For some strange reason all of a sudden it does not upload anymore.
I enabled the ftp logging and this is a portion of the realtimeftp log:
22:49:11:726 Deleting realtime.txttmp
22:49:11:726 05B6A160 TriggerDataSent 780
22:49:11:863 >|550 realtime.txttmp: No such file or directory|
22:49:12:726 Delete done
22:49:12:726 Putting file
22:49:12:726 ! HighLevelAsync 0
22:49:12:726 05B6A160 TriggerDataSent 780
22:49:12:864 >|200 PORT command successful|
22:49:12:864 ! HighLevelAsync 0
22:49:12:864 05B6A920 TCustomWSocket.Shutdown 1 1732
22:49:13:726 Putting done
22:49:13:726 Renaming file
22:49:13:726 ! HighLevelAsync 0
22:49:13:726 05B6A160 TriggerDataSent 780
22:49:13:864 >|550 realtime.txttmp: No such file or directory|
22:49:14:726 Renaming done
22:49:14:726 End of upload of realtime.txt
I tried disabling the renaming and than I get this output:
22:34:11:699 Putting file
22:34:11:699 ! HighLevelAsync 0
22:34:11:699 05B6A160 TriggerDataSent 780
22:34:11:838 >|200 PORT command successful|
22:34:11:838 ! HighLevelAsync 0
22:34:11:838 05B6A920 TCustomWSocket.Shutdown 1 1676
22:34:12:699 Putting done
22:34:12:699 End of upload of realtime.txt
22:35:00:694 05B6A160 TriggerDataSent 780
22:35:00:832 >|200 Type set to A|
22:35:01:694 Putting file
22:35:01:694 ! HighLevelAsync 0
22:35:01:694 05B6A160 TriggerDataSent 780
22:35:01:832 >|200 PORT command successful|
22:35:01:832 ! HighLevelAsync 0
22:35:01:836 05B6A920 TCustomWSocket.Shutdown 1 1652
22:35:02:694 Putting done
22:35:02:694 End of upload of realtime.txt
22:35:50:691 05B6A160 TriggerDataSent 780
22:35:50:828 >|200 Type set to A|
it seems like the upload works or am I reading the log files wrong?
When I remove the realtime.txt from my ftp location it does not get uploaded.
When I do a web update all of the images and html files do get updated so the ftp is really working.
It's just the realtime.txt that for some reason does not work.
I also tried with active ftp but nothing changed...
Don't really know if the problem with my ftp or cumulus...
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
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 does not get uploaded
- 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 does not get uploaded
In the first case, it looks like you had both 'delete' and 'rename' set. This isn't a good combination, but should probably work (the delete will always fail).
The second case looks like it's worked, yes, but sometimes ftp servers don't give error messages even when they haven't done what you've asked. Do you still have 'delete' set? Some servers require that. Do you definitely have the correct directory set - is the file going to where you intend?
If it was working before, and now it isn't and you haven't changed anything, that would point to an issue at the server.
The second case looks like it's worked, yes, but sometimes ftp servers don't give error messages even when they haven't done what you've asked. Do you still have 'delete' set? Some servers require that. Do you definitely have the correct directory set - is the file going to where you intend?
If it was working before, and now it isn't and you haven't changed anything, that would point to an issue at the server.
Steve
-
passero
- Posts: 5
- Joined: Wed 08 May 2013 10:43 pm
- Weather Station: Oregon Scientific WMR88
- Operating System: Windows 7
- Location: United Kingdom
Re: realtime.txt does not get uploaded
I do notice that it only works every 3 min.
It's dead on 3 minutes although I have set the interval to 45 seconds.
I tried with only the "delete before update" and then the realtime.txt just gets deleted from the ftp location.
I don't see the new file.
I then changed back to "use FTP rename" and unchecked the delete before update.
I also do notice that everytime I make a chance like this the upload does work and then stops working for 5 min.
This is a log during those 3 min. The last entry is the successful one.
What could cause the difference? It's really strange that it takes exactly 3min before it works.
23:41:43:258 Putting file
23:41:43:258 ! HighLevelAsync 0
23:41:43:258 05C2A160 TriggerDataSent 952
23:41:43:399 >|200 PORT command successful|
23:41:43:399 ! HighLevelAsync 0
23:41:43:400 05C2A920 TCustomWSocket.Shutdown 1 1060
23:41:44:258 Putting done
23:41:44:258 Renaming file
23:41:44:258 ! HighLevelAsync 0
23:41:44:258 05C2A160 TriggerDataSent 952
23:41:44:399 >|550 weather/realtime.txttmp: No such file or directory|
23:41:45:259 Renaming done
23:41:45:259 End of upload of realtime.txt
23:42:27:253 05C2A160 TriggerDataSent 952
23:42:27:391 >|200 Type set to A|
23:42:28:253 Putting file
23:42:28:253 ! HighLevelAsync 0
23:42:28:253 05C2A160 TriggerDataSent 952
23:42:28:393 >|200 PORT command successful|
23:42:28:393 ! HighLevelAsync 0
23:42:28:393 05C2A920 TCustomWSocket.Shutdown 1 1124
23:42:29:253 Putting done
23:42:29:253 Renaming file
23:42:29:253 ! HighLevelAsync 0
23:42:29:253 05C2A160 TriggerDataSent 952
23:42:29:395 >|550 weather/realtime.txttmp: No such file or directory|
23:42:30:253 Renaming done
23:42:30:253 End of upload of realtime.txt
23:43:12:256 05C2A160 TriggerDataSent 952
23:43:12:397 >|200 Type set to A|
23:43:13:256 Putting file
23:43:13:256 ! HighLevelAsync 0
23:43:13:256 05C2A160 TriggerDataSent 952
23:43:13:402 >|200 PORT command successful|
23:43:13:402 ! HighLevelAsync 0
23:43:13:402 05C2A920 TCustomWSocket.Shutdown 1 1124
23:43:14:256 Putting done
23:43:14:256 Renaming file
23:43:14:256 ! HighLevelAsync 0
23:43:14:256 05C2A160 TriggerDataSent 952
23:43:14:395 >|550 weather/realtime.txttmp: No such file or directory|
23:43:15:256 Renaming done
23:43:15:256 End of upload of realtime.txt
23:43:57:249 05C2A160 TriggerDataSent 952
23:43:57:389 >|200 Type set to A|
23:43:58:250 Putting file
23:43:58:250 ! HighLevelAsync 0
23:43:58:250 05C2A160 TriggerDataSent 952
23:43:58:392 >|200 PORT command successful|
23:43:58:392 ! HighLevelAsync 0
23:43:58:392 05C2A160 TriggerDataSent 952
23:43:58:695 >|150 Opening ASCII mode data connection for weather/realtime.txttmp|
23:43:58:695 ! Data Session requested
23:43:58:695 05C2A920 Socket accepted 1064
23:43:58:695 05C2A920 TCustomWSocket.Shutdown 1 1144
23:43:58:695 ! Data Session opened
23:43:58:695 DataSocketPutDataSent 259
23:43:58:696 05C2A920 TriggerDataSent 1064
23:43:58:696 DataSocketPutDataSent 0
23:43:58:696 05C2A920 TriggerDataSent 1064
23:43:58:696 DataSocketPutDataSent 0
23:43:58:696 05C2A920 TCustomWSocket.Shutdown 1 1064
23:43:58:696 05C2A920 TCustomWSocket.Shutdown 1 1064
23:43:58:842 ! Data Session closed
23:43:58:842 ! Next3PutAsync
23:43:58:842 05C2A920 TCustomWSocket.Shutdown 1 1064
23:43:58:842 >|226 Transfer complete|
23:43:58:842 ! Next3PutAsync
23:43:58:842 ! HighLevelAsync 0
23:43:58:842 ! HighLevelAsync done
23:43:59:250 Putting done
23:43:59:250 Renaming file
23:43:59:250 ! HighLevelAsync 0
23:43:59:250 05C2A160 TriggerDataSent 952
23:43:59:392 >|350 File or directory exists, ready for destination name|
23:43:59:392 ! HighLevelAsync 0
23:43:59:392 05C2A160 TriggerDataSent 952
23:43:59:531 >|250 Rename successful|
23:43:59:531 ! HighLevelAsync 0
23:43:59:531 ! HighLevelAsync done
23:44:00:250 Renaming done
23:44:00:250 End of upload of realtime.txt
23:44:42:256 05C2A160 TriggerDataSent 952
23:44:42:398 >|200 Type set to A|
23:44:43:256 Putting file
23:44:43:256 ! HighLevelAsync 0
23:44:43:256 05C2A160 TriggerDataSent 952
23:44:43:401 >|200 PORT command successful|
23:44:43:401 ! HighLevelAsync 0
23:44:43:401 05C2A920 TCustomWSocket.Shutdown 1 1112
23:44:44:256 Putting done
23:44:44:256 Renaming file
23:44:44:256 ! HighLevelAsync 0
23:44:44:257 05C2A160 TriggerDataSent 952
23:44:44:397 >|550 weather/realtime.txttmp: No such file or directory|
It's dead on 3 minutes although I have set the interval to 45 seconds.
I tried with only the "delete before update" and then the realtime.txt just gets deleted from the ftp location.
I don't see the new file.
I then changed back to "use FTP rename" and unchecked the delete before update.
I also do notice that everytime I make a chance like this the upload does work and then stops working for 5 min.
This is a log during those 3 min. The last entry is the successful one.
What could cause the difference? It's really strange that it takes exactly 3min before it works.
23:41:43:258 Putting file
23:41:43:258 ! HighLevelAsync 0
23:41:43:258 05C2A160 TriggerDataSent 952
23:41:43:399 >|200 PORT command successful|
23:41:43:399 ! HighLevelAsync 0
23:41:43:400 05C2A920 TCustomWSocket.Shutdown 1 1060
23:41:44:258 Putting done
23:41:44:258 Renaming file
23:41:44:258 ! HighLevelAsync 0
23:41:44:258 05C2A160 TriggerDataSent 952
23:41:44:399 >|550 weather/realtime.txttmp: No such file or directory|
23:41:45:259 Renaming done
23:41:45:259 End of upload of realtime.txt
23:42:27:253 05C2A160 TriggerDataSent 952
23:42:27:391 >|200 Type set to A|
23:42:28:253 Putting file
23:42:28:253 ! HighLevelAsync 0
23:42:28:253 05C2A160 TriggerDataSent 952
23:42:28:393 >|200 PORT command successful|
23:42:28:393 ! HighLevelAsync 0
23:42:28:393 05C2A920 TCustomWSocket.Shutdown 1 1124
23:42:29:253 Putting done
23:42:29:253 Renaming file
23:42:29:253 ! HighLevelAsync 0
23:42:29:253 05C2A160 TriggerDataSent 952
23:42:29:395 >|550 weather/realtime.txttmp: No such file or directory|
23:42:30:253 Renaming done
23:42:30:253 End of upload of realtime.txt
23:43:12:256 05C2A160 TriggerDataSent 952
23:43:12:397 >|200 Type set to A|
23:43:13:256 Putting file
23:43:13:256 ! HighLevelAsync 0
23:43:13:256 05C2A160 TriggerDataSent 952
23:43:13:402 >|200 PORT command successful|
23:43:13:402 ! HighLevelAsync 0
23:43:13:402 05C2A920 TCustomWSocket.Shutdown 1 1124
23:43:14:256 Putting done
23:43:14:256 Renaming file
23:43:14:256 ! HighLevelAsync 0
23:43:14:256 05C2A160 TriggerDataSent 952
23:43:14:395 >|550 weather/realtime.txttmp: No such file or directory|
23:43:15:256 Renaming done
23:43:15:256 End of upload of realtime.txt
23:43:57:249 05C2A160 TriggerDataSent 952
23:43:57:389 >|200 Type set to A|
23:43:58:250 Putting file
23:43:58:250 ! HighLevelAsync 0
23:43:58:250 05C2A160 TriggerDataSent 952
23:43:58:392 >|200 PORT command successful|
23:43:58:392 ! HighLevelAsync 0
23:43:58:392 05C2A160 TriggerDataSent 952
23:43:58:695 >|150 Opening ASCII mode data connection for weather/realtime.txttmp|
23:43:58:695 ! Data Session requested
23:43:58:695 05C2A920 Socket accepted 1064
23:43:58:695 05C2A920 TCustomWSocket.Shutdown 1 1144
23:43:58:695 ! Data Session opened
23:43:58:695 DataSocketPutDataSent 259
23:43:58:696 05C2A920 TriggerDataSent 1064
23:43:58:696 DataSocketPutDataSent 0
23:43:58:696 05C2A920 TriggerDataSent 1064
23:43:58:696 DataSocketPutDataSent 0
23:43:58:696 05C2A920 TCustomWSocket.Shutdown 1 1064
23:43:58:696 05C2A920 TCustomWSocket.Shutdown 1 1064
23:43:58:842 ! Data Session closed
23:43:58:842 ! Next3PutAsync
23:43:58:842 05C2A920 TCustomWSocket.Shutdown 1 1064
23:43:58:842 >|226 Transfer complete|
23:43:58:842 ! Next3PutAsync
23:43:58:842 ! HighLevelAsync 0
23:43:58:842 ! HighLevelAsync done
23:43:59:250 Putting done
23:43:59:250 Renaming file
23:43:59:250 ! HighLevelAsync 0
23:43:59:250 05C2A160 TriggerDataSent 952
23:43:59:392 >|350 File or directory exists, ready for destination name|
23:43:59:392 ! HighLevelAsync 0
23:43:59:392 05C2A160 TriggerDataSent 952
23:43:59:531 >|250 Rename successful|
23:43:59:531 ! HighLevelAsync 0
23:43:59:531 ! HighLevelAsync done
23:44:00:250 Renaming done
23:44:00:250 End of upload of realtime.txt
23:44:42:256 05C2A160 TriggerDataSent 952
23:44:42:398 >|200 Type set to A|
23:44:43:256 Putting file
23:44:43:256 ! HighLevelAsync 0
23:44:43:256 05C2A160 TriggerDataSent 952
23:44:43:401 >|200 PORT command successful|
23:44:43:401 ! HighLevelAsync 0
23:44:43:401 05C2A920 TCustomWSocket.Shutdown 1 1112
23:44:44:256 Putting done
23:44:44:256 Renaming file
23:44:44:256 ! HighLevelAsync 0
23:44:44:257 05C2A160 TriggerDataSent 952
23:44:44:397 >|550 weather/realtime.txttmp: No such file or directory|
-
passero
- Posts: 5
- Joined: Wed 08 May 2013 10:43 pm
- Weather Station: Oregon Scientific WMR88
- Operating System: Windows 7
- Location: United Kingdom
Re: realtime.txt does not get uploaded
Tried by setting the interval to 10 seconds
Now it is successful every 60 seconds although the ftp logs are showing an entry for every 10 seconds.
Maybe this info can help?
Now it is successful every 60 seconds although the ftp logs are showing an entry for every 10 seconds.
Maybe this info can help?
- 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 does not get uploaded
I think it must be an issue at the server. If the ftp log shows the updates at the correct interval, and each upload looks exactly the same, it's hard to see how it could be anything else but a server issue. Perhaps there is some caching going on somewhere - can you give a link to your web site?
Steve