Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024

(Note that 4.1.0 (build 4024) - 05 June 2024 remains available, but usage of this version is not recommended - particularly for Davis stations - and the included utility in this distribution for migrating to v4 is known to contain errors affecting conversion of dayfile.txt)

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

FTP Upload error not emailed

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
mrrickau
Posts: 12
Joined: Tue 30 Jan 2024 3:53 am
Weather Station: Ecowitt Wittboy
Operating System: Linux

FTP Upload error not emailed

Post by mrrickau »

I stumbled across the fact the files hadn't been FTPing for a couple of hours this morning and restarted my VPS and Cumulus and its fine now, however I wasn;t alerted to this via email even though I have "Web upload errors" alarm turned on ?

Code: Select all

2024-02-09 10:46:44.266 RealtimeReconnect: Error reconnecting ftp server - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
2024-02-09 10:46:44.266 RealtimeReconnect: Realtime ftp attempting to reinitialise the connection
2024-02-09 10:46:44.266 RealtimeSSHLogin: Attempting realtime SFTP connect to host mail.rra.au on port 2212
2024-02-09 10:46:44.326 RealtimeReconnect: Realtime ftp attempting disconnect
2024-02-09 10:46:44.326 RealtimeReconnect: Realtime ftp disconnected
2024-02-09 10:46:44.326 RealtimeReconnect: Realtime ftp attempting to reconnect
2024-02-09 10:46:53.108 RealtimeReconnect: Error reconnecting ftp server - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
2024-02-09 10:46:53.108 RealtimeReconnect: Realtime ftp attempting to reinitialise the connection
2024-02-09 10:46:53.108 RealtimeSSHLogin: Attempting realtime SFTP connect to host mail.rra.au on port 2212
2024-02-09 10:47:05.294 RealtimeSSHLogin: Error connecting SFTP - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
2024-02-09 10:47:05.294 RealtimeReconnect: Realtime ftp connection failed to connect after reinitialisation
2024-02-09 10:47:05.294 RealtimeReconnect: Sleeping for 20 seconds before trying again...
2024-02-09 10:47:05.294 RealtimeReconnect: Error reconnecting ftp server - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
2024-02-09 10:47:05.294 RealtimeReconnect: Realtime ftp attempting to reinitialise the connection
2024-02-09 10:47:05.294 RealtimeSSHLogin: Attempting realtime SFTP connect to host mail.rra.au on port 2212
2024-02-09 10:47:14.143 RealtimeReconnect: Error reconnecting ftp server - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
2024-02-09 10:47:14.143 RealtimeReconnect: Realtime ftp attempting to reinitialise the connection
2024-02-09 10:47:14.143 RealtimeSSHLogin: Attempting realtime SFTP connect to host mail.rra.au on port 2212
2024-02-09 10:47:25.308 RealtimeReconnect: Realtime ftp attempting disconnect
2024-02-09 10:47:25.308 RealtimeReconnect: Realtime ftp disconnected
2024-02-09 10:47:25.308 RealtimeReconnect: Realtime ftp attempting to reconnect
2024-02-09 10:47:26.326 RealtimeSSHLogin: Error connecting SFTP - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
2024-02-09 10:47:26.326 RealtimeSSHLogin: Error connecting SFTP - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
2024-02-09 10:47:26.326 RealtimeReconnect: Realtime ftp connection failed to connect after reinitialisation
2024-02-09 10:47:26.326 RealtimeReconnect: Sleeping for 20 seconds before trying again...
2024-02-09 10:47:26.326 RealtimeReconnect: Realtime ftp connection failed to connect after reinitialisation
2024-02-09 10:47:26.326 RealtimeReconnect: Sleeping for 20 seconds before trying again...
User avatar
mcrossley
Posts: 12966
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 Upload error not emailed

Post by mcrossley »

Can you zip and attach the log file please
mrrickau
Posts: 12
Joined: Tue 30 Jan 2024 3:53 am
Weather Station: Ecowitt Wittboy
Operating System: Linux

Re: FTP Upload error not emailed

Post by mrrickau »

Unfortunately I don't have the logfile anymore, but it was something to do with root certificates or similar - nothing in Cumulus, but I would of expected that

"2024-02-09 10:47:05.294 RealtimeSSHLogin: Error connecting SFTP - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"

error would trigger the FTP warning email?
User avatar
mcrossley
Posts: 12966
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 Upload error not emailed

Post by mcrossley »

OK, without the log file it is difficult to say why you didn't get the email. Possibly the internet was down at the time of first failure so the email send failed?

The alarm is triggered when the reconnection process starts.

It looks like something has gone wrong with the reconnection process in your instance, it looks like two processes are running together and interfering with each other and cancelling each other's connections. (I may have said it before, I loath the FTP processes. I really need to sit down reorganise how they work).
Post Reply