Author Topic: Metar server down ?  (Read 6897 times)

0 Members and 1 Guest are viewing this topic.

Offline Mearns

  • Senior Member
  • **
  • Posts: 61
    • Glenbervie Weather
Re: Metar server down ?
« Reply #25 on: February 08, 2019, 07:58:45 AM »
Strange - my metar displays are also down on the east coast of Scotland, ie for EGPD with "unable to load EGPD data RC=" but the metar displays at Lochaber Weather on the west coast of Scotland and ConligWX in Ireland are working.
Tony
Glenbervie, North East Scotland, http://www.glenbervie-weather.org

Vantage Pro 2 - Weather Display 10.37S Build 81

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7514
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Metar server down ?
« Reply #26 on: February 08, 2019, 10:33:52 AM »
It looks like a problem with DNS on your webserver.  The get-metar-conditions-inc.php script is at the current version.

Doing a view-source on wxmetar.php?debug=y&force=1 to force a cache reload and diagnostic output shows
Quote
<!-- get-metar-conditions-inc.php - Version 1.17 - 30-Nov-2018 -->
<!-- mtr_conditions using METAR ICAO='EGPD' -->
<!-- curl fetching 'https://tgftp.nws.noaa.gov/data/observations/metar/stations/EGPD.TXT' -->
<!-- curl Error: Could not resolve: tgftp.nws.noaa.gov (Domain name not found) -->
<!-- HTTP stats:  RC=0 dest= port=0 (from sce=)
      Times: dns=0.000 conn=0.000 pxfer=0.000 get=0.000 total=0.000 secs -->
Contact your webhoster tech support regarding DNS lookup for tgftp.nws.noaa.gov on your webserver.
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 Mearns

  • Senior Member
  • **
  • Posts: 61
    • Glenbervie Weather
Re: Metar server down ?
« Reply #27 on: February 08, 2019, 05:45:49 PM »
Thanks Ken - it seems to have resolved itself before I could contact my webhost....but at least I know what to do if the identical problem reappears.
Tony
Glenbervie, North East Scotland, http://www.glenbervie-weather.org

Vantage Pro 2 - Weather Display 10.37S Build 81

Offline Atellyer

  • Member
  • *
  • Posts: 3
    • Howth Weather
Re: Metar server down ?
« Reply #28 on: June 19, 2019, 02:58:29 PM »
Hi, I'm having trouble getting the Metar page to update on my site http://weather.earlscliffe.com/wxmetar.php.

Running the debug I am getting the following error. Any clues? Thanks.

<!-- include-metar-display.php - Version 1.06 - 29-Nov-2011 -->
<!-- get-metar-conditions-inc.php - Version 1.17 - 30-Nov-2018 -->
<!-- mtr_conditions using METAR ICAO='EIDW' -->
<!-- curl fetching 'https://tgftp.nws.noaa.gov/data/observations/metar/stations/EIDW.TXT' -->
<!-- curl Error: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure -->
<!-- HTTP stats:  RC=0
      Times: dns=0.059 conn=0.196 pxfer=0.000 total=0.000 secs -->
<!-- headers returned:

 -->
<!-- mtr_conditions returns RC='' for ICAO/METAR='EIDW' -->
<!-- mtr_conditions returns
condwords='unable to load EIDW data RC=', iconnum=5, condicon='day_partly_cloudy.gif',
condicondesc='unable to load EIDW data RC='
metarUpdated = 1560973967 2019-06-19 07:52 GMT (19/06/2019 20:52)
 -->

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7514
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Metar server down ?
« Reply #29 on: June 19, 2019, 04:57:46 PM »
That CURL error may be due to your PHP Version: 5.5.18 -- that version may not have the SSLv3 routines updated.

Current PHP is V7.3 -- try updating your site to a more recent version of PHP.

Also, running check-fetch-times.php?show=versions results in a curl failure to get the current version info, so I suspect there may be a curl issue on your site (that may need to be fixed by your hoster).  Strangely enough, the https access to temis.nl, api.weather.com and meteoalarm.eu seem to work fine when tested.
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 Atellyer

  • Member
  • *
  • Posts: 3
    • Howth Weather
Re: Metar server down ?
« Reply #30 on: June 19, 2019, 06:44:36 PM »
Thanks for that. I will get on to my host company and see if they can at least update PHP. This hosting site is old. I may need to look elsewhere for a more modern one. Thanks again for the update.

Offline Atellyer

  • Member
  • *
  • Posts: 3
    • Howth Weather
Re: Metar server down ?
« Reply #31 on: June 25, 2019, 04:39:49 PM »
Now sorted. Have moved to a new server. Although not the latest, the PHP version of 5.6.40 is allowing the Metar service to be displayed on my site. Thanks again for your help. [tup]