503 Service Unavailable: forecast.weather.gov/MapClick

Starting today, when I fetch the MapClick.php from forecast.weather.gov with file_get_contents() the service returns http response header 505.

Example URL: https://forecast.weather.gov/MapClick.php?lat=43.02&lon=-71.6&FcstType=dwml

HTTP Response Header:

Array(
    [0] => HTTP/1.0 503 Service Unavailable
    [1] => Server: AkamaiGHost
    [2] => Mime-Version: 1.0
    [3] => Content-Type: text/html
    [4] => Content-Length: 177
    [5] => Expires: Thu, 11 Jan 2024 15:12:32 GMT
    [6] => Date: Thu, 11 Jan 2024 15:12:32 GMT
    [7] => Connection: close
    [8] => Strict-Transport-Security: max-age=31536000 ; includeSubDomains ; preload )

Published by

Kimball

Kimball is a website designer and developer in Goffstown, NH.

Leave a Reply

Your email address will not be published. Required fields are marked *