{"action":"closed","issue":{"url":"https://api.github.com/repos/getlantern/lantern/issues/2072","labels_url":"https://api.github.com/repos/getlantern/lantern/issues/2072/labels{/name}","comments_url":"https://api.github.com/repos/getlantern/lantern/issues/2072/comments","events_url":"https://api.github.com/repos/getlantern/lantern/issues/2072/events","html_url":"https://github.com/getlantern/lantern/issues/2072","id":51944036,"number":2072,"title":"[controller] ApiDeadlineExceededException: The API call xmpp.SendMessage() took too long to respond and was cancelled.","user":{"login":"aranhoide","id":2204867,"avatar_url":"https://avatars.githubusercontent.com/u/2204867?v=3","gravatar_id":"","url":"https://api.github.com/users/aranhoide","html_url":"https://github.com/aranhoide","followers_url":"https://api.github.com/users/aranhoide/followers","following_url":"https://api.github.com/users/aranhoide/following{/other_user}","gists_url":"https://api.github.com/users/aranhoide/gists{/gist_id}","starred_url":"https://api.github.com/users/aranhoide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aranhoide/subscriptions","organizations_url":"https://api.github.com/users/aranhoide/orgs","repos_url":"https://api.github.com/users/aranhoide/repos","events_url":"https://api.github.com/users/aranhoide/events{/privacy}","received_events_url":"https://api.github.com/users/aranhoide/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/getlantern/lantern/milestones/31","html_url":"https://github.com/getlantern/lantern/milestones/Medium-term","labels_url":"https://api.github.com/repos/getlantern/lantern/milestones/31/labels","id":458538,"number":31,"title":"Medium-term","description":"Issues that would be good to do soon, but aren't scheduled to a release. Roughly things that should be done within the next nine months.","creator":{"login":"cholmes","id":407017,"avatar_url":"https://avatars.githubusercontent.com/u/407017?v=3","gravatar_id":"","url":"https://api.github.com/users/cholmes","html_url":"https://github.com/cholmes","followers_url":"https://api.github.com/users/cholmes/followers","following_url":"https://api.github.com/users/cholmes/following{/other_user}","gists_url":"https://api.github.com/users/cholmes/gists{/gist_id}","starred_url":"https://api.github.com/users/cholmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cholmes/subscriptions","organizations_url":"https://api.github.com/users/cholmes/orgs","repos_url":"https://api.github.com/users/cholmes/repos","events_url":"https://api.github.com/users/cholmes/events{/privacy}","received_events_url":"https://api.github.com/users/cholmes/received_events","type":"User","site_admin":false},"open_issues":114,"closed_issues":52,"state":"open","created_at":"2013-10-18T13:58:48Z","updated_at":"2015-03-20T21:51:33Z","due_on":"2015-09-01T07:00:00Z","closed_at":null},"comments":2,"created_at":"2014-12-15T02:58:00Z","updated_at":"2015-03-20T21:51:33Z","closed_at":"2015-03-20T21:51:33Z","body":"This looks very similar to https://github.com/getlantern/lantern/issues/2070 .  ~~In both cases, the comically long and bureaucracy-sounding stack trace doesn't have any frame in a class from a package under the `org.lantern` namespace.~~ (Correction: both have such a frame.  It's not very revealing in #2070, but here it shows that the problem happens in `XmppAvailableServlet.sendResponse`.)\r\n\r\n```\r\n        nSimilarSuppressed: 0\r\n        reporterId: lanternctrl1-2.appspot.com\r\n        stackTrace:\r\n        com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API call xmpp.SendMessage() took too long to respond and was cancelled.\r\n        at java.lang.Thread.getStackTrace(Thread.java:1568)\r\n        at com.google.apphosting.runtime.ApiProxyImpl.doSyncCall(ApiProxyImpl.java:258)\r\n        at com.google.apphosting.runtime.ApiProxyImpl.access$000(ApiProxyImpl.java:69)\r\n        at com.google.apphosting.runtime.ApiProxyImpl$1.run(ApiProxyImpl.java:201)\r\n        at com.google.apphosting.runtime.ApiProxyImpl$1.run(ApiProxyImpl.java:198)\r\n        at java.security.AccessController.doPrivileged(Native Method)\r\n        at com.google.apphosting.runtime.ApiProxyImpl.makeSyncCall(ApiProxyImpl.java:198)\r\n        at com.google.apphosting.runtime.ApiProxyImpl.makeSyncCall(ApiProxyImpl.java:69)\r\n        at com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:116)\r\n        at com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:65)\r\n        at com.google.appengine.api.xmpp.XMPPServiceImpl.doMessageRpc(XMPPServiceImpl.java:328)\r\n        at com.google.appengine.api.xmpp.XMPPServiceImpl.sendMessage(XMPPServiceImpl.java:242)\r\n        at org.lantern.XmppAvailableServlet.sendResponse(XmppAvailableServlet.java:247)\r\n        at org.lantern.XmppAvailableServlet.sendUpdateTime(XmppAvailableServlet.java:189)\r\n        at org.lantern.XmppAvailableServlet.doPost(XmppAvailableServlet.java:120)\r\n        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)\r\n        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\r\n        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)\r\n        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)\r\n        at org.lantern.ExceptionFilter.doFilter(ExceptionFilter.java:25)\r\n        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)\r\n        at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:125)\r\n        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)\r\n        at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35)\r\n        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)\r\n        at com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter(JdbcMySqlConnectionCleanupFilter.java:60)\r\n        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)\r\n        at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)\r\n        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)\r\n        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)\r\n        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)\r\n        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)\r\n        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)\r\n        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)\r\n        at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:254)\r\n        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)\r\n        at org.mortbay.jetty.Server.handle(Server.java:326)\r\n        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)\r\n        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)\r\n        at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76)\r\n        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)\r\n        at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:146)\r\n        at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:484)\r\n        at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:438)\r\n        at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:445)\r\n        at com.google.tracing.CurrentContext.runInContext(CurrentContext.java:220)\r\n        at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:309)\r\n        at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:301)\r\n        at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:442)\r\n        at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:251)\r\n        at java.lang.Thread.run(Thread.java:724)\r\n        Caused by: com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API call xmpp.SendMessage() took too long to respond and was cancelled.\r\n        at com.google.apphosting.runtime.ApiProxyImpl$AsyncApiFuture.setRpcError(ApiProxyImpl.java:523)\r\n        at com.google.apphosting.runtime.ApiProxyImpl$AsyncApiFuture.failure(ApiProxyImpl.java:509)\r\n        at com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher$1.runInContext(RpcStub.java:858)\r\n        at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:445)\r\n        at com.google.tracing.CurrentContext.runInContext(CurrentContext.java:220)\r\n        at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:309)\r\n        at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:301)\r\n        at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:442)\r\n        at com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher.runCallback(RpcStub.java:894)\r\n        at com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher.rpcFinished(RpcStub.java:904)\r\n        at com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher.failure(RpcStub.java:889)\r\n        at com.google.net.rpc3.impl.client.RpcClientInternalContext.runCallbacks(RpcClientInternalContext.java:1118)\r\n        at com.google.net.rpc3.impl.client.RpcClientInternalContext.access$200(RpcClientInternalContext.java:117)\r\n        at com.google.net.rpc3.impl.client.RpcClientInternalContext$1.run(RpcClientInternalContext.java:1011)\r\n        at com.google.net.eventmanager.AbstractFutureTask$Sync.innerRun(AbstractFutureTask.java:260)\r\n        at com.google.net.eventmanager.AbstractFutureTask.run(AbstractFutureTask.java:121)\r\n        at com.google.net.eventmanager.EventManagerImpl.runTask(EventManagerImpl.java:594)\r\n        at com.google.net.eventmanager.EventManagerImpl.internalRunWorkerLoop(EventManagerImpl.java:1011)\r\n        at com.google.net.eventmanager.EventManagerImpl.runWorkerLoop(EventManagerImpl.java:892)\r\n        at com.google.net.eventmanager.WorkerThreadInfo.runWorkerLoop(WorkerThreadInfo.java:161)\r\n        at com.google.net.eventmanager.EventManagerImpl$WorkerThread.run(EventManagerImpl.java:1879)\r\n        fullMessage: Uncaught exception: The API call xmpp.SendMessage() took too long to respond and was cancelled.\r\n        locationInfo: None\r\n        occurredAt: 1418372317315\r\n        key: java.lang.Thread.getStackTrace(Thread.java:1568)\r\n        message: Uncaught exception: The API call xmpp.SendMessage() took too long to respond and was cancelled.\r\n    http:\r\n        clientHost: 107.178.194.98\r\n        contentType: application/x-www-form-urlencoded\r\n```"}}