ftpupload suddenly stopped working, but....

74 views
Skip to first unread message

Steve2Q

unread,
Jan 17, 2024, 9:55:16 PM1/17/24
to weewx-user
Last evening, my system stopped uploading to Dreamhost.

I get the following message in syslog: " ftpupload: Unable to connect or log into server : timed out"

I have checked my config file and my credentials are correct, and using the identical credentials I can use my terminal program (Putty) to successfully log into Dreamhost. I also have SteelGauges installed, and that is running OK.

My ISP did "maintenance" last night, and my IP address has changed, so I checked with support on Dreamhost, and they said my new IP has NOT been blocked. What further information can I supply so someone can give me some guidance? I am running Weewx v 3.8.2

Thanks

Tom Keffer

unread,
Jan 18, 2024, 7:47:28 AM1/18/24
to weewx...@googlegroups.com
It would be useful to know what the ISP means by "maintenance." Perhaps they require a secure form of FTP now?

If you have already been using FTPS, some server/Python combinations have issues supporting it. See the options secure_data and reuse_ssl in the User's Guide [[FTP]] section.


--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ea1a9c8c-7520-47e5-8d0e-e4e395bde924n%40googlegroups.com.

Steve2Q

unread,
Jan 18, 2024, 3:23:49 PM1/18/24
to weewx-user
Tom. I finally got a support tech who was able to solve the problem. Apparently Dreamhost has made some OS changes which can cause problems with FTP. I would like to change to SFTP,  but I am not sure  how to go about it. The options you referred to do not exist in my weewx.conf file, and I really don't want to upgrade as I don't want to break the Steel Gauges which took me a LONG time to get operating properly. Is there a guide to changing over to SFTP for a "legacy" version of Weewx. Is it as simple as changing secure_ftp to True, and port to 22?

The following is the {FTP} section of my weewx.conf file:
 [[FTP]]
        # FTP'ing the results to a webserver is treated as just another report,
        # albeit one with an unusual report generator!
        skin = Ftp
       
        # If you wish to use FTP, uncomment and fill out the next four lines.
        # Use quotes around passwords to guard against parsing errors.
        server = www.xxx
        path = xxx/yyy
        user = aaa
        password = bbb
                       
        # Set to True for an FTP over TLS (FTPS) connection. Not all servers
        # support this.
        secure_ftp = False
       
        # To upload files from something other than what HTML_ROOT is set
        # to above, specify a different HTML_ROOT here.
        #HTML_ROOT = public_html
       
        # Most FTP servers use port 21
        port = 21
       
        # Set to 1 to use passive mode, zero for active mode
        passive = 0

Thanks, Steve   

Reply all
Reply to author
Forward
Message has been deleted
0 new messages