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

Recovering from an FTP 421 error

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Recovering from an FTP 421 error

Post by daj »

I am posting this on behalf of user 'meteotortosa' as his English is not too good but he wished to ask a question....I can then follow up with him in Spanish once we have discussed it.......

Sometimes in Cumulus I receive an "FTP Error 421" but once the problem has been solved I have to restart Cumulus. If I do not my website is not updated. It is possible that Cumulus could detect these errors and recover without a restart
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
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: Recovering from an FTP 421 error

Post by daj »

(speaking as myself now!)....

I understand an error 421 to be connection related -- usually that the server can take no more connections.

However, I assumed that Cumulus would simply try again at the next update interval. I have never had a 421 but I do get occasional other FTP errors and Cumulus recovers. Has anyone else had a '421' problem?
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
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: Recovering from an FTP 421 error

Post by steve »

Cumulus does detect connection errors, retries 3 times, and then gives up until next time. It's possible that the error isn't reported in the way that it expects, and somehow gets stuck thinking it's already doing a web update when the next upload is due. I'd need to see the ftp log and the debug log.
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: Recovering from an FTP 421 error

Post by daj »

thanks - I will ask for the log files to be posted
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
meteotortosa
Posts: 323
Joined: Thu 04 Dec 2008 12:15 am
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows XP SP3
Location: Tortosa-Baix Ebre- Catalonia
Contact:

Re: Recovering from an FTP 421 error

Post by meteotortosa »

A lot of thanks daj and steve....
;)

I'm waiting for the next FTP error... :?
Weather in Tortosa (NE Spain), updated every 15'
Image Image
User avatar
meteotortosa
Posts: 323
Joined: Thu 04 Dec 2008 12:15 am
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows XP SP3
Location: Tortosa-Baix Ebre- Catalonia
Contact:

Re: Recovering from an FTP 421 error

Post by meteotortosa »

Webupdate go down at 03:03:55 UTC and now is 06:03 UTC and my web isn't update...I've to restart Cumulus
:evil:

I can't upload the files, they are too big (> 5Mb), where can I send it?

A lot of thanks

Lluís
Weather in Tortosa (NE Spain), updated every 15'
Image Image
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: Recovering from an FTP 421 error

Post by steve »

Send them to steve@sandaysoft.com, please.
Steve
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: Recovering from an FTP 421 error

Post by steve »

I've looked at the logs and I can't see a problem. Cumulus is logging in and succesfully transferring files all the way through the logs, so I'm afraid I have no idea what the problem is.
Steve
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: Recovering from an FTP 421 error

Post by steve »

I've looked at your web site, and it's non-standard, so I don't know how it works. Is it actually all driven from the realtime.txt file? You sent me the normal ftp log and not the realtime log, so I assumed the problem was not with the realtime ftp. But the debug log shows the realtime ftp apparently working OK anyway.
Steve
Post Reply