Buenos días:
No consigo que Weewx suba con FTP a nuevo hosting, a otro anterior subía sin problemas y con Filezilla también funciona. He releido un post anterior de "Samal" de abril de 2021 pero no hay manera.
Adjunto log de weewx:
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: ftpgenerator: (0): caught exception '<class 'socket.gaierror'>': [Errno -2] Nombre o servicio desconocido
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** Traceback (most recent call last):
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 331, in run
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** n = ftp_data.run()
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/home/weewx/bin/weeutil/ftpupload.py", line 133, in run
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** ftp_server.connect(self.server, self.port)
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** source_address=self.source_address)
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/usr/lib/python3.7/socket.py", line 707, in create_connection
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** socket.gaierror: [Errno -2] Nombre o servicio desconocido
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: ftpgenerator: (1): caught exception '<class 'socket.gaierror'>': [Errno -2] Nombre o servicio desconocido
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** Traceback (most recent call last):
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 331, in run
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** n = ftp_data.run()
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/home/weewx/bin/weeutil/ftpupload.py", line 133, in run
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** ftp_server.connect(self.server, self.port)
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** source_address=self.source_address)
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/usr/lib/python3.7/socket.py", line 707, in create_connection
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** socket.gaierror: [Errno -2] Nombre o servicio desconocido
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: ftpgenerator: (2): caught exception '<class 'socket.gaierror'>': [Errno -2] Nombre o servicio desconocido
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** Traceback (most recent call last):
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 331, in run
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** n = ftp_data.run()
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/home/weewx/bin/weeutil/ftpupload.py", line 133, in run
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** ftp_server.connect(self.server, self.port)
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** source_address=self.source_address)
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/usr/lib/python3.7/socket.py", line 707, in create_connection
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: **** socket.gaierror: [Errno -2] Nombre o servicio desconocido
Aug 18 07:25:39 raspberrypi weewx[16158] ERROR weewx.reportengine: ftpgenerator: Upload failed