In your weewx.conf file, set debug=2. This will give extra information about the FTP connection and, possibly, why, or at least, where, the problem is happening.
-tk On Fri, Dec 20, 2019 at 12:16 PM Neil S <[email protected]> wrote: > So it appears that my ISP has done something to the server that now > requires all connections to be secure (having problems with mail client as > well). > > However at the same time my Weewx stopped uploading to the server and the > logs report... > > Dec 20 18:35:48 pi-Weather weewx[5982]: ftpupload: Unable to connect or > log into server : 421-Sorry, cleartext sessions and weak ciph... server. > 421 Please reconnect using TLS > security mechanisms. > Dec 20 18:35:48 pi-Weather weewx[5982]: ftpupload: Unable to connect or > log into server : 421-Sorry, cleartext sessions and weak ciph... server. > 421 Please reconnect using TLS > security mechanisms. > Dec 20 18:35:48 pi-Weather weewx[5982]: ftpupload: Unable to connect or > log into server : 421-Sorry, cleartext sessions and weak ciph... server. > 421 Please reconnect using TLS > security mechanisms. > Dec 20 18:35:48 pi-Weather weewx[5982]: ftpupload: Attempted 3 times to > connect to server ftp.<removed for privacy>.co.uk. Giving up. > > > having searched the forum I have tried altering adding > > secure_ftp = True > > and also > secure_ftp = True > secure_data = False > > With suitable weewx restart. > > If I do either of the above I get > > Dec 20 18:21:16 pi-Weather weewx[5845]: ftpupload: Unable to connect or > log into server : [Errno 104] Connection reset by peer > Dec 20 18:21:16 pi-Weather weewx[5845]: ftpupload: Unable to connect or > log into server : [Errno 104] Connection reset by peer > Dec 20 18:21:16 pi-Weather weewx[5845]: ftpupload: Unable to connect or > log into server : [Errno 104] Connection reset by peer > Dec 20 18:21:16 pi-Weather weewx[5845]: ftpupload: Attempted 3 times to > connect to server ftp.<removed for privacy>.co.uk. Giving up. > Dec 20 18:21:16 pi-Weather weewx[5845]: ftpgenerator: ftp'd 0 files in > 0.29 seconds > > I have tried connecting to my web server using WinSCP and it failed until > I alter settings to TLS/SSL Explicit encryption (on port 21) at which point > it works. > > Any ideas what settings I need to change in the Weewx.conf [[FTP]] section > to get it to upload again? > > TIA > > Neil > > > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/8166e9b2-7093-4745-a2e2-c501e695e7a3%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/8166e9b2-7093-4745-a2e2-c501e695e7a3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEABOaj0fcqu__QFWfGKV-rAQE1sNt-SvqFSOQA7Xj6oZg%40mail.gmail.com.
