Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

CUtils not reading some data

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

User avatar
Paul C
Posts: 538
Joined: Thu 19 Jun 2008 7:45 am
Weather Station: Davis VP2 with solar
Operating System: Windows 10
Location: Brampton, Cumbria, UK
Contact:

CUtils not reading some data

Post by Paul C »

HI

I am not sure if this the right section for this question/error

Utlis has been working fine now for a long time, but has now stopped showing some of the data and I cant fathom out why ?

https://www.bramptonweather.co.uk/utils/

I am guessing its not reading a file somewhere. I cant think I have deleted anything, but it is possible

Any suggestions please, thanks
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk
Image
AndyKF650
Posts: 718
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv4 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: CUtils not reading some data

Post by AndyKF650 »

Hi Paul

as a first look you seem to be rather behind on the CMX and Cutils versions, not that that should affect your lack of data. More likely the free memory you have looks to be quite small in relation to the data files and also you have a lot of missed data packets maybe down to insufficient memory.

As log file report for CMX and or CUtils may help to narrow down the problem
User avatar
Paul C
Posts: 538
Joined: Thu 19 Jun 2008 7:45 am
Weather Station: Davis VP2 with solar
Operating System: Windows 10
Location: Brampton, Cumbria, UK
Contact:

Re: CUtils not reading some data

Post by Paul C »

Thanks

With the cold weather I have had a number of hours of lost comms with my station. But its Ok today now its warmed up, battery changed in my VP unit and repeater station.

Where do I find the log files please ?
Do I then upload them here so you can see whats wrong ?

cheers
PAUL
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk
Image
AndyKF650
Posts: 718
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv4 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: CUtils not reading some data

Post by AndyKF650 »

The log files for CMX are those in CumulusMX/ MXDiags and if you have the logging in CUtils enabled the log file will be in CumulusMX/utils/utilslog.

Yes attach the files to the reply under the tab marked attachments
User avatar
HansR
Posts: 5969
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: CUtils not reading some data

Post by HansR »

Yes, logfiles is always good.
And yes, I split the thread off (you are no longer a new user @Paul ;)

