Error on AppEngine

48 views
Skip to first unread message

Andrew

unread,
Oct 26, 2011, 2:13:59 PM10/26/11
to Twitter4J
Wondering if someone can help me. I have an application on AppEngine
that polls a twitter list every so often. Yesterday evening (CST) it
all of a sudden stopped working. On my development instance,
twitter4j works just as expected, but on AppEngine, I am getting
this. Any suggestions would be great!

java.lang.RuntimeException: Could not fetch URL:
http://api.twitter.com/1/lists/statuses.json?list_id=56683487&include_entities=true&include_rts=trueRelevant
discussions can be on the Internet at:
http://www.google.co.jp/search?q=66bcf48c or
http://www.google.co.jp/search?q=2aac40bf
TwitterException{exceptionCode=[66bcf48c-2aac40bf 1be7d489-2adbd2e8],
statusCode=-1, retryAfter=-1, rateLimitStatus=null,
featureSpecificRateLimitStatus=null, version=2.2.5}
at
foodtruck.twitter.TwitterServiceImpl.updateTwitterCache(TwitterServiceImpl.java:
87)
at
foodtruck.server.TweetCacheUpdateServlet.run(TweetCacheUpdateServlet.java:
40)
at
foodtruck.server.TweetCacheUpdateServlet.doGet(TweetCacheUpdateServlet.java:
34)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:
231)
at
com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:
142)
at
com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:
95)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
63)
at
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:
122)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:
110)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:
97)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:
35)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
43)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
418)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:
249)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
542)
at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:923)
at
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:
76)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:
135)
at com.google.apphosting.runtime.JavaRuntime
$RequestRunnable.run(JavaRuntime.java:393)
at com.google.tracing.TraceContext
$TraceContextRunnable.runInContext(TraceContext.java:449)
at com.google.tracing.TraceContext$TraceContextRunnable
$1.run(TraceContext.java:455)
at com.google.tracing.TraceContext.runInContext(TraceContext.java:
695)
at com.google.tracing.TraceContext
$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:
333)
at com.google.tracing.TraceContext
$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:
325)
at com.google.tracing.TraceContext
$TraceContextRunnable.run(TraceContext.java:453)
at com.google.apphosting.runtime.ThreadGroupPool
$PoolEntry.run(ThreadGroupPool.java:160)
at java.lang.Thread.run(Thread.java:679)
Caused by: Could not fetch URL:
http://api.twitter.com/1/lists/statuses.json?list_id=56683487&include_entities=true&include_rts=trueRelevant
discussions can be on the Internet at:
http://www.google.co.jp/search?q=66bcf48c or
http://www.google.co.jp/search?q=2aac40bf
TwitterException{exceptionCode=[66bcf48c-2aac40bf 1be7d489-2adbd2e8],
statusCode=-1, retryAfter=-1, rateLimitStatus=null,
featureSpecificRateLimitStatus=null, version=2.2.5}
at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:
200)
at
twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:
65)
at
twitter4j.internal.http.HttpClientWrapper.get(HttpClientWrapper.java:
85)
at twitter4j.TwitterImpl.get(TwitterImpl.java:1895)
at twitter4j.TwitterImpl.getUserListStatuses(TwitterImpl.java:714)
at
foodtruck.twitter.TwitterServiceImpl.updateTwitterCache(TwitterServiceImpl.java:
71)
... 39 more
Caused by: java.io.IOException: Could not fetch URL:
http://api.twitter.com/1/lists/statuses.json?list_id=56683487&include_entities=true&include_rts=true
at
com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:
115)
at
com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:
42)
at
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
$Connection.fetchResponse(URLFetchServiceStreamHandler.java:418)
at
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
$Connection.getInputStream(URLFetchServiceStreamHandler.java:297)
at
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
$Connection.getResponseCode(URLFetchServiceStreamHandler.java:150)
at
twitter4j.internal.http.HttpResponseImpl.<init>(HttpResponseImpl.java:
35)
at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:
164)


Nischal Shetty

unread,
Oct 26, 2011, 5:42:34 PM10/26/11
to twit...@googlegroups.com
I too am facing this issue.. please star and post your problem in these two issues :







--
Follow the latest updates: http://twitter.com/t4j_news
Current Version - Stable: 2.2.5, in development: 2.2.6-SNAPSHOT
http://twitter4j.org/jira/secure/IssueNavigator.jspa?requestId=10030
Issue tracker: http://twitter4j.org/jira/browse/TFJ

To post to this group, send email to twit...@googlegroups.com
To unsubscribe, visit this group at http://groups.google.com/group/twitter4j?hl=en



--
-Nischal
twitter: NischalShetty
facebook: Nischal

    


Nischal Shetty

unread,
Oct 26, 2011, 7:02:18 PM10/26/11
to twit...@googlegroups.com
The problem most probably seems to be on twitter's end. 

You can subscribe to this discussion thread on twitter https://dev.twitter.com/discussions/3218
Reply all
Reply to author
Forward
0 new messages