I updated my website termplates for boulderwx.com on January 9. One of the most attractive additions IMHO is the earthquake map feature. I had a google maps API key etc., and quickly got it working fine. However since then I've noticed that most of the time the map does not display and What does display is:
"The USGS feed for earthquakes was not available at this time."
Of course I can follow the link to USGS and there is a map that displays there. So my question is...is the USGS site just too busy or flaky or is it possible I have a problem? I have set the debug switch in quake-json but I'm not getting any error messages. I also manually added my lat & log inside wxquakes.php but nothing has worked so far. I haven't seen a map in several days so I thought I'd ask...anyone else having a problem?
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
WXQUAKES PROBLEM??
Moderator: saratogaWX
-
- Posts: 92
- Joined: Tue 16 Jun 2015 2:07 pm
- Weather Station: Davis VP2
- Operating System: Raspian, Win7 Pro
- Location: Boulder, CO
- Contact:
WXQUAKES PROBLEM??
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
- ConligWX
- Posts: 1673
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: WXQUAKES PROBLEM??
from your website or another PC? as you website is not loading data, then perhaps it is having problems accessing the URL.Of course I can follow the link to USGS and there is a map that displays there.
can you post/attach you wxquake.php file here.
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- saratogaWX
- Posts: 1211
- 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: WXQUAKES PROBLEM??
Looking at the view-source for your wxquake.php page shows you're running the current version of the script
What you should see is
I'd check your error_log on the site and see what it says.. likely a curl fatal error is resulting in a truncated return of status data from the curl call with your PHP 5.6.33 webserver.
but... the curl fetch is failing (without an error message or a curl failure code). It is just not returning data, so the "The USGS feed for earthquakes was not available at this time" message is displayed.<!-- quake-json.php V1.13 - 30-May-2017 -->
<!-- lat=40.0652777 long=-105.32666 dist=2000 mag=1.0 distanceDisplay ='mi' -->
<!-- loading ./cache/quakesjson.txt from https://earthquake.usgs.gov/earthquakes ... ek.geojson -->
<!-- curl fetching 'https://earthquake.usgs.gov/earthquakes ... ek.geojson' -->
<!-- HTTP stats: RC=0 dest= port=0 (from sce=)
Times: dns=0.000 conn=0.000 pxfer=0.000 total=0.000 secs -->
<!-- headers returned:
-->
What you should see is
Since your advforecast2.php script uses curl with https successfully (to api.weather.gov), I suspect that the webserver is having a problem with either DNS or routing to the earthquake.usgs.gov website. Most likely, the latter.. a DNS issue usually results in a curl error message.<!-- loading ./cache/quakesjson.txt from https://earthquake.usgs.gov/earthquakes ... ek.geojson -->
<!-- curl fetching 'https://earthquake.usgs.gov/earthquakes ... ek.geojson' -->
<!-- HTTP stats: RC=200 dest=23.33.171.50
Times: dns=0.113 conn=0.127 pxfer=0.171 get=0.171 total=0.342 secs -->
<!-- loading finished. -->
<!-- data last modified Sun, 14 Jan 2018 23:02:15 GMT -->
<!-- Update time = Sun, 14-Jan-2018 23:02:15 GMT UTC-->
<!-- Update time = Sun, 14-Jan-2018 15:02:15 PST Local-->
<!-- content length=831096 -->
<!-- found 1167 earthquake records -->
I'd check your error_log on the site and see what it says.. likely a curl fatal error is resulting in a truncated return of status data from the curl call with your PHP 5.6.33 webserver.
- ConligWX
- Posts: 1673
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: WXQUAKES PROBLEM??
DNS sounds the likely cause. mine is working fine.
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
-
- Posts: 92
- Joined: Tue 16 Jun 2015 2:07 pm
- Weather Station: Davis VP2
- Operating System: Raspian, Win7 Pro
- Location: Boulder, CO
- Contact:
Re: WXQUAKES PROBLEM??
Many thanks for the expert diagnosis. I examined the error log but see nothing associated with this problem. My web host does require me to open up outgoing channels, but the only ones I see are associated with AKAMAI so I think those are associated with a webcrawler. I'll contact the support folks at the web host and see if they can help.
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
-
- Posts: 92
- Joined: Tue 16 Jun 2015 2:07 pm
- Weather Station: Davis VP2
- Operating System: Raspian, Win7 Pro
- Location: Boulder, CO
- Contact:
Re: WXQUAKES PROBLEM??
Problem solved! Looks like Akamai is just a provider. Unblocking the blocked outgoing requests solved the problem. It's odd that it worked for several days then stopped. Thanks for all the expert help!
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: WXQUAKES PROBLEM??
Akamai is a Content Delivery Network. It’s quite possible that USGS use it for their web services.
Steve