Can you FTP using Filezilla? The goal here is to see if it's some firewall / network/ provider issue, or a problem peculiar to the Python FTP library.
On Sun, Jan 17, 2021 at 10:04 AM Rich Strle <[email protected]> wrote: > My bad, the ftp in whew still doesn't work. The Access Point only has an > IPv6 number listed, it doesn't have an IPv4 number listed. My website > provider only allows 1 sftp account at the root level and I was trying to > avoid using that. > > On Sunday, January 17, 2021 at 11:41:18 AM UTC-6 Rich Strle wrote: > >> I spoke with t-mobile again. They didn't say they did anything but all of >> a sudden ftp started working. I will continue to monitor. >> >> On Sunday, January 17, 2021 at 10:50:19 AM UTC-6 galfert wrote: >> >>> Anyone care to google "T-Mobile FTP" ???? You'll see that this is an >>> issue for everyone! My recommendation is to try to instead use SFTP. >>> >>> >>> On Sunday, January 17, 2021 at 11:41:25 AM UTC-5 Rich Strle wrote: >>> >>>> I did as instructed. Attached is the log file after I made the change. >>>> I have a call into my provider to see if they are IPV6. >>>> >>>> >>>> >>>> On Sunday, January 17, 2021 at 10:17:33 AM UTC-6 [email protected] >>>> wrote: >>>> >>>>> You definitely want passive mode (passive=1). >>>>> >>>>> Two things: >>>>> >>>>> 1. By any chance, is your new provider using IPV6 (instead of >>>>> the traditional IPV4)? >>>>> >>>>> 2. Set debug=2 in weewx.conf, then retry. This will put lots of >>>>> information in the log about what FTP is doing. >>>>> >>>>> -tk >>>>> >>>>> On Sun, Jan 17, 2021 at 7:46 AM Rich Strle <[email protected]> wrote: >>>>> >>>>>> Thanks for your response David but that didn't fix my issue. >>>>>> >>>>>> It was set at 1. I stopped the weewx process, set the ftp to 0, >>>>>> restarted weewx and it did not help. I changed it back to 1. >>>>>> >>>>>> On Sunday, January 17, 2021 at 6:21:02 AM UTC-6 [email protected] >>>>>> wrote: >>>>>> >>>>>>> Check out http://weewx.com/docs/usersguide.htm#config_FTP and look >>>>>>> to add/adjust the passive setting in your weewx.conf config. >>>>>>> >>>>>>> David >>>>>>> >>>>>>> On Saturday, January 16, 2021 at 10:11:56 PM UTC-5 Rich Strle wrote: >>>>>>> >>>>>>>> I changed out my internet provider to t-mobile home internet >>>>>>>> service and now I'm getting ftp errors. I tried connecting to the ftp >>>>>>>> from >>>>>>>> another computer and that worked. When my raspberry pi tries to >>>>>>>> connect I >>>>>>>> get errors. This was working fine before I switched providers. Any >>>>>>>> ideas? >>>>>>>> >>>>>>>> Jan 16 21:01:25 pi-weather weewx[30706] DEBUG weeutil.ftpupload: >>>>>>>> Attempting connection to www.cliffandbuster.com >>>>>>>> Jan 16 21:01:26 pi-weather weewx[30706] DEBUG weeutil.ftpupload: >>>>>>>> Connected to www.cliffandbuster.com >>>>>>>> Jan 16 21:01:26 pi-weather weewx[30706] ERROR weeutil.ftpupload: >>>>>>>> Failed uploading /var/www/html/weewx/seasons.css to server >>>>>>>> www.cliffandbuster.com. Reason: '229 Extended Passive Mode Entered >>>>>>>> (|||50207|)' >>>>>>>> Jan 16 21:01:27 pi-weather weewx[30706] ERROR weewx.reportengine: >>>>>>>> ftpgenerator: (1): caught exception '<class 'ftplib.error_reply'>': 229 >>>>>>>> Extended Passive Mode Entered (|||50207|) >>>>>>>> Jan 16 21:01:27 pi-weather weewx[30706] ERROR weewx.reportengine: >>>>>>>> **** Traceback (most recent call last): >>>>>>>> Jan 16 21:01:27 pi-weather weewx[30706] ERROR weewx.reportengine: >>>>>>>> **** File "/usr/share/weewx/weewx/reportengine.py", line >>>>>>>> 331, in >>>>>>>> run >>>>>>>> Jan 16 21:01:27 pi-weather weewx[30706] ERROR weewx.reportengine: >>>>>>>> **** n = ftp_data.run() >>>>>>>> >>>>>>>> -- >>>>>> 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/ba3b1d83-b48b-4578-b7a5-85b3fe2e4fden%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/weewx-user/ba3b1d83-b48b-4578-b7a5-85b3fe2e4fden%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/08999a97-41a4-4436-b59d-2f8793532fb6n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/08999a97-41a4-4436-b59d-2f8793532fb6n%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/CAPq0zED9vtwAmxNWNMnj0O%2BE7QwrG670pT0Ncp7BTiDz0HOa6A%40mail.gmail.com.