But you are also victim of mixed content (see this thread)
    Schermafbeelding 2024-01-19 190413.png
      I.e. you did load the website with https but the loading of the realtime files (and maybe the loading of the datafiles)) is loaded with the HTTP protocol.

      Please modify your CumulusRealTimeLocation parameter as described in that thread.
      You do not have the required permissions to view the files attached to this post.
      Hans

      https://meteo-wagenborgen.nl
      CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
      User avatar
      HansR
      Posts: 5969
      Joined: Sat 20 Oct 2012 6:53 am
      Weather Station: GW1100 (WS80/WH40)
      Operating System: Raspberry OS/Bookworm
      Location: Wagenborgen (NL)
      Contact:

      Re: CUtils not reading some data

      Post by HansR »

      NOTE: the link you give to your site is:

      Code: Select all

      https://www.bramptonweather.co.uk/utils/
      If you try it with

      Code: Select all

      http://www.bramptonweather.co.uk/utils/
      you will see all l oads correctly.

      The cause is in the MIxed Contents: loading files with HTTP in a HTTPS loaded website has recently been taken as a menace to security so browsers no longer accept it.
      Hans

      https://meteo-wagenborgen.nl
      CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
      User avatar
      Paul C
      Posts: 538
      Joined: Thu 19 Jun 2008 7:45 am
      Weather Station: Davis VP2 with solar
      Operating System: Windows 10
      Location: Brampton, Cumbria, UK
      Contact:

      Re: CUtils not reading some data

      Post by Paul C »

      Thankyou

      Yes the "s" was added to my website, but my hosting company added the service for me.

      I am right in thinking I now need to do something with the utils file ?

      cheers

      paul
      Paul C
      Brampton, Cumbria, UK
      117m ASL
      http://www.bramptonweather.co.uk
      Image
      User avatar
      HansR
      Posts: 5969
      Joined: Sat 20 Oct 2012 6:53 am
      Weather Station: GW1100 (WS80/WH40)
      Operating System: Raspberry OS/Bookworm
      Location: Wagenborgen (NL)
      Contact:

      Re: CUtils not reading some data

      Post by HansR »

      Paul C wrote: Fri 19 Jan 2024 6:53 pm Yes the "s" was added to my website, but my hosting company added the service for me.

      I am right in thinking I now need to do something with the utils file ?
      What the provider should do: they gave you a certificate to have a secure URL.

      Yes, you need to modify your CumulusRealTimeLocation parameter as described in that thread. Either change it to a https:// URL or make it relative. I don't know whwre your realtime.txt files and the corresponding JSON files are, but you need to refer to them by a path with http:// but preferably you refer to them with the CumulusRealTimeLocation parameter e.g. ../otherPath
      Hans

      https://meteo-wagenborgen.nl
      CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
      User avatar
      Paul C
      Posts: 538
      Joined: Thu 19 Jun 2008 7:45 am
      Weather Station: Davis VP2 with solar
      Operating System: Windows 10
      Location: Brampton, Cumbria, UK
      Contact:

      Re: CUtils not reading some data

      Post by Paul C »

      Thanks

      Yes - I had to buy a certificate

      Complete waste of money , but thats not for this thread - I am just a weather site not selling anything.

      I looked at the link to the previous page, but it didnt make any sense to me at all.

      Can you be more basic please - which file needs to be updated

      is it the realtime.txt file ?

      cheers
      Paul C
      Brampton, Cumbria, UK
      117m ASL
      http://www.bramptonweather.co.uk
      Image
      User avatar
      HansR
      Posts: 5969
      Joined: Sat 20 Oct 2012 6:53 am
      Weather Station: GW1100 (WS80/WH40)
      Operating System: Raspberry OS/Bookworm
      Location: Wagenborgen (NL)
      Contact:

      Re: CUtils not reading some data

      Post by HansR »

      Paul C wrote: Fri 19 Jan 2024 7:20 pm Can you be more basic please - which file needs to be updated
      What I wrote above:
      you need to modify your CumulusRealTimeLocation parameter as described in that thread. Either change it to a https:// URL or make it relative. I don't know whwre your realtime.txt files and the corresponding JSON files are, but you need to refer to them by a path with http:// but preferably you refer to them with the CumulusRealTimeLocation parameter e.g. ../otherPath
      The parameter is in the cumulusutils.ini file in the CumulusMX directory.

      Could you copy the line of that parameter and post here please?
      Hans

      https://meteo-wagenborgen.nl
      CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
      User avatar
      Paul C
      Posts: 538
      Joined: Thu 19 Jun 2008 7:45 am
      Weather Station: Davis VP2 with solar
      Operating System: Windows 10
      Location: Brampton, Cumbria, UK
      Contact:

      Re: CUtils not reading some data

      Post by Paul C »

      I have added the "s"
      You do not have the required permissions to view the files attached to this post.
      Paul C
      Brampton, Cumbria, UK
      117m ASL
      http://www.bramptonweather.co.uk
      Image
      User avatar
      HansR
      Posts: 5969
      Joined: Sat 20 Oct 2012 6:53 am
      Weather Station: GW1100 (WS80/WH40)
      Operating System: Raspberry OS/Bookworm
      Location: Wagenborgen (NL)
      Contact:

      Re: CUtils not reading some data

      Post by HansR »

      That should work but I would advise you to use ../ which also works and is without protocol reference (it is relative).
      Hans

      https://meteo-wagenborgen.nl
      CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
      User avatar
      HansR
      Posts: 5969
      Joined: Sat 20 Oct 2012 6:53 am
      Weather Station: GW1100 (WS80/WH40)
      Operating System: Raspberry OS/Bookworm
      Location: Wagenborgen (NL)
      Contact:

      Re: CUtils not reading some data

      Post by HansR »

      Oh and to make it work you need to rerun cumulusutils.
      Hans

      https://meteo-wagenborgen.nl
      CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
      User avatar
      Paul C
      Posts: 538
      Joined: Thu 19 Jun 2008 7:45 am
      Weather Station: Davis VP2 with solar
      Operating System: Windows 10
      Location: Brampton, Cumbria, UK
      Contact:

      Re: CUtils not reading some data

      Post by Paul C »

      so /bramptonweather.co.uk/
      or https://www.bramptonweather.co.uk ( no / at the end)

      excuse the basic questions
      cheers
      Paul
      Paul C
      Brampton, Cumbria, UK
      117m ASL
      http://www.bramptonweather.co.uk
      Image
      User avatar
      HansR
      Posts: 5969
      Joined: Sat 20 Oct 2012 6:53 am
      Weather Station: GW1100 (WS80/WH40)
      Operating System: Raspberry OS/Bookworm
      Location: Wagenborgen (NL)
      Contact:

      Re: CUtils not reading some data

      Post by HansR »

      WITH the forward slash at the end.
      Hans

      https://meteo-wagenborgen.nl
      CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
      Post Reply