EIDA / webdc3

WebDC3 is the webinterface for EIDA.
http://geofon.gfz-potsdam.de/software/webdc3/
GNU General Public License v3.0
11 stars 9 forks source link

USGS Catalogue #10

Closed Jollyfant closed 7 years ago

Jollyfant commented 7 years ago

Hi guys, we got a report that USGS event catalogue crashes when it is queried:

Failed to get events: Error 503: Temporarily Unavailable

Service 'comcat': No answer from URL / <urlopen error [Errno 101] Network is unreachable>. 

Request:
http://knmi-orweb-l02p.knmi.ssc-campus.nl/event/comcat?start=2017-08-29&end=2017-09-06&minmag=3&maxmag=10&mindepth=0&maxdepth=999&minlat=-90&minlon=-180&maxlat=90&maxlon=180&format=json&_=1504624463100

Request Submitted:
2017-09-05 15:14:22.788554

Service version:
2015.035 

Any ideas? Using WebDC3 v1.1 (2017.096).

Jollyfant commented 7 years ago

I don't know if this is a config. problem at our end or not. It works @webdc3.eu - what do you think @pevans-gfz?.

Jollyfant commented 7 years ago

Anyone @andres-h? Our instance is here:

http://145.23.3.21/webdc3/

andres-h commented 7 years ago

See http://145.23.3.21/webdc3/wsgi/event/comcat?start=2017-09-14&end=2017-09-22&minmag=3&maxmag=10&mindepth=0&maxdepth=999&minlat=-90&minlon=-180&maxlat=90&maxlon=180&format=json

Is http://earthquake.usgs.gov/fdsnws/event/1/query (event.service.comcat.baseURL) reachable from your server.

andres-h commented 7 years ago

Probably you are using the old comcat settings. Correct is:

event.service.comcat.handler = "fdsnws"
event.service.comcat.baseURL = "http://earthquake.usgs.gov/fdsnws/event/1/query"
event.service.comcat.extraParams = "format=text"
Jollyfant commented 7 years ago

Ok thanks it works now! Will you update the config sample or shall I make a pull?

M

Jollyfant commented 7 years ago

https://github.com/EIDA/webdc3/blob/master/wsgi/webinterface.cfg.sample#L79-L81

This one.

andres-h commented 7 years ago

Updated now.

Jollyfant commented 7 years ago

Fixed in https://github.com/EIDA/webdc3/commit/c60b40eb915fccdebe39cac09a7e88ac375b8afc