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
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 on startup build 4063
Moderator: mcrossley
- grwkak
- Posts: 212
- Joined: Fri 28 Jun 2013 12:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Hambden, Ohio US
- Contact:
Re: Error on startup build 4063
Here are the logs with data and debugging logging turned on. Short period of time.
Guy
Guy
You do not have the required permissions to view the files attached to this post.
- grwkak
- Posts: 212
- Joined: Fri 28 Jun 2013 12:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Hambden, Ohio US
- Contact:
Re: Error on startup build 4063
Turns out the entire gauge interface page is not working. At first I thought it was the wind gauges on the dashboard.
Guy
Guy
- mcrossley
- Posts: 14384
- 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 on startup build 4063
The live data seems to be coming in OK, the wind values are changing every packet, the pressure values look reasonable.
Unfortunately, the logging for the Tempest station is quite sparse, so there isn't much more I can see.
You could ask them to try one of the queries Cumulus is sending for the historic data and ask them why it is failing with a status code 2, "DATA_ERROR - null"?
Unfortunately, the logging for the Tempest station is quite sparse, so there isn't much more I can see.
You could ask them to try one of the queries Cumulus is sending for the historic data and ask them why it is failing with a status code 2, "DATA_ERROR - null"?
Code: Select all
https://swd.weatherflow.com/swd/rest/observations/device/213434?token=<<token>>&time_start=1733521800&time_end=1733521943- grwkak
- Posts: 212
- Joined: Fri 28 Jun 2013 12:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Hambden, Ohio US
- Contact:
Re: Error on startup build 4063
Thanks - I will ask. Seems to be a more widespread issue and I did let them know that.
Guy
Guy
- grwkak
- Posts: 212
- Joined: Fri 28 Jun 2013 12:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Hambden, Ohio US
- Contact:
Re: Error on startup build 4063
Just to clarify - is the lack of updates of gauges in the interface also related to this API issue?
Guy
Guy
-
jokerboy
- Posts: 20
- Joined: Thu 16 Apr 2015 9:05 pm
- Weather Station: WeatherFlow Tempest
- Operating System: Windows 10/Linux
- Location: Chandler, AZ
Re: Error on startup build 4063
I did some debugging on this yesterday (I wrote the original code for the CumulusMX/Tempest integration).
The issue seems to be with the result set being returned via the API, although not necessarily an API issue. The status code being returned is one that isn't expected. We expect either a success (200) or some kind of failure (40x,unauthorized or not found). However it's returning a code of "2" which seems to indicate that there's something wrong with the data, but the data is still returned. There's nothing in the API documentation on this that I could find.
In this case the message is "DATA_ERROR - null", so somewhere in the results there's a record, which could be one of thousands returned, that has a field which has no value.
In my debugging, ignoring this error seemed to work fine and the records appeared to process. The only field I could see that was returned NULL was the serial number of the station, which cumulus doesn't use.
Probably not a good idea to just ignore the error for the inevitable case where a field we use will cause a problem though.
I'll present a fix sometime today or tomorrow which will hopefully work around this issue.
The issue seems to be with the result set being returned via the API, although not necessarily an API issue. The status code being returned is one that isn't expected. We expect either a success (200) or some kind of failure (40x,unauthorized or not found). However it's returning a code of "2" which seems to indicate that there's something wrong with the data, but the data is still returned. There's nothing in the API documentation on this that I could find.
In this case the message is "DATA_ERROR - null", so somewhere in the results there's a record, which could be one of thousands returned, that has a field which has no value.
In my debugging, ignoring this error seemed to work fine and the records appeared to process. The only field I could see that was returned NULL was the serial number of the station, which cumulus doesn't use.
Probably not a good idea to just ignore the error for the inevitable case where a field we use will cause a problem though.
I'll present a fix sometime today or tomorrow which will hopefully work around this issue.
- grwkak
- Posts: 212
- Joined: Fri 28 Jun 2013 12:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Hambden, Ohio US
- Contact:
Re: Error on startup build 4063
Thanks! Its odd that it worked fine for so long!
Guy
Guy
-
southturner
- Posts: 4
- Joined: Sun 08 Dec 2024 5:56 pm
- Weather Station: WeatherFlow Tempest
- Operating System: Windows 10
Re: Error on startup build 4063
Hey all,
Just downloaded the latest build 4063 and starting to migrate over to cumulus and seeing this error as well and the other error that is posted in this thread. will continue to watch this thread for more information to be sent out.
looking forward to working with all members.
Matt and Bob
Just downloaded the latest build 4063 and starting to migrate over to cumulus and seeing this error as well and the other error that is posted in this thread. will continue to watch this thread for more information to be sent out.
looking forward to working with all members.
Matt and Bob
Matthew and Bob Conklin
Webmasters
southturnermaineweather.com
Cumulus 4.3.1 b4064
Webmasters
southturnermaineweather.com
Cumulus 4.3.1 b4064
- mcrossley
- Posts: 14384
- 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 on startup build 4063
I have jokerboy's updated code. It will be in the next build.
- grwkak
- Posts: 212
- Joined: Fri 28 Jun 2013 12:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Hambden, Ohio US
- Contact:
Re: Error on startup build 4063
Thanks - updated and the historic data now downloads!
I still have no working gauges and no display of the last Cumulus update time. I'm not sure if there was anything in the diagnostic logs suggesting a cause - did not sound like it.
Guy
I still have no working gauges and no display of the last Cumulus update time. I'm not sure if there was anything in the diagnostic logs suggesting a cause - did not sound like it.
Guy
-
kj6rgx
- Posts: 55
- Joined: Tue 28 May 2024 11:38 am
- Weather Station: Tempest
- Operating System: Win10
- Location: Lakewood, NY
- Contact:
Re: Error on startup build 4063
Same here, running 4.3.1 now...
Add: Forgot to mention, the website gauges are okay, it's just the localhost:8998 that displays this anomaly...
You do not have the required permissions to view the files attached to this post.
Last edited by kj6rgx on Tue 10 Dec 2024 11:39 am, edited 2 times in total.
-
freddie
- Posts: 2870
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 24.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Error on startup build 4063
If you've done due diligence (i.e. checking integrity with the md5sum utility) then please zip up your MXdiags log file and attach to a reply to this topic. It's hard to do any investigation without log files. Make sure you have debug logging and data logging switched on.
-
jokerboy
- Posts: 20
- Joined: Thu 16 Apr 2015 9:05 pm
- Weather Station: WeatherFlow Tempest
- Operating System: Windows 10/Linux
- Location: Chandler, AZ
Re: Error on startup build 4063
I'm actually having the same issue with the gauges not updating.
I've attached the latest log file, but something I noticed that's different between this version and the previous, when I look at the 'Console' in the developer options of the browser (firefox), this error shows up:
If there's something else I can try to help with this, let me know. Perhaps there's a file I missed during the update. I'm running on a 'Debian GNU/Linux 12' container in Proxmox.
I've attached the latest log file, but something I noticed that's different between this version and the previous, when I look at the 'Console' in the developer options of the browser (firefox), this error shows up:
Code: Select all
Uncaught TypeError: inp.IndoorHum is null
convertJson http://172.27.35.61/js/dashboard.js:287
updateDisplay http://172.27.35.61/js/dashboard.js:233
onMessage http://172.27.35.61/js/dashboard.js:103
onmessage http://172.27.35.61/js/dashboard.js:82
OpenWebSocket http://172.27.35.61/js/dashboard.js:81
success http://172.27.35.61/js/dashboard.js:351
jQuery 6
c
fireWith
l
o
send
ajax
<anonymous> http://172.27.35.61/js/dashboard.js:347
jQuery 13
e
t
setTimeout handler*Deferred/then/l/<
c
fireWith
fire
c
fireWith
ready
B
EventListener.handleEvent*
<anonymous>
<anonymous>
dashboard.js:287:13
convertJson http://172.27.35.61/js/dashboard.js:287
updateDisplay http://172.27.35.61/js/dashboard.js:233
onMessage http://172.27.35.61/js/dashboard.js:103
onmessage http://172.27.35.61/js/dashboard.js:82
(Async: EventHandlerNonNull)
OpenWebSocket http://172.27.35.61/js/dashboard.js:81
success http://172.27.35.61/js/dashboard.js:351
jQuery 6
c
fireWith
l
o
(Async: EventHandlerNonNull)
send
ajax
<anonymous> http://172.27.35.61/js/dashboard.js:347
jQuery 13
e
t
(Async: setTimeout handler)
l
c
fireWith
fire
c
fireWith
ready
B
(Async: EventListener.handleEvent)
<anonymous>
<anonymous>
<anonymous>
You do not have the required permissions to view the files attached to this post.
-
freddie
- Posts: 2870
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 24.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Error on startup build 4063
Code: Select all
2024-12-10 04:52:43.210 Debug logging :disabled
2024-12-10 04:52:43.210 Data logging :disabledYou do not have the required permissions to view the files attached to this post.
-
jokerboy
- Posts: 20
- Joined: Thu 16 Apr 2015 9:05 pm
- Weather Station: WeatherFlow Tempest
- Operating System: Windows 10/Linux
- Location: Chandler, AZ
Re: Error on startup build 4063
There's an issue with the value of the Indoor Humidity setting being passed to the 'convertJson' function in the file dashboard.js
The value being passed is null, so the following line in that function throws an exception.
inhum: inp.IndoorHum.toString(),
If I comment out that line (//inhum: inp.IndoorHum.toString(),), everything works fine as it did before.
There must have been something that changed in whatever provides the data to that function, a web service or something. I'm guessing that only those stations that don't collect indoor readings, like the Tempest, will see this issue, as it won't be null for others.
Or perhaps the tempest station class isn't providing a default value for that when it should be.
The value being passed is null, so the following line in that function throws an exception.
inhum: inp.IndoorHum.toString(),
If I comment out that line (//inhum: inp.IndoorHum.toString(),), everything works fine as it did before.
There must have been something that changed in whatever provides the data to that function, a web service or something. I'm guessing that only those stations that don't collect indoor readings, like the Tempest, will see this issue, as it won't be null for others.
Or perhaps the tempest station class isn't providing a default value for that when it should be.