Are you using secure_ftp? On Wed, Apr 5, 2023 at 3:34 PM Peter Neilley <[email protected]> wrote:
> Hi! I've been using weewx on a raspberrypi for many years including > uploading reports to an account on a cloud provider (1and1.com) to post > standard reports on my personal webpage. About 2 weeks ago I started > having problems with getting the reports uploaded to the cloud via the > weewx FTPgenerator process. Digging through log files, I'm getting > "connection refused" errors from the ftpGenerator process. I didn't make > any changes to weewx or the raspberrypi to trigger the errors, hence > suspect something changed on provider's side. > > But the issue is strange and I can't figure it out hence posting here even > though I suspect the issue is not weewx related. Since there's lots of > smart people here I thought I might get some ideas on how to solve it. > Here's some facts: > > 1. 95% of the products I'm trying to ftp from weewx to the cloud account > are not getting through. Mysteriously, a handful here and there do make it > through. > 2. I upgraded my rPi kernel to 4.19.x and weewx to 4.10.2 and no > improvement in the issue. > 3. I can manually ftp the products using the command line ftp program > supplied with rPi linux with no issues at all. Same if I use sftp or scp. > 4. I double checked my credentials in weewx.conf to make sure nothing was > wrong with those. But again, the fact that some products get through > suggests credentials are not the issue. > 3. log files in /var/log (both system.log and messages.log) indicate the > weewx ftpGenerator process is failing with a "connection refused" error > messages. > 4. I can reproduce the error if I manually start a python shell and try to > upload the files manually using ftplib in python. I'm using python 2.7 > > This is telling me something about a new incompatibility between the > python library in rPi linux and my cloud provider's FTP server is causing > the issue. But I haven't been able to figure it out. So wonder if anyone > here has any guesses and ideas. > > Thanks for your support. > > -- > 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/761a1bfa-3ba4-47a7-97e8-9096d708c06an%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/761a1bfa-3ba4-47a7-97e8-9096d708c06an%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/CAPq0zEDHjPP54Y5LT38Bj%3Da__%2Bdo5Qm44rWhyTM3e9FYm6cqmA%40mail.gmail.com.
