I'm having the same issue after an upgrade to 5.0.0-1. I inspected the 
configuration file even though I selected no changes and found everything 
was correct. I also completely removed weewx and reinstalled it with a new 
configuration file. I can communicate with the Davis console through 
WeatherLink with the same settings and interface with no issue. The port is 
closed when WeatherLink exits.

Davis Vantage Vue
Raspberry PI
NetBurner SBL2E Dual Serial to Ethernet converter
Homemade RS-232 level shifter.

-- Logs begin at Thu 2024-01-25 19:43:48 MST, end at Fri 2024-01-26 
09:03:07 MST. --
Jan 25 19:44:05 raspberrypi systemd[1]: Started WeeWX.
Jan 25 19:44:10 raspberrypi weewxd[298]: INFO __main__: Initializing weewxd 
version 5.0.0
Jan 25 19:44:10 raspberrypi weewxd[298]: INFO __main__: Command line: 
/usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Jan 25 19:44:10 raspberrypi weewxd[298]: INFO __main__: Using Python 3.7.3 
(default, Oct 11 2023, 09:51:27)
                                         [GCC 8.3.0]
Jan 25 19:44:10 raspberrypi weewxd[298]: INFO __main__: Located at 
/usr/bin/python3
Jan 25 19:44:10 raspberrypi weewxd[298]: INFO __main__: Platform 
Linux-5.10.103+-armv6l-with-debian-10.13
Jan 25 19:44:10 raspberrypi weewxd[298]: INFO __main__: Locale: 
'en_GB.UTF-8'
Jan 25 19:44:10 raspberrypi weewxd[298]: INFO __main__: Entry path: 
/usr/share/weewx/weewxd.py
Jan 25 19:44:10 raspberrypi weewxd[298]: INFO __main__: WEEWX_ROOT: 
/etc/weewx
Jan 25 19:44:10 raspberrypi weewxd[298]: INFO __main__: Configuration file: 
/etc/weewx/weewx.conf
Jan 25 19:44:10 raspberrypi weewxd[298]: INFO __main__: User module: 
/etc/weewx/bin/user
Jan 25 19:44:10 raspberrypi weewxd[298]: INFO __main__: Debug: 0
Jan 25 19:44:10 raspberrypi weewxd[298]: INFO weewx.engine: Loading station 
type Vantage (weewx.drivers.vantage)
Jan 25 19:44:10 raspberrypi weewxd[298]: ERROR weewx.drivers.vantage: 
Socket error while opening port 23 to ethernet host 192.168.50.39.    
 <<<<  ******************** this line ************************
Jan 25 19:44:10 raspberrypi weewxd[298]: ERROR weewx.engine: Import of 
driver failed: [Errno 101] Network is unreachable (<class 
'weewx.WeeWxIOError'>)
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     **** 
 Traceback (most recent call last):
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 354, in openPort
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****   
   self.socket.connect((self.host, self.port))
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     **** 
 OSError: [Errno 101] Network is unreachable
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     **** 
 During handling of the above exception, another exception occurred:
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     **** 
 Traceback (most recent call last):
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****   
   self.console = loader_function(config_dict, self)
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, in loader
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****   
   return VantageService(engine, config_dict)
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 2046, in __init__
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****   
   Vantage.__init__(self, **config_dict[DRIVER_NAME])
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in __init__
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****   
   self.port.openPort()
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 359, in openPort
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     ****   
   raise weewx.WeeWxIOError(ex)
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL weewx.engine:     **** 
 weewx.WeeWxIOError: [Errno 101] Network is unreachable
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL __main__: Unable to load 
driver: [Errno 101] Network is unreachable
Jan 25 19:44:10 raspberrypi weewxd[298]: CRITICAL __main__:     **** 
 Exiting...
Jan 25 19:44:10 raspberrypi systemd[1]: weewx.service: Main process exited, 
code=exited, status=4/NOPERMISSION
Jan 25 19:44:10 raspberrypi systemd[1]: weewx.service: Failed with result 
'exit-code'.

Is it possible to roll back a version?

Thanks,
Bill
On Sunday, January 21, 2024 at 10:27:04 PM UTC-7 John Smith wrote:

> On Mon, 22 Jan 2024 at 08:13, Ed Surowiec <[email protected]> wrote:
>
>> I am having trouble getting weewx to connect to my WeatherLink Live 
>> ethernet box.  I am able to connect to the WeatherLink Live using a browser 
>> and also using netcat to port 22222 from the raspberry pi I have weewx 
>> installed on.  Here is the error.  Any help would be appreciated.
>>
>>
>>
>> Jan 21 13:51:26 rpi-blue weewxd[12964]: INFO weewx.engine: Loading 
>> station type Vantage (weewx.drivers.vantage)
>>
>> Jan 21 13:51:26 rpi-blue weewxd[12964]: ERROR weewx.drivers.vantage: 
>> Socket error while opening port 22222 to ethernet host 10.0.1.180.
>>
>> Jan 21 13:51:26 rpi-blue weewxd[12964]: ERROR weewx.engine: Import of 
>> driver failed: [Errno 111] Connection refused (<class 'weewx.WeeWxIOError'>)
>>
>
> It looks like you are connecting to the wrong IP or it's not reachable on 
> the LAN 
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ba3d2930-473c-4c08-88e4-829f2cdb3692n%40googlegroups.com.

Reply via email to