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

NWS Warning Zone ATOM/CAP Feed

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
jlmr731
Posts: 225
Joined: Sat 27 Aug 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Wickliffe, Ohio
Contact:

NWS Warning Zone ATOM/CAP Feed

Post by jlmr731 »

I ran the check-fetch-times.php because i was seeing long wait times loading index.php and was able to fix that with permissions to cache dir so that all great. but i do see this and not sure where to go to resolve it.

Code: Select all

--checking NWS Warning Zone ATOM/CAP Feed --
Using $SITE['noaazone'] entry for test.
URL: http://alerts.weather.gov/cap/wwaatmget.php?zone=OHZ033
Cache: ./cache/atom-advisory-OHZ033.txt
GET /cap/wwaatmget.php?zone=OHZ033 HTTP/1.1 
      Host: alerts.weather.gov  Port: 80 IP=104.64.48.200
HTTP stats: dns=0.014 conn=0.037 put=0.000 get(7 blocks)=0.039 close=0.000 total=0.090 secs 
fetch function elapsed= 0 secs.
RC=301 Moved Permanently, bytes=198
------------
Headers returned:

HTTP/1.1 301 Moved Permanently
Server: AkamaiGHost
Content-Length: 0
Location: https://alerts.weather.gov/cap/wwaatmget.php?zone=OHZ033
Date: Sun, 09 Oct 2016 05:38:58 GMT
Connection: clos
------------

Skipped cache write test to ./cache/atom-advisory-OHZ033.txt file.
--end NWS Warning Zone ATOM/CAP Feed check --
Now it does write atom-advisory-OHZ033.txt file in the parent dir and if i go to the url it calls for i see an error there http://alerts.weather.gov/cap/wwaatmget.php?zone=OHZ033
Is this just something i did not set up right?
User avatar
saratogaWX
Posts: 1185
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: NWS Warning Zone ATOM/CAP Feed

Post by saratogaWX »

You likely need an update to the support scripts as the NWS has switched to https mode for access to alerts.weather.gov site.

Use check-fetch-times.php?show=versions on your site to show which scripts are not at current levels and get a link to use the updates tool page to get the needed updates.

It would help to have the URL to your weather website .. it is very difficult to diagnose issues when only a description of the problem is available.

Best regards,
Ken
jlmr731
Posts: 225
Joined: Sat 27 Aug 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Wickliffe, Ohio
Contact:

Re: NWS Warning Zone ATOM/CAP Feed

Post by jlmr731 »

Ok there were 2 files out of date get-nnvl-iod.php and radar-status and I updated them and as far as i can tell the rest thats not listed should be fine.
Still get that error
Check out the site here http://youngstownwx.duckdns.org/test there is still stuff todo but want to squash the bugs first.
Thanks for any help and all the time you spent making this.
User avatar
saratogaWX
Posts: 1185
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: NWS Warning Zone ATOM/CAP Feed

Post by saratogaWX »

Looks like I need to update the check-fetch-times.php basic script to be https compatible.. the test for alerts.weather.gov is still using http, not https which is now required. So, for now, just ignore the 301 response for alerts.weather.gov.. that's Akamai's way of saying 'use https' for the access.

The check-fetch-times.php?show=info will display the 'readiness' of the cache (near the bottom of the page) and the status of a few other expected things.
jlmr731
Posts: 225
Joined: Sat 27 Aug 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Wickliffe, Ohio
Contact:

Re: NWS Warning Zone ATOM/CAP Feed

Post by jlmr731 »

That sounds great and good to find this before they turned http off completely. So I guess anything that comes from NWS/NOAA will be going that way soon.
Post Reply