Yesterday morning June 11 05:48 AM suddenly the FTPS upload has stopped with an error saying:
Authentication failed because the remote party has closed the transport stream
I've contacted my provider Antagonist but they say it is an local firewall issue.
Strange because every port for this host is open in the firewall and at that time I was a sleep!
So nothing has changed.
I've tried to change the Advanced FTPS settings to active because Antogonist told me to do so but that also doesn't work.
Anyone an idea what is causing this error?
Dinant
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
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
Authentication failed because the remote party has closed the transport stream
Moderator: mcrossley
-
- Posts: 96
- Joined: Sat 17 Aug 2013 9:11 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 2012 R2
- Location: Markelo
- Contact:
Authentication failed because the remote party has closed the transport stream
You do not have the required permissions to view the files attached to this post.
- HansR
- Posts: 5957
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Authentication failed because the remote party has closed the transport stream
I had the same problem with Antagonist and said goodbye to FTP[ S ] and switched to SFTP which works fine.
The problem is somewhere between the server they use and the library used by CMX (FluentFTP). It is about re-use of secure connection.
Spending time trying to get to the root cause is not well spend unless you are trying to become an FTP specialist.
So my advise: switch to SFTP which is btw also the advise Antagonist gave me. They should update the info in their database.
The problem is somewhere between the server they use and the library used by CMX (FluentFTP). It is about re-use of secure connection.
Spending time trying to get to the root cause is not well spend unless you are trying to become an FTP specialist.
So my advise: switch to SFTP which is btw also the advise Antagonist gave me. They should update the info in their database.
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 96
- Joined: Sat 17 Aug 2013 9:11 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 2012 R2
- Location: Markelo
- Contact:
Re: Authentication failed because the remote party has closed the transport stream
Question about the SFTP configuration in CumulusMX.
First you choose 2 - Use SSH for FTP, Port 22
And then SFTP authentication method: Pre-shared key?
Then the Pre-shared Private Key file for SFTP. I understand. Remark: The Private/Public is only valid for max of 1 year!
Did you also enter the username in the username field?
-
- Posts: 96
- Joined: Sat 17 Aug 2013 9:11 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 2012 R2
- Location: Markelo
- Contact:
Re: Authentication failed because the remote party has closed the transport stream
@Mark:
Last night CumulusMX was running with a lot of SFTP errors.
Today there is another error saying: Too many open files. The upload to the third party sites has stopped.
Normally CumulusMX is running very steady without errors,
Because of the SFTP errors I think some files were not closed.
This probably produces those errors.
Last night CumulusMX was running with a lot of SFTP errors.
Today there is another error saying: Too many open files. The upload to the third party sites has stopped.
Code: Select all
2021-06-12 11:36:00.132 DoLogFile: Writing log entry for 6/12/2021 11:36:00 AM
2021-06-12 11:36:00.132 DoLogFile: Written log entry for 6/12/2021 11:36:00 AM
2021-06-12 11:36:00.132 Writing today.ini, LastUpdateTime = 6/12/2021 11:36:00 AM raindaystart = 251.8 rain counter = 251.8
2021-06-12 11:36:20.746 Realtime[181]: Uploading - realtime.txt
2021-06-12 11:36:20.791 FTP[181]: Error uploading realtime.txt to /weer/cumulus/realtime.txt : Authentication failed because the remote ...
2021-06-12 11:36:48.723 GetWllCurrent: Error processing WLL response
2021-06-12 11:36:48.723 GetWllCurrent: Error: Too many open files
2021-06-12 11:36:49.723 GetWllCurrent: Error processing WLL response
2021-06-12 11:36:49.723 GetWllCurrent: Error: Too many open files
2021-06-12 11:37:00.136 DoLogFile: Writing log entry for 6/12/2021 11:37:00 AM
2021-06-12 11:37:18.723 GetWllCurrent: Error processing WLL response
2021-06-12 11:37:18.723 GetWllCurrent: Error: Too many open files
2021-06-12 11:37:19.723 GetWllCurrent: Error processing WLL response
2021-06-12 11:37:19.723 GetWllCurrent: Error: Too many open files
2021-06-12 11:37:19.740 Error encountered during Realtime file update.
2021-06-12 11:37:19.740 Too many open files
Because of the SFTP errors I think some files were not closed.
This probably produces those errors.
-
- Posts: 96
- Joined: Sat 17 Aug 2013 9:11 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 2012 R2
- Location: Markelo
- Contact:
Re: Authentication failed because the remote party has closed the transport stream
@Hans R:
Yes! Now it works with SFTP.
For the Dutch provider Antagonist you have to enter the following Internet settings :
https://www.antagonist.nl/help/nl/webho ... _verbinden
Yes! Now it works with SFTP.
For the Dutch provider Antagonist you have to enter the following Internet settings :
- Hostname: <hostname of the web server>
- FTP protocol: 2 - Use SSH for FTP (SFTP)
- FTP port: 22
- SFTP Authentication method: Pre-shared key
- Pre-shared private key file: private in the format which starts with the line "-----BEGIN RSA PRIVATE KEY-----"
In Putty Key Generator under conversions choose "Export OPENSSH key" to export the public key in the right format.
- Remote FTP directory: <directory where the Cumulus website is located> Starts with /home/deb123456/domains/<domain>/public_html/...
- Username: deb123456 username. Important: It only works with the main user account for the domain
- Password: password of the deb123456 user. The password is not needed for Antogonist but in CumulusMX it is a mandatory field.
https://www.antagonist.nl/help/nl/webho ... _verbinden
- HansR
- Posts: 5957
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Authentication failed because the remote party has closed the transport stream
Good it works for you.
We'll see.
I was told you could renew the same key...
We'll see.
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3