Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

FTP Connect Error 500 Again

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.
WxLee
Posts: 59
Joined: Wed 27 Aug 2014 2:56 pm
Weather Station: Davis Vantage Pro2/Vue
Operating System: Windows 7x64 SP1
Location: Northern OH - USA

FTP Connect Error 500 Again

Post by WxLee »

Found this morning:

10/11/2016 2:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 2:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 2:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 2:15:02 AM : FTP Connect Timeout
10/11/2016 2:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 2:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 2:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 2:30:02 AM : FTP Connect Timeout
10/11/2016 2:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 2:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 2:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 2:45:02 AM : FTP Connect Timeout
10/11/2016 3:00:01 AM : FTP Connect Error, Error code = 500
10/11/2016 3:00:01 AM : FTP Connect Error, Error code = 500
10/11/2016 3:00:01 AM : FTP Connect Error, Error code = 500
10/11/2016 3:00:02 AM : FTP Connect Timeout
10/11/2016 3:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 3:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 3:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 3:15:02 AM : FTP Connect Timeout
10/11/2016 3:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 3:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 3:30:02 AM : FTP Connect Error, Error code = 500
10/11/2016 3:30:02 AM : FTP Connect Timeout
10/11/2016 3:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 3:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 3:45:02 AM : FTP Connect Error, Error code = 500
10/11/2016 3:45:02 AM : FTP Connect Timeout
10/11/2016 4:00:01 AM : FTP Connect Error, Error code = 500
10/11/2016 4:00:02 AM : FTP Connect Error, Error code = 500
10/11/2016 4:00:02 AM : FTP Connect Error, Error code = 500
10/11/2016 4:00:02 AM : FTP Connect Timeout
10/11/2016 4:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 4:15:02 AM : FTP Connect Error, Error code = 500
10/11/2016 4:15:02 AM : FTP Connect Error, Error code = 500
10/11/2016 4:15:02 AM : FTP Connect Timeout
10/11/2016 4:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 4:45:02 AM : FTP Connect Error, Error code = 500
10/11/2016 4:45:02 AM : FTP Connect Error, Error code = 500
10/11/2016 4:45:02 AM : FTP Connect Timeout
10/11/2016 5:00:02 AM : FTP Connect Error, Error code = 500
10/11/2016 5:00:02 AM : FTP Connect Error, Error code = 500
10/11/2016 5:00:02 AM : FTP Connect Error, Error code = 500
10/11/2016 5:00:02 AM : FTP Connect Timeout
10/11/2016 5:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 5:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 5:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 5:15:01 AM : FTP Connect Timeout
10/11/2016 5:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 5:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 5:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 5:30:01 AM : FTP Connect Timeout
10/11/2016 5:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 5:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 5:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 5:45:01 AM : FTP Connect Timeout
10/11/2016 6:00:01 AM : FTP Connect Error, Error code = 500
10/11/2016 6:00:01 AM : FTP Connect Error, Error code = 500
10/11/2016 6:00:02 AM : FTP Connect Error, Error code = 500
10/11/2016 6:00:02 AM : FTP Connect Timeout
10/11/2016 6:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 6:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 6:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 6:15:02 AM : FTP Connect Timeout
10/11/2016 6:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 6:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 6:30:02 AM : FTP Connect Error, Error code = 500
10/11/2016 6:30:02 AM : FTP Connect Timeout
10/11/2016 6:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 6:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 6:45:02 AM : FTP Connect Error, Error code = 500
10/11/2016 6:45:02 AM : FTP Connect Timeout
10/11/2016 7:00:01 AM : FTP Connect Error, Error code = 500
10/11/2016 7:00:01 AM : FTP Connect Error, Error code = 500
10/11/2016 7:00:02 AM : FTP Connect Error, Error code = 500
10/11/2016 7:00:02 AM : FTP Connect Timeout
10/11/2016 7:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 7:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 7:15:02 AM : FTP Connect Error, Error code = 500
10/11/2016 7:15:02 AM : FTP Connect Timeout
10/11/2016 7:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 7:30:02 AM : FTP Connect Error, Error code = 500
10/11/2016 7:30:02 AM : FTP Connect Error, Error code = 500
10/11/2016 7:30:02 AM : FTP Connect Timeout
10/11/2016 7:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 7:45:02 AM : FTP Connect Error, Error code = 500
10/11/2016 7:45:02 AM : FTP Connect Error, Error code = 500
10/11/2016 7:45:02 AM : FTP Connect Timeout
10/11/2016 8:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 8:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 8:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 8:15:01 AM : FTP Connect Timeout
10/11/2016 8:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 8:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 8:30:01 AM : FTP Connect Error, Error code = 500
10/11/2016 8:30:02 AM : FTP Connect Timeout
10/11/2016 8:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 8:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 8:45:02 AM : FTP Connect Error, Error code = 500
10/11/2016 8:45:02 AM : FTP Connect Timeout
10/11/2016 9:00:01 AM : FTP Connect Error, Error code = 500
10/11/2016 9:00:02 AM : FTP Connect Error, Error code = 500
10/11/2016 9:00:02 AM : FTP Connect Error, Error code = 500
10/11/2016 9:00:02 AM : FTP Connect Timeout
10/11/2016 9:15:01 AM : FTP Connect Error, Error code = 500
10/11/2016 9:15:02 AM : FTP Connect Error, Error code = 500
10/11/2016 9:15:02 AM : FTP Connect Error, Error code = 500
10/11/2016 9:15:02 AM : FTP Connect Timeout
10/11/2016 9:30:02 AM : FTP Connect Error, Error code = 500
10/11/2016 9:30:02 AM : FTP Connect Error, Error code = 500
10/11/2016 9:30:02 AM : FTP Connect Error, Error code = 500
10/11/2016 9:30:02 AM : FTP Connect Timeout
10/11/2016 9:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 9:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 9:45:01 AM : FTP Connect Error, Error code = 500
10/11/2016 9:45:02 AM : FTP Connect Timeout
10/11/2016 10:00:01 AM : FTP Connect Error, Error code = 500
10/11/2016 10:00:01 AM : FTP Connect Error, Error code = 500
10/11/2016 10:00:02 AM : FTP Connect Error, Error code = 500
10/11/2016 10:00:02 AM : FTP Connect Timeout
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: FTP Connect Error 500 Again

