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

Error uploading to WOW and Weathercloud SOLVED

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

Post Reply
SteveR
Posts: 24
Joined: Thu 12 Aug 2021 6:22 pm
Weather Station: Weatherduino 4Pro
Operating System: Raspberry pi Zero2

Error uploading to WOW and Weathercloud SOLVED

Post by SteveR »

I have MX running on a pi zero 2 with a fine offset station attached via usb. Every now and then something locks up - I don't know if it's the station or the pi but after a reboot everything usually starts working again, however after this happened a few days ago I noticed that MX wasn't uploading to Met Office WOW or Weathercloud (the only two I send data to). In the MXdiags file I see these error messages,

2022-04-03 10:00:00.335 WeatherCloud: ERROR - Operation already in progress
2022-04-03 10:00:00.337 WOW update: Operation already in progress

Any Ideas?
Last edited by SteveR on Thu 09 Jun 2022 8:35 am, edited 1 time in total.
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: Error uploading to WOW and Weathercloud

Post by Gyvate »

it could mean that you have already sent data in the allowed posting interval (defined by the weather site).
E.g. you are supposed to send an update only every 5 minutes, but you send one every minute ...
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: Error uploading to WOW and Weathercloud

Post by mcrossley »

Please switch on debug logging, let CMX run for a while then pot the latest MXdiags file.
SteveR
Posts: 24
Joined: Thu 12 Aug 2021 6:22 pm
Weather Station: Weatherduino 4Pro
Operating System: Raspberry pi Zero2

Re: Error uploading to WOW and Weathercloud

Post by SteveR »

I have switched debugg logging on and I have copied the results either side of the errors. I don't know if you need the whole file or not?

2022-04-05 11:29:59.331 Realtime[216]: End cycle
2022-04-05 11:30:00.314 Realtime[217]: Start cycle
2022-04-05 11:30:00.315 Realtime[217]: Creating realtime.txt
2022-04-05 11:30:00.317 Realtime[217]: Processing realtime file - realtimegauges.txt
2022-04-05 11:30:00.328 RealtimeLocalCopy[217]: Copying - realtime.txt
2022-04-05 11:30:00.329 RealtimeLocalCopy[217]: Copying - realtimegauges.txt
2022-04-05 11:30:00.331 Realtime[217]: End cycle
2022-04-05 11:30:00.623 DoLogFile: Writing log entry for 05/04/2022 11:30:00
2022-04-05 11:30:00.624 DoLogFile: max gust: 37.6
2022-04-05 11:30:00.625 DoLogFile: log entry for 05/04/2022 11:30:00 written
2022-04-05 11:30:00.629 Writing today.ini, LastUpdateTime = 05/04/2022 11:30:00 raindaystart = 1.2 rain counter = 1.4
2022-04-05 11:30:00.630 DoAirLinkLogFile: Writing log entry for 05/04/2022 11:30:00
2022-04-05 11:30:00.631 DoAirLinkLogFile: Log entry for 05/04/2022 11:30:00 written
2022-04-05 11:30:00.631 Creating standard web files
2022-04-05 11:30:00.632 WeatherCloud: URL = https://api.weathercloud.net/v01/set?wi ... 2787ebe716
2022-04-05 11:30:00.633 WeatherCloud: ERROR - Operation already in progress
2022-04-05 11:30:00.634 WOW URL = http://wow.metoffice.gov.uk/automaticre ... =updateraw
2022-04-05 11:30:00.636 WOW update: Operation already in progress
2022-04-05 11:30:00.637 Current CPU temp = 37.0°C
2022-04-05 11:30:00.728 Done creating standard Data file
2022-04-05 11:30:00.728 Creating graph data files
2022-04-05 11:30:01.120 LOOP: 38 - Data packet is good
2022-04-05 11:30:01.314 Realtime[218]: Start cycle

Thanks, Steve
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: Error uploading to WOW and Weathercloud

Post by mcrossley »

The whole file please.
SteveR
Posts: 24
Joined: Thu 12 Aug 2021 6:22 pm
Weather Station: Weatherduino 4Pro
Operating System: Raspberry pi Zero2

Re: Error uploading to WOW and Weathercloud

Post by SteveR »

This is the log file (zipped as too large)
20220531-152146.zip
Thanks, Steve
You do not have the required permissions to view the files attached to this post.
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: Error uploading to WOW and Weathercloud

Post by mcrossley »

Steve, you said that you have a FineOffset attached via USB, but the log file shows...?

2022-05-31 15:21:49.712 Station type: Davis Vantage Pro2

Which appears to be running an TCP/IP logger of some sort?

You are also on an older version of CMX - v.3.15.3, we are now on v3.17.0. Would it be possible to update CMX, then do another short run with debug logging enabled?
SteveR
Posts: 24
Joined: Thu 12 Aug 2021 6:22 pm
Weather Station: Weatherduino 4Pro
Operating System: Raspberry pi Zero2

Re: Error uploading to WOW and Weathercloud

Post by SteveR »

I will do an update Tomorrow.

I did have a fine offset but now switched to running weatherduino with tcp/ip, hence the Davis vp2 settings :)

Steve
SteveR
Posts: 24
Joined: Thu 12 Aug 2021 6:22 pm
Weather Station: Weatherduino 4Pro
Operating System: Raspberry pi Zero2

Re: Error uploading to WOW and Weathercloud

Post by SteveR »

Hi,
I did the update just now, let it run for a few minutes. This is the debug log,
20220607-205913.txt
Thanks, Steve
You do not have the required permissions to view the files attached to this post.
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: Error uploading to WOW and Weathercloud

Post by mcrossley »

It's very odd, every http request CMX sends gets an error of already in progress, that is WOW, WeatherCloud and your Airlink.

That is apart from the very first request, which is to the AirLink using IP address 0.0.0.0. That errors, with an exception, and thereafter no http request works. I suspect that something is hanging up in mono due to that error.

You do not have an IP address configured for the AirLink, could you put that in, or disable the AirLink in the config.
SteveR
Posts: 24
Joined: Thu 12 Aug 2021 6:22 pm
Weather Station: Weatherduino 4Pro
Operating System: Raspberry pi Zero2

Re: Error uploading to WOW and Weathercloud SOLVED

Post by SteveR »

Thanks,

I don't know why the 'airlink' was enabled but disabling them has worked. I have checked this morning and CMX is uploading data again.

Thanks again, Steve
Post Reply