WXforum.net
Weather Software => WeeWX Software => Topic started by: youngros on August 15, 2021, 12:34:43 PM
-
Yesterday I got this working with the Simulator, but today I installed Weewx fresh and connected the Vantage Vue, filled everything in for the ftp as I did yesterday and get loads of errors like
ERROR weewx.reportengine: ftpgenerator: (0): caught exception '<class 'socket.gaierror'>': [Errno -2] Name or service not known
Difficult to post all of them as this is Win10 and Weewx is on another computer that is difficult for me to use for typing.
This is not wrong name/username/password as I know that gives a different error.
Linux Mint 19
Literally posted this, went back to check the log and it is working. Maybe a hosting issue, will never know.
-
could you share the system log from the weewx start until the first archiving and report generation !?
also share the [[FTP]] stanza from your [StdReport] section in weewx.conf (remove, scramble username and password !).
Best is the whole weewx.conf (without passwords ;) ) so we can see which skin you are using...
Then we have a better possibility to see what might have gone wrong.
When you connect to your Linux computer via VNC, you can mark and copy the syslog text and then paste it into a Windows document or in the browser.
If your Linux installation doesn't have a UI and only a CLI, mount one of your Windows drives in the same network to your Linux server:
sudo mkdir /mnt/transfer #create a mount point
sudo mount -t cifs -o username=Win-USERNAME,password=Win-PASSWORD //your-Win-PC-IP-Address/c /mnt/transfer
then you can copy the syslog to your PC - and edit it there
sudo cp /var/log/syslog /mnt/transfer
this will copy the syslog to the root directory of your Win-PC C: drive
-
ERROR weewx.reportengine: ftpgenerator: (0): caught exception '<class 'socket.gaierror'>': [Errno -2] Name or service not known
Check that the FQDN in your weewx.conf is resolvable from your weewx system.
See if https://stackoverflow.com/questions/44591027/socket-gaierror-errno-2-name-or-service-not-known-with-python3 helps any