buoy-data.php V1.19 released .. use curl/https for www.ndbc.noaa.gov data

Looks like www.ndbc.noaa.gov switched to mandatory https access, and the V1.18 script was http-only.

The V1.19 script now uses curl for the access via https and has a couple of minor fixes for PHP7+

Download from the script page

Thanks to Bob from http://www.ka5zci.com/ for the heads-up!

Best regards,
Ken

Hi Ken,

I updated to the new script and now all the Bouys say No Recent Report.

I uninstalled everything and uploaded the default files which shows California instead of the North East and still everything shows No recent reports.

If I SSH into my server and curl and url to any https:// url it shows fine, so I am at a loss.

The cache file is NDBC-buoydata.txt (and buoydataE.txt and is set to attributes of 777 and is blank.

Url is http://weather.satelliteguys.us/buoy-data.php
http://weather.satelliteguys.us/buoy-test-php
http://weather.satelliteguys.us/buoy-data-config.txt

Thanks Ken, Happy 4th!

Doing a view-source on your buoy-data.php page shows


so the problem seems to be in DNS resolution on your webserver for www.ndbc.noaa.gov IP address.
This is something only your webhoster can correct – submit a trouble ticket for them to handle the problem.