FTP errors

158 views
Skip to first unread message

ewhain...@gmail.com

unread,
Mar 3, 2022, 11:35:37 AM3/3/22
to weewx-user
Can anyone decipher what is wrong here? all of a sudden I stopped uploading via FTP. I did an update and upgrade, (re)entered my FTP info but keep getting the errors listed below:

Mar  3 11:31:01 weatherpi weewx[10681] DEBUG weewx.reportengine: Running report 'FTP'
Mar  3 11:31:01 weatherpi weewx[10681] DEBUG weewx.drivers.acurite: next read in 18 seconds
Mar  3 11:31:01 weatherpi weewx[10681] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Mar  3 11:31:02 weatherpi weewx[10681] DEBUG weewx.reportengine: Cannot read localization file /etc/weewx/skins/Ftp/lang/en.conf for report 'FTP': Config file not found: "/etc/weewx/skins/Ftp/lang/en.conf".
Mar  3 11:31:02 weatherpi weewx[10681] DEBUG weewx.reportengine: **** Using defaults instead.
Mar  3 11:31:02 weatherpi weewx[10681] DEBUG weeutil.ftpupload: Attempting connection to ftp.great-bay.com
Mar  3 11:31:02 weatherpi weewx[10681] DEBUG weeutil.ftpupload: FTP encoding not supported, ignoring.
Mar  3 11:31:19 weatherpi weewx[10681] DEBUG weewx.drivers.acurite: Found station at bus= device=
Mar  3 11:31:20 weatherpi weewx[10681] DEBUG weewx.drivers.acurite: next read in 17 seconds
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine: ftpgenerator: (0): caught exception '<class 'socket.timeout'>': timed out
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 429, in run
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 165, in run
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      ftp_server.connect(self.server, self.port)
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      source_address=self.source_address)
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 727, in create_connection
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      raise err
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 716, in create_connection
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      sock.connect(sa)
Mar  3 11:31:22 weatherpi weewx[10681] ERROR weewx.reportengine:         ****  socket.timeout: timed out
Mar  3 11:31:22 weatherpi weewx[10681] DEBUG weeutil.ftpupload: Attempting connection to ftp.great-bay.com
Mar  3 11:31:22 weatherpi weewx[10681] DEBUG weeutil.ftpupload: FTP encoding not supported, ignoring.
Mar  3 11:31:37 weatherpi weewx[10681] DEBUG weewx.drivers.acurite: Found station at bus= device=
Mar  3 11:31:37 weatherpi weewx[10681] DEBUG weewx.drivers.acurite: next read in 6 seconds
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine: ftpgenerator: (1): caught exception '<class 'socket.timeout'>': timed out
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 429, in run
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 165, in run
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      ftp_server.connect(self.server, self.port)
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      source_address=self.source_address)
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 727, in create_connection
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      raise err
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 716, in create_connection
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      sock.connect(sa)
Mar  3 11:31:42 weatherpi weewx[10681] ERROR weewx.reportengine:         ****  socket.timeout: timed out
Mar  3 11:31:42 weatherpi weewx[10681] DEBUG weeutil.ftpupload: Attempting connection to ftp.great-bay.com
Mar  3 11:31:42 weatherpi weewx[10681] DEBUG weeutil.ftpupload: FTP encoding not supported, ignoring.
Mar  3 11:31:43 weatherpi weewx[10681] DEBUG weewx.drivers.acurite: Found station at bus= device=
Mar  3 11:31:43 weatherpi weewx[10681] DEBUG weewx.drivers.acurite: next read in 18 seconds
Mar  3 11:32:01 weatherpi weewx[10681] DEBUG weewx.drivers.acurite: Found station at bus= device=
Mar  3 11:32:01 weatherpi weewx[10681] DEBUG weewx.drivers.acurite: next read in 18 seconds
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine: ftpgenerator: (2): caught exception '<class 'socket.timeout'>': timed out
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 429, in run
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 165, in run
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      ftp_server.connect(self.server, self.port)
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      source_address=self.source_address)
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 727, in create_connection
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      raise err
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 716, in create_connection
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine:         ****      sock.connect(sa)
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine:         ****  socket.timeout: timed out
Mar  3 11:32:02 weatherpi weewx[10681] ERROR weewx.reportengine: ftpgenerator: Upload failed

Thanks!

Tom Keffer

unread,
Mar 3, 2022, 11:42:56 AM3/3/22
to weewx-user
What happens if you try to connect from the command line using the utility 'fpt'?




--
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/8e44b526-c3e4-4608-9280-29d797b983f3n%40googlegroups.com.

ewhain...@gmail.com

unread,
Mar 3, 2022, 11:51:09 AM3/3/22
to weewx-user
pi@weatherpi:~ $ ftp great-bay.com
ftp: connect: Connection timed out
ftp>

Tom Keffer

unread,
Mar 3, 2022, 3:33:29 PM3/3/22
to weewx...@googlegroups.com
Whatever problem you’re having it’s not with WeeWX. It may be a firewall problem, or it’s possible your provider is no longer in business.

--
-tk
Reply all
Reply to author
Forward
0 new messages