Author Topic: wxforecast.php and NWS Forecast Stopped working  (Read 376 times)

0 Members and 1 Guest are viewing this topic.

Offline scottct1

  • Member
  • *
  • Posts: 21
    • Newington, CT Weather
wxforecast.php and NWS Forecast Stopped working
« on: February 11, 2019, 02:09:36 PM »
Hi I run the weather site http://weather.satelliteguys.us and for the last few days my NWS forecast on my homepage and forcasts at http://weather.satelliteguys.us/wxforecast.php is not working (although New York City IS working in wxforecast.php)

I haven't changed anything lately and just checked my site and updated to the latest files from Kens site.

Any ideas?

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7381
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: wxforecast.php and NWS Forecast Stopped working
« Reply #1 on: February 11, 2019, 02:17:09 PM »
Looks like the gridpoint forecast is returning a 404
Quote
<!-- curl fetching 'https://api.weather.gov/gridpoints/BOX/20,36/forecast' -->
<!-- HTTP stats:  RC=404 dest=23.36.192.31 port=443 (from sce=104.238.102.28)
      Times: dns=0.001 conn=0.061 pxfer=0.194 get=0.236 total=0.430 secs -->
<!-- headers returned:
HTTP/2 404
server: nginx/1.12.2
content-type: application/problem+json
access-control-allow-origin: *
pragma: no-cache
x-server-id: vm-lnx-nids-apiapp4.ncep.noaa.gov
x-correlation-id: 70b27b10-a8eb-4a99-8aa8-06c22aac0aa0
x-request-id: 70b27b10-a8eb-4a99-8aa8-06c22aac0aa0
cache-control: private, must-revalidate, max-age=900
expires: Mon, 11 Feb 2019 19:27:49 GMT
date: Mon, 11 Feb 2019 19:12:49 GMT
content-length: 360
vary: Accept
strict-transport-security: max-age=31536000 ; includeSubDomains ; preload
 -->

It's a NWS problem with the data in api.weather.gov -- contact your local WFO
Quote
    [WFOname] => Boston / Norton, MA
    [WFOphone] => 508.622.3250
    [WFOemail] => box.webmaster@noaa.gov
and let them know that the gridpoint forecast for https://api.weather.gov/gridpoints/BOX/20,36/forecast is returning an error (404)
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline scottct1

  • Member
  • *
  • Posts: 21
    • Newington, CT Weather
Re: wxforecast.php and NWS Forecast Stopped working
« Reply #2 on: February 11, 2019, 02:19:16 PM »
Thanks but what is a WFO and where do I contact them?

Thanks!

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7381
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: wxforecast.php and NWS Forecast Stopped working
« Reply #3 on: February 11, 2019, 02:20:47 PM »
WFO=Weather Field Office.  Yours is Boston/Norton, MA.  Phone 508.622.3250
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline scottct1

  • Member
  • *
  • Posts: 21
    • Newington, CT Weather
Re: wxforecast.php and NWS Forecast Stopped working
« Reply #4 on: February 11, 2019, 02:22:11 PM »
Thanks!

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 482
    • LexMAWeather
Re: wxforecast.php and NWS Forecast Stopped working
« Reply #5 on: February 11, 2019, 08:23:29 PM »
BOX has been returning 404s using the new API for a few days now. I reached out but haven't heard anything back.

Offline scottct1

  • Member
  • *
  • Posts: 21
    • Newington, CT Weather
Re: wxforecast.php and NWS Forecast Stopped working
« Reply #6 on: February 11, 2019, 08:27:04 PM »
I contacted them as well and no reply as well.

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 482
    • LexMAWeather
Re: wxforecast.php and NWS Forecast Stopped working
« Reply #7 on: February 13, 2019, 12:22:14 PM »
Hey - I got a reply.

They recommend using the helpdesk email address - toc.nwstg@noaa.gov - to report outages such as this.

Anyway, they do know about it and are working on a fix.



Offline scottct1

  • Member
  • *
  • Posts: 21
    • Newington, CT Weather
Re: wxforecast.php and NWS Forecast Stopped working
« Reply #8 on: February 14, 2019, 11:03:51 AM »
I sent an email to the top address and they open a ticket and fixed the problem (yippie!)

Here is their reply.

Email from IDP Hazari:
.

This is a known issue and is related to another ticket that is open with Dataflow (TID:902090016)

The recommendation from SDB (developers) is to restart the forecast-ws services on all ( vm-lnx-nids-fcws{1-8} ) at CP. The cmd is..

systemctl restart forecast-ws

i just restarted the forecast-ws service. It seems OK now. Ticket cna be closed


===================
2019-02-14 15:15:24 GMT Contacted IDP Helpdesk and spoke with Jay who will have someone look at the issue. TC/SMM


===================
2019-02-14 15:09:26 GMT Added [NCO #QZY-99526-668] to the ticket subject line. (CJJ)


===================
2019-02-14 15:03:10 GMT TC will contact IDSB Onboarding Team after receiving helpdesk ticket number. TC/SMM

All is working for me again.