Thread: data select no data 404

Started: 2011-11-22 19:19:33
Last activity: 2011-11-22 19:24:39
Topics: Web Services
Philip Crotwell
2011-11-22 19:19:33
Just got this for a request that I am pretty sure should have data. At
least the data is there in the IRIS_DataCenter DHI service. Is there a
problem with the dataselect web service?

thanks
Philip

http://www.iris.edu/ws/dataselect/query?net=CO&sta=JSC&loc=00&cha=HHZ&start=2011-08-23T17.50.00&end=2010-02-27T17.60.00&quality=B&ref=direct

HTTP Error 404: Not Found


The dataselect webservice was unable to find any data for your
request: unable to find data for:
CO.JSC.00.HHZ.2011.235.17.50.00.000-2010.058.18.00.00.000.miniseed


java.io.FileNotFoundException: unable to find data for:
CO.JSC.00.HHZ.2011.235.17.50.00.000-2010.058.18.00.00.000.miniseed
at edu.iris.dmc.dataselect.DataSelectServlet.serviceRequest(DataSelectServlet.java:232)
at edu.iris.dmc.dataselect.DataSelectServlet.doGet(DataSelectServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:647)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)


Version: Dataselect Service:1.7.13
ranch3:${http.port}

  • Rick Benson
    2011-11-22 16:24:20
    HI, Philip-
    Take a look and note that the endtime window is earlier than the starttime window,
    probably leading your browser to look back to the future.
    Hope this helps-
    Rick

    On Nov 22, 2011, at 8:19 AM, Philip Crotwell wrote:

    Just got this for a request that I am pretty sure should have data. At
    least the data is there in the IRIS_DataCenter DHI service. Is there a
    problem with the dataselect web service?

    thanks
    Philip

    http://www.iris.edu/ws/dataselect/query?net=CO&sta=JSC&loc=00&cha=HHZ&start=2011-08-23T17.50.00&end=2010-02-27T17.60.00&quality=B&ref=direct

    HTTP Error 404: Not Found


    The dataselect webservice was unable to find any data for your
    request: unable to find data for:
    CO.JSC.00.HHZ.2011.235.17.50.00.000-2010.058.18.00.00.000.miniseed


    java.io.FileNotFoundException: unable to find data for:
    CO.JSC.00.HHZ.2011.235.17.50.00.000-2010.058.18.00.00.000.miniseed
    at edu.iris.dmc.dataselect.DataSelectServlet.serviceRequest(DataSelectServlet.java:232)
    at edu.iris.dmc.dataselect.DataSelectServlet.doGet(DataSelectServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
    at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:647)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)


    Version: Dataselect Service:1.7.13
    ranch3:${http.port}
    _______________________________________________
    webservices mailing list
    webservices<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/webservices

    ================
    Rick Benson
    Director of Operations
    IRIS DMC
    (206)547-0393 ext. 119(office)
    rick<at>iris.washington.edu





  • Bruce Weertman
    2011-11-22 17:37:13
    Philip:

    There's a few problems here.

    (1) start = 2011-08-23T17.50.00 and end = 2010-02-27T17.60.00
    start time is after the end time. I wouldn't expect to get much data
    for that (although you never know).

    (2) I'm wondering if the web service should have returned a 400 (Bad
    Request) instead of a 404 (No Data).

    (3) If you swap start and end you'll still get an error:

    HTTP Error 400: Bad Request
    The dataselect webservice was unable to understand your request: too
    many days requested. greater than 31: 541

    If you need that much data, try ws-bulkdataselect, although I'm not
    guaranteeing that will work; it may timeout.

    Long time ranges tend to cause timeouts since the underlying data
    retrieval mechanism tends to take so long
    before it starts to deliver data. If you do run into problems with
    retrieving long time segments, consider breaking
    the request into smaller pieces.

    Cheers,
    -Bruce



    On Nov 22, 2011, at 8:19 AM, Philip Crotwell wrote:

    Just got this for a request that I am pretty sure should have data. At
    least the data is there in the IRIS_DataCenter DHI service. Is there a
    problem with the dataselect web service?

    thanks
    Philip

    http://www.iris.edu/ws/dataselect/query?net=CO&sta=JSC&loc=00&cha=HHZ&start=2011-08-23T17.50.00&end=2010-02-27T17.60.00&quality=B&ref=direct

    HTTP Error 404: Not Found


    The dataselect webservice was unable to find any data for your
    request: unable to find data for:
    CO.JSC.00.HHZ.2011.235.17.50.00.000-2010.058.18.00.00.000.miniseed


    java.io.FileNotFoundException: unable to find data for:
    CO.JSC.00.HHZ.2011.235.17.50.00.000-2010.058.18.00.00.000.miniseed
    at
    edu
    .iris
    .dmc
    .dataselect.DataSelectServlet.serviceRequest(DataSelectServlet.java:
    232)
    at
    edu
    .iris.dmc.dataselect.DataSelectServlet.doGet(DataSelectServlet.java:
    85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at
    org
    .apache
    .catalina
    .core
    .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
    290)
    at
    org
    .apache
    .catalina
    .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
    org
    .apache
    .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
    233)
    at
    org
    .apache
    .catalina.core.StandardContextValve.invoke(StandardContextValve.java:
    191)
    at
    org
    .apache
    .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at
    org
    .apache
    .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
    554)
    at
    org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:
    647)
    at
    org
    .apache
    .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
    109)
    at
    org
    .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
    298)
    at
    org
    .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
    859)
    at org.apache.coyote.http11.Http11Protocol
    $Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint
    $Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)


    Version: Dataselect Service:1.7.13
    ranch3:${http.port}
    _______________________________________________
    webservices mailing list
    webservices<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/webservices

    --------------------------------------
    Bruce R Weertman
    Software Engineer
    IRIS DMC
    1408 NE 45h St, Suite 201
    Seattle, WA 98105

    bruce<at>iris.washington.edu
    (206) 547-0393


  • Philip Crotwell
    2011-11-22 19:24:39
    Never mind, it appears that the url builder messed up my time window.

    Maybe checking for endtime > begin time would be a good thing in both
    the URL builder as well as the web service itself as otherwise the
    error message is not very informative.

    sorry
    Philip

    On Tue, Nov 22, 2011 at 11:19 AM, Philip Crotwell <crotwell<at>seis.sc.edu> wrote:
    Just got this for a request that I am pretty sure should have data. At
    least the data is there in the IRIS_DataCenter DHI service. Is there a
    problem with the dataselect web service?

    thanks
    Philip

    http://www.iris.edu/ws/dataselect/query?net=CO&sta=JSC&loc=00&cha=HHZ&start=2011-08-23T17.50.00&end=2010-02-27T17.60.00&quality=B&ref=direct

    HTTP Error 404: Not Found


    The dataselect webservice was unable to find any data for your
    request: unable to find data for:
    CO.JSC.00.HHZ.2011.235.17.50.00.000-2010.058.18.00.00.000.miniseed


    java.io.FileNotFoundException: unable to find data for:
    CO.JSC.00.HHZ.2011.235.17.50.00.000-2010.058.18.00.00.000.miniseed
    at edu.iris.dmc.dataselect.DataSelectServlet.serviceRequest(DataSelectServlet.java:232)
    at edu.iris.dmc.dataselect.DataSelectServlet.doGet(DataSelectServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
    at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:647)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)


    Version: Dataselect Service:1.7.13
    ranch3:${http.port}



09:16:48 v.e73c6799