Post by steve »

I've deleted the zero-length file and it's started uploading again. I don't really understand why the zero-length file causes a connect error, nor why it seems to happen to you in particular.

If someone can suggest a command I can run as a cron job to look for and delete the zero-length file periodically, I'd be happy to implement it.
Steve
User avatar
rogerthn
Posts: 516
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: FTP Connect Error 500 Again

Post by rogerthn »

Assuming Linux

Code: Select all

find -size 0 -exec rm -f {} \;
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: FTP Connect Error 500 Again

Post by steve »

Just to make sure it doesn't trample on a file currently being uploaded, would adding -mmin +1 to make sure it's at least a minute old work? And the crontab entry to do this for all of the directories under home, every 10 minutes would be:

Code: Select all

*/10 * * * * find /home -size 0 -mmin +1 -exec rm -f {} \;
Yes?
Steve
User avatar
rogerthn
Posts: 516
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: FTP Connect Error 500 Again

Post by rogerthn »

Looks OK
You could start with

Code: Select all

*/10 * * * * find /home -size 0 -mmin +1 -exec ls -l {} \; >> /tmp/list0files.log 2>&1
and once you're happy

Code: Select all

*/10 * * * * find /home -size 0 -mmin +1 -exec rm -fv {} \; >> /tmp/remove0files.log 2>&1
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: FTP Connect Error 500 Again

Post by steve »

Thanks, I'll give it a try.
Steve
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: FTP Connect Error 500 Again

Post by steve »

I added "-name *.?*tmp" to just catch the tmp files that Cumulus creates. Seems to work fine - thanks for your help.
Steve
WxLee
Posts: 59
Joined: Wed 27 Aug 2014 2:56 pm
Weather Station: Davis Vantage Pro2/Vue
Operating System: Windows 7x64 SP1
Location: Northern OH - USA

Re: FTP Connect Error 500 Again

Post by WxLee »

Thanks for looking into this. It seems to be working OK again. :)
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: FTP Connect Error 500 Again

Post by steve »

Hopefully when it happens again, it will sort itself out within 10 minutes or so.
Steve
WxLee
Posts: 59
Joined: Wed 27 Aug 2014 2:56 pm
Weather Station: Davis Vantage Pro2/Vue
Operating System: Windows 7x64 SP1
Location: Northern OH - USA

Re: FTP Connect Error 500 Again

Post by WxLee »

That should be reflected in the Error log, so I'll keep an eye on it and let you know if I see it. Thanks again!
User avatar
rogerthn
Posts: 516
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: FTP Connect Error 500 Again

Post by rogerthn »

I added "-name *.?*tmp" to just catch the tmp files that Cumulus creates. Seems to work fine - thanks for your help.
OK :D
NP 8-)
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: FTP Connect Error 500 Again

Post by mcrossley »

steve wrote:I've deleted the zero-length file and it's started uploading again. I don't really understand why the zero-length file causes a connect error
I think Cumulus starts a new session after each error, and runs into the server max. sessions per IP limit. Stopping Cumulus for 5 mins (or so) clears the error presumably as the sessions time out on the server, but if the zero length file is still there the error soon comes back.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: FTP Connect Error 500 Again

Post by steve »

Yes, that sounds reasonable - the failure causes the connection to be broken, so MX reconnects, but the server still regards the connection as valid until it times out.
Steve
WxLee
Posts: 59
Joined: Wed 27 Aug 2014 2:56 pm
Weather Station: Davis Vantage Pro2/Vue
Operating System: Windows 7x64 SP1
Location: Northern OH - USA

Re: FTP Connect Error 500 Again

Post by WxLee »

I can't get my website to open at all....endlessly tries. Is your server down?
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: FTP Connect Error 500 Again

Post by mcrossley »

My site is working OK - same server.
Post Reply