jebusdriver / absxml

Automatically exported from code.google.com/p/absxml
0 stars 0 forks source link

Timeout error #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following error occurs for various publications. For some reason 640101 
still works however. 

Same code runs locally with no error. 

Needs to be fixed ASAP - cannot advertise service till its fixed.

java.io.IOException: Timeout while fetching: 
http://www.ausstats.abs.gov.au/ausstats/meisubs.nsf/LatestTimeSeries/520600
1_key_aggregates/$FILE/5206001_key_aggregates.xls
    at 
com.google.appengine.api.urlfetch.URLFetchServiceImpl.handleApplicationExce
ption(URLFetchServiceImpl.java:69)
    at 
com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService
Impl.java:42)
    at 
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$
Connection.fetchResponse(URLFetchServiceStreamHandler.java:408)
    at 
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$
Connection.getInputStream(URLFetchServiceStreamHandler.java:290)
    at com.benrhughes.absxml.XMLConverter.getData(XMLConverter.java:67)
    at com.benrhughes.absxml.AbsxmlServlet.doGet(AbsxmlServlet.java:28)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
    at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle
r.java:1093)
    at 
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionF
ilter.java:35)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle
r.java:1084)
    at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans
actionCleanupFilter.java:43)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle
r.java:1084)
    at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
    at 
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    at 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionH
andlerMap.java:238)
    at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
    at org.mortbay.jetty.Server.handle(Server.java:313)
    at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
    at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnecti
on.java:830)
    at 
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequ
estParser.java:76)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
    at 
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques
t(JettyServletEngineAdapter.java:139)
    at 
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:23
9)
    at 
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequ
est(RuntimePb.java:5135)
    at 
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequ
est(RuntimePb.java:5133)
    at 
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingAp
plicationHandler.java:24)
    at 
com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:363)
    at com.google.net.rpc.impl.Server$2.run(Server.java:814)
    at 
com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:5
6)
    at 
com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpa
nBuilder.java:516)
    at com.google.net.rpc.impl.Server.startRpc(Server.java:769)
    at com.google.net.rpc.impl.Server.processRequest(Server.java:351)
    at 
com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.j
ava:437)
    at 
com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:319)
    at 
com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:290)
    at 
com.google.net.async.Connection.handleReadEvent(Connection.java:436)
    at 
com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.j
ava:762)
    at 
com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:207)
    at 
com.google.net.async.EventDispatcher.loop(EventDispatcher.java:101)
    at 
com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:251)
    at 
com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run(JavaRuntime.java:
396)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by benrhughes on 7 Nov 2009 at 12:38

GoogleCodeExporter commented 9 years ago
Default urlfetch timeout on app engine is 5sec. Increased the timeout to the 
max 
allowed of 10sec.

Relevant checkin: http://code.google.com/p/absxml/source/detail?r=23

Original comment by benrhughes on 8 Nov 2009 at 1:13