Thanks Geoff, I hadn't thought to give the rsync option a try.  I'll need 
to refresh myself on how to set it up since I haven't used it in a long 
time, but good idea.

It's still very strange to me that some of the products I'm trying to 
upload are still getting through every once in awhile.  If 1and1 deprecated 
a core functionality, then you would think it would be all of nothing,  and 
not partially working intermittently.  Who knows....   Anyway, thanks for 
the tip.  I'll report back if successful.

On Thursday, April 6, 2023 at 7:56:13 AM UTC-4 geoff...@gmail.com wrote:

> Pretty sure I saw this problem with ftp from weewx on RPi some time ago. 
>  It coincided with 1and1 deprecating ‘open’ ftp; as memory serves, RPi at 
> the time wouldn’t support the required flavour of secure ftp.
>
> I resolved the problem by using rsync to update my web pages.  It’s not 
> completely without problems - there are issues (I think) with server-side 
> caching, but, in general, it works ok.
>
> Hth
>
> Geoff
>
> On Thursday, 6 April 2023 at 01:28:25 UTC+1 Tom Keffer wrote:
>
>> Are you using secure_ftp?
>>
>> On Wed, Apr 5, 2023 at 3:34 PM Peter Neilley <nei...@charter.net> 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 weewx-user+...@googlegroups.com.
>>> 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f951749d-e030-4b6b-ac62-3d488d53864an%40googlegroups.com.

Reply via email to