Hello,
My weewx 4.10.2 with python 3.10.12 seems to be running fine but stopped 
FTPing files to the server on godaddy.com. I only noticed this today as I 
usually just look at the local weewx computer. Upload is to grattans.org/wx
I uploaded some files with filezilla today so I'm sure the password hasn't 
changes.
Below are some sections of the log. I can send more if needed.  Thanks in 
advance.
Bob
================================
from weewx.conf
================================
 [[FTP]]
        # FTP'ing the results to a webserver is treated as just another 
report,
        # albeit one with an unusual report generator!
        skin = Ftp

        # Set to True for a secure FTP (SFTP) connection. Not all servers
        # support this.
        secure_ftp = False    #True

        # 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 = 1

        # If you wish to use FTP, uncomment and fill out the next four 
lines.
        user = *****    
        password = *****
        server = grattans.org

        path = /public_html/weewx    #/weewx
======================================================
FTP suddenly stops
======================================================
Dec  6 09:45:39 n4mrv weewx[389284] INFO weewx.reportengine: ftpgenerator: 
Ftp'd 72 files in 20.90 seconds
Dec  6 10:00:42 n4mrv weewx[389284] INFO weewx.reportengine: ftpgenerator: 
Ftp'd 85 files in 23.63 seconds
Dec  6 10:15:39 n4mrv weewx[389284] INFO weewx.reportengine: ftpgenerator: 
Ftp'd 71 files in 21.36 seconds
Dec  6 10:30:38 n4mrv weewx[389284] INFO weewx.reportengine: ftpgenerator: 
Ftp'd 72 files in 20.38 seconds
Dec  6 10:45:39 n4mrv weewx[389284] INFO weewx.reportengine: ftpgenerator: 
Ftp'd 72 files in 20.51 seconds
Dec  6 11:00:43 n4mrv weewx[389284] INFO weewx.reportengine: ftpgenerator: 
Ftp'd 85 files in 24.66 seconds
Dec  6 11:15:30 n4mrv weewx[389284] ERROR weewx.reportengine: ftpgenerator: 
(0): caught exception '<class 'socket.gaierror'>': [Errno -3] Temporary 
failure in name resolution
Dec  6 11:15:30 n4mrv weewx[389284] ERROR weewx.reportengine:         **** 
     n = ftp_data.run()
Dec  6 11:15:30 n4mrv weewx[389284] ERROR weewx.reportengine:         **** 
   File "/home/weewx/bin/weeutil/ftpupload.py", line 175, in run
Dec  6 11:15:30 n4mrv weewx[389284] ERROR weewx.reportengine:         **** 
     ftp_server.connect(self.server, self.port)
Dec  6 11:15:30 n4mrv weewx[389284] ERROR weewx.reportengine:         **** 
   File "/usr/lib/python3.10/ftplib.py", line 158, in connect
Dec  6 11:15:42 n4mrv weewx[389284] ERROR weewx.reportengine: ftpgenerator: 
(1): caught exception '<class 'socket.gaierror'>': [Errno -3] Temporary 
failure in name resolution
Dec  6 11:15:42 n4mrv weewx[389284] ERROR weewx.reportengine:         **** 
     n = ftp_data.run()
Dec  6 11:15:42 n4mrv weewx[389284] ERROR weewx.reportengine:         **** 
   File "/home/weewx/bin/weeutil/ftpupload.py", line 175, in run
Dec  6 11:15:42 n4mrv weewx[389284] ERROR weewx.reportengine:         **** 
     ftp_server.connect(self.server, self.port)
Dec  6 11:15:42 n4mrv weewx[389284] ERROR weewx.reportengine:         **** 
   File "/usr/lib/python3.10/ftplib.py", line 158, in connect
Dec  6 11:15:54 n4mrv weewx[389284] ERROR weewx.reportengine: ftpgenerator: 
(2): caught exception '<class 'socket.gaierror'>': [Errno -3] Temporary 
failure in name resolution
more 
===============================================================
latest log section with debug=1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Dec  7 05:30:35 n4mrv weewx[1152] ERROR weewx.reportengine: ftpgenerator: 
(2): caught exception '<class 'socket.gaierror'>': [Errno -3] Temporary 
failure in name resolution
Dec  7 05:30:35 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
   n = ftp_data.run()
Dec  7 05:30:35 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/weeutil/ftpupload.py", line 175, in run
Dec  7 05:30:35 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
   ftp_server.connect(self.server, self.port)
Dec  7 05:30:35 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
 File "/usr/lib/python3.10/ftplib.py", line 158, in connect
Dec  7 05:30:35 n4mrv weewx[1152] ERROR weewx.reportengine: ftpgenerator: 
Upload failed
Dec  7 05:45:23 n4mrv weewx[1152] ERROR weewx.reportengine: ftpgenerator: 
(0): caught exception '<class 'socket.gaierror'>': [Errno -3] Temporary 
failure in name resolution
Dec  7 05:45:23 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
   n = ftp_data.run()
Dec  7 05:45:23 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/weeutil/ftpupload.py", line 175, in run
Dec  7 05:45:23 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
   ftp_server.connect(self.server, self.port)
Dec  7 05:45:23 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
 File "/usr/lib/python3.10/ftplib.py", line 158, in connect
Dec  7 05:45:29 n4mrv weewx[1152] ERROR weewx.reportengine: ftpgenerator: 
(1): caught exception '<class 'socket.gaierror'>': [Errno -3] Temporary 
failure in name resolution
Dec  7 05:45:29 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
   n = ftp_data.run()
Dec  7 05:45:29 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/weeutil/ftpupload.py", line 175, in run
Dec  7 05:45:29 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
   ftp_server.connect(self.server, self.port)
Dec  7 05:45:29 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
 File "/usr/lib/python3.10/ftplib.py", line 158, in connect
Dec  7 05:45:35 n4mrv weewx[1152] ERROR weewx.reportengine: ftpgenerator: 
(2): caught exception '<class 'socket.gaierror'>': [Errno -3] Temporary 
failure in name resolution
Dec  7 05:45:35 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
   n = ftp_data.run()
Dec  7 05:45:35 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/weeutil/ftpupload.py", line 175, in run
Dec  7 05:45:35 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
   ftp_server.connect(self.server, self.port)
Dec  7 05:45:35 n4mrv weewx[1152] ERROR weewx.reportengine:         ****   
 File "/usr/lib/python3.10/ftplib.py", line 158, in connect
Dec  7 05:45:35 n4mrv weewx[1152] ERROR weewx.reportengine: ftpgenerator: 
Upload failed
grep: (standard input): binary file matches

-- 
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/a41c7e47-4f35-42c3-ae6a-5f67bd4c2f77n%40googlegroups.com.

Reply via email to