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

NOAA-reports stop working

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

Mrc
Posts: 70
Joined: Mon 11 Apr 2016 12:39 pm
Weather Station: Ecowitt hp2551
Operating System: Windows 10
Location: Finland

NOAA-reports stop working

Post by Mrc »

Hi. I updated CMX to newest version and NOAA-reports stop working. CMX doesn't create them anymore. With version 3.25.1- build 3244 there was no problem. Last report is 4.6.2023. If i try to regenerate them nothing happens. Any idea whats wrong? I have tried to search what is the problem but i have no idea...
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: NOAA-reports stop working

Post by freddie »

Please zip up the log file from the MXdiags folder in your installation, and attach it to a reply to this topic.
Freddie
Image
Mrc
Posts: 70
Joined: Mon 11 Apr 2016 12:39 pm
Weather Station: Ecowitt hp2551
Operating System: Windows 10
Location: Finland

Re: NOAA-reports stop working

Post by Mrc »

Here's the log file
You do not have the required permissions to view the files attached to this post.
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: NOAA-reports stop working

Post by HansR »

There are many errors in your errorlog so the NOAA probably are not your only problem.

Please look at this one and as it says 'please edit the file to correct':

Code: Select all

2023-06-11 09.09.37.884 Loading last N hour data from data logs: 11.6.2023 8.30.00
2023-06-11 09.09.37.887 LoadRecent: Attempting to load 7 days of entries to recent data list
2023-06-11 09.09.37.907 Error parsing log file record: Syötemerkkijonon muoto ei ollut kelvollinen.
2023-06-11 09.09.37.907 LoadRecent: Error at line 221 of data\kesä23log.txt : Syötemerkkijonon muoto ei ollut kelvollinen.
2023-06-11 09.09.37.907 Please edit the file to correct the error
2023-06-11 09.09.37.910 LoadRecent: Loaded 0 of 0 new entries to recent database
Then you get the following errors which continue until CMX gives up.

Code: Select all

2023-06-11 09.09.39.302 Normal running
2023-06-11 09.09.39.577 WU Response: OK: OK
2023-06-11 09.09.39.577 End of WU archive upload
2023-06-11 09.09.43.865 Ignoring bad data: outhum = 255
2023-06-11 09.09.44.873 Synchronise: Sensor data changed
2023-06-11 09.09.48.919 Ignoring bad data: outhum = 255
[...]
2023-06-11 09.10.29.305 Ignoring bad data: outhum = 255
2023-06-11 09.10.32.822 Synchronise: Sensor data changed
2023-06-11 09.10.34.330 Ignoring bad data: outhum = 255
2023-06-11 09.10.39.386 Sensor clock  9.09.44 drift = 1 seconds
2023-06-11 09.10.39.386 Synchronisation: No station clock change time found
2023-06-11 09.10.39.387 Stop Synchronising
2023-06-11 09.10.39.387 Ignoring bad data: outhum = 255
2023-06-11 09.10.55.396 Start Synchronising with console
[...]
2023-06-11 09.11.15.366 Ignoring bad data: outhum = 255
2023-06-11 09.11.18.531 PHP[0]: Upload to /realtimegauges.txt: Response code = 500: InternalServerError
2023-06-11 09.11.18.531 PHP[0]: Upload to /realtimegauges.txt: Response text follows:
Error: Cannot create the target file /realtimegauges.txt with this user 

2023-06-11 09.11.19.556 PHP[0]: Upload to /realtime.txt: Response code = 500: InternalServerError
2023-06-11 09.11.19.556 PHP[0]: Upload to /realtime.txt: Response text follows:
Error: Cannot create the target file /realtime.txt with this user 
You must have changed something, pulled a plug, changed credentials or whatever.
The installation has changed somewhere and although this does not seem an installation error you might start checking that (did you copy all files correctly?) and possibly re-install the latest version. Check all cables, wifi, credentials etc... and think hard of what you did.
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
Mrc
Posts: 70
Joined: Mon 11 Apr 2016 12:39 pm
Weather Station: Ecowitt hp2551
Operating System: Windows 10
Location: Finland

Re: NOAA-reports stop working

Post by Mrc »

There was few blackouts so maybe that's on reason..
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: NOAA-reports stop working

Post by HansR »

Mrc wrote: Sun 11 Jun 2023 9:03 am There was few blackouts so maybe that's on reason..
OK, but than at least we need a logfile without those errors and with an NOAA generation (rollover).
Otherwise the logfile is telling the wrong things or no things at all.

So first you have some work to do.
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
SamiS
Posts: 511
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: NOAA-reports stop working

Post by SamiS »

After fixing the corrupted line in monthly logfile you can try to generate the noaa report manually using the regenerate report button on monthly report view. No need to wait overnight for rollover.

The other errors about failed php upload for realtime.txt and realtimegauges.txt should not affect report generation. I’m not familiar about the php upload feature details, but the error suggests a problem with the path settings, since it tries to generate files to the server root instead of current directory.
M1DUL
Posts: 384
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Davis VP2 Plus Daytime FARS WLL
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Re: NOAA-reports stop working

