As broached in an unrelated thread, I am receiving errors every minute: "Error reconnecting ftp server".
After turning on FTP Logging as well as adding Logging=1 and DataLogging=1 to the cumulus.ini file, the new logs are attached.
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 4018) - 28 March 2024
Legacy Cumulus 1 release v1.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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.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 Connection Error
Moderator: mcrossley
-
- Posts: 159
- Joined: Sun 08 May 2016 9:11 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows Server 2019
- Location: Raleigh, NC
FTP Connection Error
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12694
- 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 Connection Error
I'd like you to update to the latest version of MX please.
Also I need to see the FTP log file.
Which FTP protocol are you using? The error indicates a problem at the server end though - it is closing the connection before it has finished establishing it.
Also I need to see the FTP log file.
Which FTP protocol are you using? The error indicates a problem at the server end though - it is closing the connection before it has finished establishing it.
-
- Posts: 159
- Joined: Sun 08 May 2016 9:11 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows Server 2019
- Location: Raleigh, NC
Re: FTP Connection Error
Good morning. Just updated to 3086. Both logs attached. Also, it's set to use just regular FTP.
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12694
- 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 Connection Error
I see it is trying to connect to an IPv6 address for your FTP server - is that expected?
You also have FTP Active mode enabled, any reason for that?
It could be a firewall on your computer or router blocking the FTP connection - you could try disabling Active mode as a test to see if that improves things.
You also have FTP Active mode enabled, any reason for that?
It could be a firewall on your computer or router blocking the FTP connection - you could try disabling Active mode as a test to see if that improves things.
-
- Posts: 159
- Joined: Sun 08 May 2016 9:11 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows Server 2019
- Location: Raleigh, NC
Re: FTP Connection Error
Hm, no idea why. IPv6 isn't even enabled in my environment.
I don't have a specific reason that I can recall as to why it is on. I'll turn it off and see if it helps. The local firewall on this server isn't blocking it, but maybe it's something related to my pfSense firewall. I'll look into it. Again, I don't have any need/reason to FTP data out of my network, but I still want to get rid of this error if possible.
-
- Posts: 159
- Joined: Sun 08 May 2016 9:11 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows Server 2019
- Location: Raleigh, NC
Re: FTP Connection Error
So, I disabled Active FTP and that made no difference. I turned on IPv6 on my firewall and setup DHCPv6 for my server. That also made no change. I then changed my IIS FTP binding from my servers local IPv4 address to a wildcard, and now I keep getting the below:
I'm starting to wonder if I should employ the "if it's not broke, don't fix it" strategy here
Code: Select all
2020-07-07 12:39:00.232 Writing log entry for 7/7/2020 12:39:00 PM
2020-07-07 12:39:00.261 Written log entry for 7/7/2020 12:39:00 PM
2020-07-07 12:39:00.262 Writing today.ini, LastUpdateTime = 7/7/2020 12:39:00 PM raindaystart = 20.89 rain counter = 20.89
2020-07-07 12:39:00.310 MySQL: Table Monthly_new 1 rows were affected.
2020-07-07 12:39:02.676 FTP[213]: Error renaming realtime.txttmp to realtime.txt : Cannot create a file when that file already exists.; Win32 error: Cannot create a file when that file already exists.; Error details: File system returned an error.; End
2020-07-07 12:39:32.500 FTP[214]: Error renaming realtime.txttmp to realtime.txt : Cannot create a file when that file already exists.; Win32 error: Cannot create a file when that file already exists.; Error details: File system returned an error.; End
- mcrossley
- Posts: 12694
- 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 Connection Error
OK, so yes MS will use IPv6 addresses on your local network by default, but your IIS wasn't bound to the IPv6 address.
Now, the error is saying IIS does not support file rename overwrites - so you will have to disable the "FTP Rename" option. If that still fails, then try that in combination with "Delete before upload". Or switch to using a decent FTP server
Now, the error is saying IIS does not support file rename overwrites - so you will have to disable the "FTP Rename" option. If that still fails, then try that in combination with "Delete before upload". Or switch to using a decent FTP server
-
- Posts: 159
- Joined: Sun 08 May 2016 9:11 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows Server 2019
- Location: Raleigh, NC
Re: FTP Connection Error
Yes, looks like disabling FTP Rename did it. Thanks for the help.