Just to be clear: FTPS and SFTP are different things. WeeWX supports FTPS, but not SFTP. No matter, it looks like your ISP wants FTPS.
Hard to say, but I think you're getting hit by issue #284 <https://github.com/weewx/weewx/issues/284>. Try adding an option secure_data and setting it to false: [[FTP]] ... secure_ftp = True secure_data = False See if that helps. -tk On Fri, May 1, 2020 at 6:05 PM Ed Hainsworth <[email protected]> wrote: > So overnight my provider changed settings to SFTP. > > They said I would only need to enable SFTP: > > the error is due to an update made on our servers due to an attack that > was made on our FTP ports all connections will need to be made through FTPS > the port username password and host name are still the same as before but > you will need to switch the protocol to FTPS to allow it to connect over TLS > > I went into the conf file and enabled the secure ftp to true, now I get a > broken pipe error (this is only one of MANY): > > May 1 20:02:14 raspberrypi wee_reports[832] ERROR weeutil.ftpupload: > Attempt #1. Failed uploading /yearhumin.png to ftp.mydomain.com. Reason: > [Errno 32] Broken pipe > > > Running a report I get the following: > > $ sudo wee_reports > > Using configuration file /etc/weewx/weewx.conf > > Generating for all time > > Traceback (most recent call last): > > File "/usr/share/weewx/weewx/reportengine.py", line 326, in run > > n = ftp_data.run() > > File "/usr/share/weewx/weeutil/ftpupload.py", line 143, in run > > self._make_remote_dir(ftp_server, remote_dir_path) > > File "/usr/share/weewx/weeutil/ftpupload.py", line 240, in > _make_remote_dir > > raise IOError("Unable to create remote directory %s" % > remote_dir_path) > > OSError: Unable to create remote directory /font > > > During handling of the above exception, another exception occurred: > > > Traceback (most recent call last): > > File "/usr/share/weewx/weewx/reportengine.py", line 197, in run > > obj.start() > > File "/usr/share/weewx/weewx/reportengine.py", line 280, in start > > self.run() > > File "/usr/share/weewx/weewx/reportengine.py", line 327, in run > > except (socket.timeout, socket.gaierror, ftplib.all_errors, IOError) > as e: > > TypeError: catching classes that do not inherit from BaseException is not > allowed > > > I have gone so far as a fresh install of Buster and weewx 4 on a different > card, still getting the error. > > What am I missing? > > Thanks > > -- > 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/dca12922-6b68-4b56-b7d7-fcd83616df51%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/dca12922-6b68-4b56-b7d7-fcd83616df51%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/CAPq0zECqonvcak6eymvXbCmtBv1STne0NsY%2BbgXAjvP4npq%2BEA%40mail.gmail.com.
