Page 1 of 2
CUtils not reading some data
Posted: Fri 19 Jan 2024 5:07 pm
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
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 5:29 pm
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
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 5:45 pm
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
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 5:55 pm
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
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 6:09 pm
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.
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 6:17 pm
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.
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 6:53 pm
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
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 7:09 pm
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
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 7:20 pm
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
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 7:27 pm
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?
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 7:37 pm
by Paul C
I have added the "s"
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 7:43 pm
by HansR
That should work but I would advise you to use ../ which also works and is without protocol reference (it is relative).
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 7:44 pm
by HansR
Oh and to make it work you need to rerun cumulusutils.
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 7:47 pm
by Paul C
so /bramptonweather.co.uk/
or
https://www.bramptonweather.co.uk ( no / at the end)
excuse the basic questions
cheers
Paul
Re: CUtils not reading some data
Posted: Fri 19 Jan 2024 7:54 pm
by HansR
WITH the forward slash at the end.