Davis VP2 WeatherLink IP Failed to connect to the station
Posted: Fri 11 Sep 2020 4:38 pm
Randomly noticed my station wasn't uploading the other day. Getting the following errors. I can ping the WLIP, but can't get to the webpage for some reason. I can see the logger on the network via the firmware tool though. Happened right around 6PM the one day, time doesn't seem to be afactor though.
2020-09-09 17:55:00.957 Writing log entry for 9/9/2020 5:55:00 PM
2020-09-09 17:55:00.958 Written log entry for 9/9/2020 5:55:00 PM
2020-09-09 17:55:00.961 Writing today.ini, LastUpdateTime = 9/9/2020 5:55:00 PM raindaystart = 2.1 rain counter = 2.1
2020-09-09 17:55:00.963 Updating CWOP
2020-09-09 17:55:09.036 Reading reception stats
2020-09-09 17:55:10.287 SendLoopCommand: Starting - LPS 2 1
2020-09-09 17:55:11.553 SendLoopCommand: Starting - LOOP 50
2020-09-09 17:56:47.406 SendLoopCommand: Starting - LPS 2 1
2020-09-09 17:56:48.673 SendLoopCommand: Starting - LOOP 50
2020-09-09 17:58:25.031 SendLoopCommand: Starting - LPS 2 1
2020-09-09 17:58:26.256 SendLoopCommand: Starting - LOOP 50
2020-09-09 18:00:00.990 Hour changed:18
2020-09-09 18:00:00.991 Calculating sunrise and sunset times
2020-09-09 18:00:00.991 Sunrise: 06:28:42
2020-09-09 18:00:00.991 Sunset : 19:15:03
2020-09-09 18:00:00.992 Tomorrow sunrise: 06:29:47
2020-09-09 18:00:00.992 Tomorrow sunset : 19:13:15
2020-09-09 18:00:00.994 Writing log entry for 9/9/2020 6:00:00 PM
2020-09-09 18:00:00.995 Written log entry for 9/9/2020 6:00:00 PM
2020-09-09 18:00:00.998 Writing today.ini, LastUpdateTime = 9/9/2020 6:00:00 PM raindaystart = 2.1 rain counter = 2.1
2020-09-09 18:00:01.000 Updating CWOP
2020-09-09 18:00:03.133 SendLoopCommand: Starting - LPS 2 1
2020-09-09 18:00:04.372 SendLoopCommand: Starting - LOOP 50
2020-09-09 18:00:08.200 InitTCP: Connecting to the station
2020-09-09 18:02:00.007 *** Data input appears to have stopped
2020-09-09 18:02:22.440 OpenTcpPort: Error - Connection timed out
2020-09-09 18:02:25.560 OpenTcpPort: Error - No route to host
2020-09-09 18:02:28.680 OpenTcpPort: Error - No route to host
2020-09-09 18:02:31.800 OpenTcpPort: Error - No route to host
2020-09-09 18:02:34.920 OpenTcpPort: Error - No route to host
2020-09-09 18:02:34.921 InitTCP: Failed to connect to the station, waiting 30 seconds before trying again
2020-09-09 18:03:00.008 *** Data input appears to have stopped
Noticed it today and rebooted the console/logger... got this error...
2020-09-11 12:04:46.761 InitTCP: Connecting to the station
2020-09-11 12:04:49.630 InitTCP: Flushing input stream
2020-09-11 12:04:56.215 InitTCP: Connection confirmed
2020-09-11 12:04:56.216 InitTCP: Connecting to the station
2020-09-11 12:04:57.237 InitTCP: Flushing input stream
2020-09-11 12:05:00.594 *** Data input appears to have stopped
2020-09-11 12:05:01.660 InitTCP: Connection confirmed
2020-09-11 12:05:01.661 SendLoopCommand: Error sending LOOP command [LOOP 50]: Cannot access a disposed object.
Object name: 'System.Net.Sockets.NetworkStream'.
2020-09-11 12:05:01.676 InitTCP: Connecting to the station
2020-09-11 12:05:02.679 InitTCP: Flushing input stream
2020-09-11 12:05:07.102 InitTCP: Connection confirmed
2020-09-11 12:05:07.103 Reading reception stats
2020-09-11 12:05:07.839 SendLoopCommand: Starting - LPS 2 1
2020-09-11 12:05:09.103 SendLoopCommand: Starting - LOOP 50
2020-09-11 12:05:13.418 LOOP: 2 - Expected data not received, expected 99 bytes, got 0
2020-09-11 12:05:15.961 LOOP: Receive error - System.IO.IOException: Unable to read data from the transport connection: Operation on non-blocking socket would block. ---> System.Net.Sockets.SocketException: Operation on non-blocking socket would block
at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <4e15bbae9d7043d8afd6cfd50bd9bd5a>:0
at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x00065] in <4e15bbae9d7043d8afd6cfd50bd9bd5a>:0
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000ac] in <4e15bbae9d7043d8afd6cfd50bd9bd5a>:0
at CumulusMX.DavisStation.GetAndProcessLoopData (System.Int32 number) [0x002fe] in <d97b46a9374140afa4f3f7719413e0ab>:0
2020-09-11 12:05:15.962 LOOP: Reconnecting to station
2020-09-11 12:05:15.963 InitTCP: Connecting to the station
Also after a reboot of the pi, another unhandled exception...
2020-09-11 12:30:07.368 OpenTcpPort: Error - Connection refused
2020-09-11 12:30:07.368 InitTCP: Failed to connect to the station, waiting 30 seconds before trying again
2020-09-11 12:30:37.368 InitTCP: Connecting to the station
2020-09-11 12:30:37.371 OpenTcpPort: Error - Connection refused
2020-09-11 12:30:37.374 OpenTcpPort: Error - Connection refused
2020-09-11 12:30:37.377 OpenTcpPort: Error - Connection refused
2020-09-11 12:30:37.380 OpenTcpPort: Error - Connection refused
2020-09-11 12:30:37.383 OpenTcpPort: Error - Connection refused
2020-09-11 12:30:37.383 InitTCP: Failed to connect to the station, waiting 30 seconds before trying again
!!! Unhandled Exception !!!
Rebooting both the console and the raspberry pi/cumulusmx seem to be the only way to get the connection back up for now. Not really sure what's going on here. Help?
2020-09-09 17:55:00.957 Writing log entry for 9/9/2020 5:55:00 PM
2020-09-09 17:55:00.958 Written log entry for 9/9/2020 5:55:00 PM
2020-09-09 17:55:00.961 Writing today.ini, LastUpdateTime = 9/9/2020 5:55:00 PM raindaystart = 2.1 rain counter = 2.1
2020-09-09 17:55:00.963 Updating CWOP
2020-09-09 17:55:09.036 Reading reception stats
2020-09-09 17:55:10.287 SendLoopCommand: Starting - LPS 2 1
2020-09-09 17:55:11.553 SendLoopCommand: Starting - LOOP 50
2020-09-09 17:56:47.406 SendLoopCommand: Starting - LPS 2 1
2020-09-09 17:56:48.673 SendLoopCommand: Starting - LOOP 50
2020-09-09 17:58:25.031 SendLoopCommand: Starting - LPS 2 1
2020-09-09 17:58:26.256 SendLoopCommand: Starting - LOOP 50
2020-09-09 18:00:00.990 Hour changed:18
2020-09-09 18:00:00.991 Calculating sunrise and sunset times
2020-09-09 18:00:00.991 Sunrise: 06:28:42
2020-09-09 18:00:00.991 Sunset : 19:15:03
2020-09-09 18:00:00.992 Tomorrow sunrise: 06:29:47
2020-09-09 18:00:00.992 Tomorrow sunset : 19:13:15
2020-09-09 18:00:00.994 Writing log entry for 9/9/2020 6:00:00 PM
2020-09-09 18:00:00.995 Written log entry for 9/9/2020 6:00:00 PM
2020-09-09 18:00:00.998 Writing today.ini, LastUpdateTime = 9/9/2020 6:00:00 PM raindaystart = 2.1 rain counter = 2.1
2020-09-09 18:00:01.000 Updating CWOP
2020-09-09 18:00:03.133 SendLoopCommand: Starting - LPS 2 1
2020-09-09 18:00:04.372 SendLoopCommand: Starting - LOOP 50
2020-09-09 18:00:08.200 InitTCP: Connecting to the station
2020-09-09 18:02:00.007 *** Data input appears to have stopped
2020-09-09 18:02:22.440 OpenTcpPort: Error - Connection timed out
2020-09-09 18:02:25.560 OpenTcpPort: Error - No route to host
2020-09-09 18:02:28.680 OpenTcpPort: Error - No route to host
2020-09-09 18:02:31.800 OpenTcpPort: Error - No route to host
2020-09-09 18:02:34.920 OpenTcpPort: Error - No route to host
2020-09-09 18:02:34.921 InitTCP: Failed to connect to the station, waiting 30 seconds before trying again
2020-09-09 18:03:00.008 *** Data input appears to have stopped
Noticed it today and rebooted the console/logger... got this error...
2020-09-11 12:04:46.761 InitTCP: Connecting to the station
2020-09-11 12:04:49.630 InitTCP: Flushing input stream
2020-09-11 12:04:56.215 InitTCP: Connection confirmed
2020-09-11 12:04:56.216 InitTCP: Connecting to the station
2020-09-11 12:04:57.237 InitTCP: Flushing input stream
2020-09-11 12:05:00.594 *** Data input appears to have stopped
2020-09-11 12:05:01.660 InitTCP: Connection confirmed
2020-09-11 12:05:01.661 SendLoopCommand: Error sending LOOP command [LOOP 50]: Cannot access a disposed object.
Object name: 'System.Net.Sockets.NetworkStream'.
2020-09-11 12:05:01.676 InitTCP: Connecting to the station
2020-09-11 12:05:02.679 InitTCP: Flushing input stream
2020-09-11 12:05:07.102 InitTCP: Connection confirmed
2020-09-11 12:05:07.103 Reading reception stats
2020-09-11 12:05:07.839 SendLoopCommand: Starting - LPS 2 1
2020-09-11 12:05:09.103 SendLoopCommand: Starting - LOOP 50
2020-09-11 12:05:13.418 LOOP: 2 - Expected data not received, expected 99 bytes, got 0
2020-09-11 12:05:15.961 LOOP: Receive error - System.IO.IOException: Unable to read data from the transport connection: Operation on non-blocking socket would block. ---> System.Net.Sockets.SocketException: Operation on non-blocking socket would block
at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <4e15bbae9d7043d8afd6cfd50bd9bd5a>:0
at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x00065] in <4e15bbae9d7043d8afd6cfd50bd9bd5a>:0
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000ac] in <4e15bbae9d7043d8afd6cfd50bd9bd5a>:0
at CumulusMX.DavisStation.GetAndProcessLoopData (System.Int32 number) [0x002fe] in <d97b46a9374140afa4f3f7719413e0ab>:0
2020-09-11 12:05:15.962 LOOP: Reconnecting to station
2020-09-11 12:05:15.963 InitTCP: Connecting to the station
Also after a reboot of the pi, another unhandled exception...
2020-09-11 12:30:07.368 OpenTcpPort: Error - Connection refused
2020-09-11 12:30:07.368 InitTCP: Failed to connect to the station, waiting 30 seconds before trying again
2020-09-11 12:30:37.368 InitTCP: Connecting to the station
2020-09-11 12:30:37.371 OpenTcpPort: Error - Connection refused
2020-09-11 12:30:37.374 OpenTcpPort: Error - Connection refused
2020-09-11 12:30:37.377 OpenTcpPort: Error - Connection refused
2020-09-11 12:30:37.380 OpenTcpPort: Error - Connection refused
2020-09-11 12:30:37.383 OpenTcpPort: Error - Connection refused
2020-09-11 12:30:37.383 InitTCP: Failed to connect to the station, waiting 30 seconds before trying again
!!! Unhandled Exception !!!
Rebooting both the console and the raspberry pi/cumulusmx seem to be the only way to get the connection back up for now. Not really sure what's going on here. Help?