ftp issues

40 views
Skip to first unread message

Alan Jackson

unread,
Mar 19, 2023, 7:01:34 PM3/19/23
to weewx-user
Realized I hadn't been updating my website for about a week, so went into debug mode, and got the following messages in the log:

Mar 19 17:26:05 carina weewx[824014] DEBUG weeutil.ftpupload: Attempting connection to ajackson.org
Mar 19 17:26:15 carina weewx[824014] ERROR weewx.reportengine: ftpgenerator: (2): caught exception '<class 'socket.gaierror'>': [Errno -3] Temporary failure in name resolution
Mar 19 17:26:15 carina weewx[824014] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Mar 19 17:26:15 carina weewx[824014] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
Mar 19 17:26:15 carina weewx[824014] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Mar 19 17:26:15 carina weewx[824014] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 133, in run
Mar 19 17:26:15 carina weewx[824014] ERROR weewx.reportengine:         ****      ftp_server.connect(self.server, self.port)
Mar 19 17:26:15 carina weewx[824014] ERROR weewx.reportengine:         ****    File "/usr/lib/python2.7/ftplib.py", line 135, in connect
Mar 19 17:26:15 carina weewx[824014] ERROR weewx.reportengine:         ****      self.sock = socket.create_connection((self.host, self.port), self.timeout)
Mar 19 17:26:15 carina weewx[824014] ERROR weewx.reportengine:         ****    File "/usr/lib/python2.7/socket.py", line 557, in create_connection
Mar 19 17:26:15 carina weewx[824014] ERROR weewx.reportengine:         ****      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Mar 19 17:26:15 carina weewx[824014] ERROR weewx.reportengine:         ****  gaierror: [Errno -3] Temporary failure in name resolution

and then later :

Mar 19 17:55:49 carina weewx[824014] DEBUG weewx.reportengine: Running report 'FTP'
Mar 19 17:55:49 carina weewx[824014] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Mar 19 17:55:49 carina weewx[824014] DEBUG weeutil.ftpupload: Attempting connection to ajackson.org
Mar 19 17:55:49 carina weewx[824014] DEBUG weeutil.ftpupload: Connected to ajackson.org
Mar 19 17:55:50 carina weewx[824014] INFO weewx.reportengine: ftpgenerator: Ftp'd 0 files in 1.40 seconds
------------------------------

I'm running weewx 4.5.1-1 on Ubuntu 20.04.5 LTS and Python 3.8.10

I don't understand what might have changed, especially since the last good ftp occurred at 3 AM, so I know I wasn't doing anything then. Anyway, any clues would be appreciated. I am stymied.

Alan

Alan Jackson

unread,
Mar 19, 2023, 7:34:15 PM3/19/23
to weewx-user
Never mind, it is an upstream data issue.
Reply all
Reply to author
Forward
0 new messages