1. How about some more details? In particular, could we see the [[FTP]] section of weewx.conf? Be sure to obfuscate any sensitive materials, such as text. 2. Do you know which FTP server your provider is using?
On Tue, Oct 4, 2022 at 11:01 AM vladimir...@gmail.com < vladimir.a.mo...@gmail.com> wrote: > Hi, > Suddenly and out of the blue my ftp upload stopped working. The html files > are generated as expected in /var/www/html/weewx > Midnight Commander FTP client - connection successful, creating and > deleting files > > log > Oct 4 20:47:03 pogoda-ubuntu weewx[10451] ERROR weeutil.ftpupload: Failed > uploading /var/www/html/weewx/weekwinddir.png to server xxx.timeweb.ru. > Reason: 'timed out' > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > ftpgenerator: (2): caught exception '<class 'socket.timeout'>': timed out > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** Traceback (most recent call last): > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** File "/usr/share/weewx/weewx/reportengine.py", line 436, in run > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** n = ftp_data.run() > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** File "/usr/share/weewx/weeutil/ftpupload.py", line 210, in run > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** ftp_server.storbinary(stor_cmd, fd) > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** File "/usr/lib/python2.7/ftplib.py", line 486, in storbinary > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** conn = self.transfercmd(cmd, rest) > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** File "/usr/lib/python2.7/ftplib.py", line 385, in transfercmd > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** return self.ntransfercmd(cmd, rest)[0] > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** File "/usr/lib/python2.7/ftplib.py", line 348, in ntransfercmd > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** resp = self.sendcmd(cmd) > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** File "/usr/lib/python2.7/ftplib.py", line 253, in sendcmd > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** return self.getresp() > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** File "/usr/lib/python2.7/ftplib.py", line 219, in getresp > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** resp = self.getmultiline() > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** File "/usr/lib/python2.7/ftplib.py", line 205, in getmultiline > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** line = self.getline() > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** File "/usr/lib/python2.7/ftplib.py", line 190, in getline > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** line = self.file.readline(self.maxline + 1) > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** File "/usr/lib/python2.7/socket.py", line 480, in readline > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** data = self._sock.recv(self._rbufsize) > Oct 4 20:47:23 pogoda-ubuntu weewx[10451] ERROR weewx.reportengine: > **** timeout: timed out > > -- > 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/4ca99984-b8df-493c-b168-2e8f5e3f548bn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/4ca99984-b8df-493c-b168-2e8f5e3f548bn%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEC2Y7bP9qJoFFF6te%2BeRQoc6_EZJH9u5brGhx9KBJjZqQ%40mail.gmail.com.