Page 1 of 1

FTP Host closing connection

Posted: Sat Nov 21, 2026 11:42 pm
by miraculon
Late yesterday, both the FTP and Meteobridge Weather Data stopped uploading. I have made no changes at the hosting service for my website.

I rebooted (even power down/restart) with no effect. MB Pro is running Meteobridge 6.4 (Nov 16 2026, build 15784), FW 1.4

2026-11-21 16:36:36 Error: 2026-11-21 16:35:52 Remote host has closed the connection. Remote host has closed the connection. Remote host has closed the connection. ncftpput: cannot open 109.106.250.144: remote host closed control connection. (no more tries):

Not sure how to resolve this. I don't see any setting the MB Pro for PASV setting. Why did this quit all of a sudden?

Greg

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 2:16 am
by Mattk
Has your hosting service made any changes to their system/servers?

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 5:30 pm
by miraculon
I'm going to investigate that today. I'll post what I find out.

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 5:58 pm
by miraculon
OK, I ran Core FTP and it complained about cleartext sessions and said to reconnect using TLS.

Code: Select all

220-IPv6 connections are also welcome on this server.  
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------  
220-You are user number 4 of 25 allowed.  
220-Local time is now 15:43. Server port: 21.  
220-This is a private system - No anonymous login  
220-IPv6 connections are also welcome on this server.  
220 You will be disconnected after 15 minutes of inactivity.  
USER rogersci  
421-Sorry, cleartext sessions and weak ciphers are not accepted on this server.  
421 Please reconnect using TLS security mechanisms.  
Unfortunately, I don't see how or where to set this.
421 Please reconnect using TLS security mechanisms.
I don't see the option in "Services Configuration".

Greg

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 6:17 pm
by miraculon
I checked this on two other web sites that I have and they both required TLS on Core FTP in order to work.

Greg

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 6:44 pm
by miraculon
Got this from their support AI:
That message confirms the FTP server is currently enforcing TLS:

`cleartext sessions ... are not accepted on this server`

So my earlier statement that plain FTP should work was incorrect for this service.

There is no site-level or FTP-account setting in cPanel to turn off this server-wide requirement. A Core FTP connection must use explicit FTP over TLS on port 21, but your device cannot connect because it has no TLS support.

Your practical options are:

Update or replace the device/software so it supports FTP over TLS.
Use SFTP on port 65002 if the device supports SFTP.
Transfer files through another system that supports TLS and then copy them to the site.
Run a self-managed FTP service where cleartext FTP can be configured, although that would expose the username, password, and files and is not recommended.

The error is not a username or password problem. It is a server security-policy rejection that occurs before the device can transfer files.

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 6:45 pm
by miraculon
I'm going to try the SFTP on port 65002.

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 7:06 pm
by miraculon
miraculon wrote: Sun Nov 22, 2026 6:45 pm I'm going to try the SFTP on port 65002.
Didn't work. Tried the SSH suggestion that it had too.

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 8:45 pm
by Rei_Studio
The TLS rejection you quoted is from an FTP connection; SFTP uses SSH instead. Could you post the exact error from your failed SFTP attempt? Please remove the username, password, host and IP address before sharing it.

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 10:02 pm
by miraculon
Rei_Studio wrote: Sun Nov 22, 2026 8:45 pm The TLS rejection you quoted is from an FTP connection; SFTP uses SSH instead. Could you post the exact error from your failed SFTP attempt? Please remove the username, password, host and IP address before sharing it.
The Upload Status reports under the FTP Upload:

2026-11-22 14:59:04 Error: 2026-11-22 14:59:03 Invalid reply: "SSH-2.0-OpenSSH_8.0" ncftpput: cannot open 109.106.250.144: invalid reply from server. (no more tries):

The SFTP test button results in:
Error: SFTP test upload failed: Couldn't read packet: Connection reset by peer


Greg

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 10:14 pm
by Rei_Studio
Can Core FTP connect in SSH/SFTP mode, rather than SSL/TLS, using the same host, port and login details as your Meteobridge SFTP test? Just check whether it connects, without transferring a file or changing the Meteobridge settings. If it fails too, please post the error with the username, password, host and IP address removed.

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 10:31 pm
by miraculon
Rei_Studio wrote: Sun Nov 22, 2026 10:14 pm Can Core FTP connect in SSH/SFTP mode, rather than SSL/TLS, using the same host, port and login details as your Meteobridge SFTP test? Just check whether it connects, without transferring a file or changing the Meteobridge settings. If it fails too, please post the error with the username, password, host and IP address removed.
No, Core FTP reported:
FTP connection error - Connection timed out
Can't establish connection --> 109.106.250.144:22 @ Sun Nov 22 15:30:07 2026 (10038-10060)

With SSH/SFTP mode.

Greg

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 10:36 pm
by Mattk
Updates to Ciphers have become a bug bare for simple FTP. I believe MBPro2 handles FTP/SFTP with updated Ciphers? To get around this have you checked the Test Proxy-SFTP. Some discussion here viewtopic.php?p=52841&hilit=Test+Proxy#p52841

Did you try Port 22 & SFTP?

Re: FTP Host closing connection

Posted: Sun Nov 22, 2026 10:58 pm
by miraculon
Port 22 times out, but port 21 says:
09.106.250.144 [21] connecting...
220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 3 of 25 allowed. 220-Local time is now 20:54. Server port: 21. 220-This is a private system - No anonymous login 220-IPv6 connections are also welcome on this server. 220 You will be disconnected after 15 minutes of inactivity.
SFTP connection error - The current connection has timeout
Can't establish connection --> 109.106.250.144:21 @ Sun Nov 22 15:55:06 2026 (10038-1460)
Then nothing past that.
Port 21 and Auth TLS opens up fine on Core FTP.

Greg