Post by M1DUL »

Hi All,
My Noaa-Reports have also stopped being uploaded, I am also getting these errors.

023-06-20 00:00:00.859 PHP[Int]: Upload to /public_html/Reports/NOAAYR2023.txt: Response code = 500: InternalServerError
2023-06-20 00:00:00.859 PHP[Int]: Upload to /public_html/Reports/NOAAYR2023.txt: Response text follows:
Error: Cannot create the target file /public_html/Reports/NOAAYR2023.txt with this user branksom

2023-06-20 00:00:00.859 PHP[Int]: Upload to /public_html/Reports/NOAAMO0623.txt: Response code = 500: InternalServerError
2023-06-20 00:00:00.859 PHP[Int]: Upload to /public_html/Reports/NOAAMO0623.txt: Response text follows:
Error: Cannot create the target file /public_html/Reports/NOAAMO0623.txt with this user branksom

I have also noticed in the MXdiags file I am getting this Error: TimeStamp is out of date
Data TS = 1687238629
Server TS = 1687238647

This started yesterday 19/06/2023 I have not made any changes.

I have uploaded my MXdiags for your info. I hope you can sort this problem out for me, does anyone have any ideas please.
MXdiags.rar
You do not have the required permissions to view the files attached to this post.
Mike

OS : Windows 11 Professional
Weather Station : Davis Daytime Fan-Aspirated Radiation shield, UV & Solar, Wireless Weather Station, connected to a Davis WeatherLink Live.
Cumulus MX v.4.4.2 build 4085
https://branksomeweather.co.uk
SamiS
Posts: 511
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: NOAA-reports stop working

Post by SamiS »

The 500 internal error and ” Error: Cannot create the target file /public_html/Reports/NOAAYR2023.txt with this user branksom” states very clearly that your webserver denies the upload. If this has worked for you with php until now, the problem most likely is some php security mechanism on webserver that is blocking it. Webserver logs might give a clue.

However if noaa report upload never has worked for you with php, you probably have not changed your path correctly. Point number 5 in the configuration wiki. Unfortunately I’m not using php currently, so I cannot give a bulletproof example.

https://www.cumuluswiki.org/a/PHP_Uploads#Configuration
M1DUL
Posts: 384
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Davis VP2 Plus Daytime FARS WLL
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Re: NOAA-reports stop working

Post by M1DUL »

SamiS wrote: Tue 20 Jun 2023 8:30 am The 500 internal error and ” Error: Cannot create the target file /public_html/Reports/NOAAYR2023.txt with this user branksom” states very clearly that your webserver denies the upload. If this has worked for you with php until now, the problem most likely is some php security mechanism on webserver that is blocking it. Webserver logs might give a clue.

However if noaa report upload never has worked for you with php, you probably have not changed your path correctly. Point number 5 in the configuration wiki. Unfortunately I’m not using php currently, so I cannot give a bulletproof example.

https://www.cumuluswiki.org/a/PHP_Uploads#Configuration
Have you missed this in my message “This started yesterday 19/06/2023 I have not made any changes”?

So I need to get Intouch with my host server, HostPresto? Is that correct?
Mike

OS : Windows 11 Professional
Weather Station : Davis Daytime Fan-Aspirated Radiation shield, UV & Solar, Wireless Weather Station, connected to a Davis WeatherLink Live.
Cumulus MX v.4.4.2 build 4085
https://branksomeweather.co.uk
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: NOAA-reports stop working

Post by HansR »

M1DUL wrote: Tue 20 Jun 2023 8:07 am Hi All,
My Noaa-Reports have also stopped being uploaded, I am also getting these errors.

023-06-20 00:00:00.859 PHP[Int]: Upload to /public_html/Reports/NOAAYR2023.txt: Response code = 500: InternalServerError
2023-06-20 00:00:00.859 PHP[Int]: Upload to /public_html/Reports/NOAAYR2023.txt: Response text follows:
Error: Cannot create the target file /public_html/Reports/NOAAYR2023.txt with this user branksom

2023-06-20 00:00:00.859 PHP[Int]: Upload to /public_html/Reports/NOAAMO0623.txt: Response code = 500: InternalServerError
2023-06-20 00:00:00.859 PHP[Int]: Upload to /public_html/Reports/NOAAMO0623.txt: Response text follows:
Error: Cannot create the target file /public_html/Reports/NOAAMO0623.txt with this user branksom

I have also noticed in the MXdiags file I am getting this Error: TimeStamp is out of date
Data TS = 1687238629
Server TS = 1687238647

This started yesterday 19/06/2023 I have not made any changes.

I have uploaded my MXdiags for your info. I hope you can sort this problem out for me, does anyone have any ideas please.

MXdiags.rar
It is not just your NOAA reports, your PHP upload does not work given the errors (like below) in your MXdiags:

Code: Select all

