Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Failing to reconnect to GW1000 over a few days

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

broadstairs
Posts: 1185
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Failing to reconnect to GW1000 over a few days

Post by broadstairs »

On the latest update I am seeing this error for some days now

Code: Select all

2023-03-25 07:17:46.371 DoCommand(CMD_GW1000_LIVEDATA): Error - Unable to read data from the transport connection: Operation on non-blocking socket would block.


just over night I have had quite a large number of errors. It seems like I first saw this around 23rd March. Looking at the Ecowitt data from this gateway there is a gap from 07:35 to 07:55 this morning but the rest of the time looks OK. My other gateway reporting to Ecowitt and WD ran fine during this time with no data gaps in either. So no issues with the internet or wireless connections.

Any ideas?

Stuart
Live data error logs.zip
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
broadstairs
Posts: 1185
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Re: Failing to reconnect to GW1000 over a few days

Post by broadstairs »

Just checked the logs again and this error is still happening intermittently, however it seems at present to be recovering better.

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Failing to reconnect to GW1000 over a few days

Post by HansR »

For the GW1100 problem: did you try to reboot the GW1100?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
broadstairs
Posts: 1185
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Re: Failing to reconnect to GW1000 over a few days

Post by broadstairs »

No as when I looked at the GW1000 the lights were normal.

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Failing to reconnect to GW1000 over a few days

Post by HansR »

broadstairs wrote: Sat 25 Mar 2023 12:45 pm No as when I looked at the GW1000 the lights were normal.
What have lights got to do with it if the sockets may fail once in a while?
If you reboot you just lose one cycle and see if the error recurs after that within a day. Just worth a try.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
broadstairs
Posts: 1185
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Re: Failing to reconnect to GW1000 over a few days

Post by broadstairs »

Usually in my experience the lights do look different if there is a connection issue. Anyway the last error of this type was at 11:50 this morning and has not happened since. so I'll leave it for now and see what happens.

I'd be interested in knowing exactly what causes that message and what it is attempting to indicate.

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Failing to reconnect to GW1000 over a few days

Post by mcrossley »

The logs posted do not cover the period 07:35 to 07:55 on the 23rd, but...

The gateway seems to be giving the odd random error, MX immediately reconnects, and everything is OK again for a while.

The other times it seems to not even allow reconnections for a while (indeed it seems to disappear off the network) like this that persisted until 23:49...

Code: Select all

2023-03-24 23:17:18.980 Error opening TCP port: No route to host
Once the connection to the upload server has failed as well...

Code: Select all

2023-03-23 22:29:01.312 PHP[Int]: Error - No route to host
2023-03-23 22:29:01.312 PHP[Int]: Base exception - No route to host
2023-03-23 22:29:01.606 PHP[Int]: Error - No route to host
2023-03-23 22:29:01.606 PHP[Int]: Base exception - No route to host
2023-03-23 22:29:01.606 PHP[Int]: Upload process complete
broadstairs
Posts: 1185
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Re: Failing to reconnect to GW1000 over a few days

Post by broadstairs »

Strange that the GW1100 continues to work OK on the wi-fi and upload to Ecowitt just fine, WD is also uploading to the website during these times as well so must be just the GW1000 failing to connect correctly although most of the time there does not appear to be any gaps in upload to Ecowitt except for the short time around 07:17.

I'll do some more digging into router logs.

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Failing to reconnect to GW1000 over a few days

Post by mcrossley »

For the most part the gw is refusing to accept connections, it may well still be transmitting up to the Ecowitt cloud.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Failing to reconnect to GW1000 over a few days

Post by mcrossley »

The times you get no route probably means the MAC address has timed out from the lookup tables because it hasn't been seen for a while.
davepaterson
Posts: 176
Joined: Tue 01 Jan 2019 8:12 pm
Weather Station: HP2551 , WH40/WH68+WH57/GW1100C
Operating System: Windows 11/11
Location: Hamilton, Scotland UK

Re: Failing to reconnect to GW1000 over a few days

Post by davepaterson »

I am getting a similar problem. This morning @ 04:35,36 & 37 there was no log entry.
Attached diag.file.
20230413-152000.zip
CMX runs 24/7 on a small Windows 11 laptop with a GW1100C, would it be possible to add a ping command to check Laptop to router 198.168.0.1 and also to the GW1100 on 198.168.0.1 to check network between the 3 components? Which would give a check, are they all connected?
Nothing was shown on the CMX Program screen
You do not have the required permissions to view the files attached to this post.
davepaterson
Posts: 176
Joined: Tue 01 Jan 2019 8:12 pm
Weather Station: HP2551 , WH40/WH68+WH57/GW1100C
Operating System: Windows 11/11
Location: Hamilton, Scotland UK

Re: Failing to reconnect to GW1000 over a few days

Post by davepaterson »

opps: GW1100 on 198.168.0.1 should be GW1100 on 198.168.0.17
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Failing to reconnect to GW1000 over a few days

Post by water01 »

David
Image
davepaterson
Posts: 176
Joined: Tue 01 Jan 2019 8:12 pm
Weather Station: HP2551 , WH40/WH68+WH57/GW1100C
Operating System: Windows 11/11
Location: Hamilton, Scotland UK

Re: Failing to reconnect to GW1000 over a few days

Post by davepaterson »

Looks a good prog. But can it in added to CMX??, The standard CMD Ping will bring up the DOS screen which will show the reply/or no reply to check later, I don't do 24/7 myself and when data is lost I am not going to run a prog. at 4 in the morning.
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Failing to reconnect to GW1000 over a few days

Post by water01 »

Program once loaded pings each nominated IP address every 30 seconds and maintains a log so you can monitor dropouts etc. Keeps going until you tell it to stop and is better than a DOS prompt as it will ping all 254 IP addresses in your IP range if you want it to.
David
Image
Post Reply