2023-06-20 08:44:24.442 PHP[191]: Error uploading to realtime.txt
2023-06-20 08:44:24.442 PHP[191]: Error uploading to realtime.txt - Exception Type: System.Net.Http.HttpRequestException
Message: An error occurred while sending the request.
Inner Exception... 
Exception Type: System.Net.WebException
Message: The request was aborted: Could not create SSL/TLS secure channel.


2023-06-20 08:44:24.442 PHP[191] Retrying upload to realtime.txt
2023-06-20 08:44:24.460 PHP[191]: Error uploading to realtimegauges.txt
2023-06-20 08:44:24.460 PHP[191]: Error uploading to realtimegauges.txt - Exception Type: System.Net.Http.HttpRequestException
Message: An error occurred while sending the request.
Inner Exception... 
Exception Type: System.Net.WebException
Message: The request was aborted: Could not create SSL/TLS secure channel.

You will have to review your PHP upload (maybe it's the provider). And the public_html almost certainly shuld not be part of the NOAA path in your CMX configuration. But the PHP and the NOAA configs are two different things. Check the PHP upload first.

The timestamp out of date is a consequence of a timeout because it connects badly. Not important right now.
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
M1DUL
Posts: 384
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Davis VP2 Plus Daytime FARS WLL
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Re: NOAA-reports stop working

Post by M1DUL »

Hello HansR,

Thank you for replying to my message, I have been getting those SSL/TLS errors for quite some time, I did make a post on here. viewtopic.php?t=21174 about my problem, but nobody could get to the bottom of it. Here is my Upload.php file, maybe you can see what is wrong with it. I would appreciate your help enormously.
upload.rar
Many Thanks for your help.
You do not have the required permissions to view the files attached to this post.
Mike

OS : Windows 11 Professional
Weather Station : Davis Daytime Fan-Aspirated Radiation shield, UV & Solar, Wireless Weather Station, connected to a Davis WeatherLink Live.
Cumulus MX v.4.4.2 build 4085
https://branksomeweather.co.uk
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: NOAA-reports stop working

Post by PaulMy »

Hi,
I can't open the .rar file but it appear you are using PHP for uploads.

Code: Select all

2023-06-20 00:00:00.859 PHP[Int]: Upload to /public_html/Reports/NOAAMO0623.txt: Response code = 500: InternalServerError
2023-06-20 00:00:00.859 PHP[Int]: Upload to /public_html/Reports/NOAAMO0623.txt: Response text follows:
Error: Cannot create the target file /public_html/Reports/NOAAMO0623.txt with this user branksom
As Hans indicated the public_html should not be part of the Upload folder name and likely just Reports

Whenever I change my Upload settings between FTP and PHP I have to change the NOAA settings Upload folder from public_html/cumulusmx/Reports to just cumulusmx/Reports
And similar for the Extra web files.

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
M1DUL
Posts: 384
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Davis VP2 Plus Daytime FARS WLL
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Re: NOAA-reports stop working

Post by M1DUL »

PaulMy wrote: Tue 20 Jun 2023 4:13 pm Hi,
I can't open the .rar file but it appear you are using PHP for uploads.

Code: Select all

2023-06-20 00:00:00.859 PHP[Int]: Upload to /public_html/Reports/NOAAMO0623.txt: Response code = 500: InternalServerError
2023-06-20 00:00:00.859 PHP[Int]: Upload to /public_html/Reports/NOAAMO0623.txt: Response text follows:
Error: Cannot create the target file /public_html/Reports/NOAAMO0623.txt with this user branksom
As Hans indicated the public_html should not be part of the Upload folder name and likely just Reports

Whenever I change my Upload settings between FTP and PHP I have to change the NOAA settings Upload folder from public_html/cumulusmx/Reports to just cumulusmx/Reports
And similar for the Extra web files.

Enjoy,
Paul
Hi Paul,
Thank you for your reply to my message, I have changed my NOAA settings Upload folder from public_html/Reports to just Reports it seems to be working now. But still getting quite a few intermittent problems with SSL/TLS Errors.
Mike

OS : Windows 11 Professional
Weather Station : Davis Daytime Fan-Aspirated Radiation shield, UV & Solar, Wireless Weather Station, connected to a Davis WeatherLink Live.
Cumulus MX v.4.4.2 build 4085
https://branksomeweather.co.uk
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: NOAA-reports stop working

Post by HansR »

M1DUL wrote: Tue 20 Jun 2023 3:45 pm Hello HansR,

Thank you for replying to my message, I have been getting those SSL/TLS errors for quite some time, I did make a post on here. viewtopic.php?t=21174 about my problem, but nobody could get to the bottom of it. Here is my Upload.php file, maybe you can see what is wrong with it. I would appreciate your help enormously.

upload.rar

Many Thanks for your help.
I compared your upload.php with mine and I see no difference so that is all OK.

I understand that now your NOAA reports are working so if you get too many errors on upload it most likely is a thing with your provider. Some tuning needed there. If your realtime frequency is lower than 15 or 30 seconds consider changing that first. Providers don't like high frequencies on these upload channels (nor do they on the FTP channels btw). High frequencies always are a riks for provider problems.
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
Post Reply