Skip to content

Instantly share code, notes, and snippets.

@niks551
Created July 10, 2014 17:17
Show Gist options
  • Save niks551/ccaefd1e1c38ef454b11 to your computer and use it in GitHub Desktop.
Save niks551/ccaefd1e1c38ef454b11 to your computer and use it in GitHub Desktop.
X`20140710171335.150`-6442393717038328317`1436`WARNING``00Dx0000000Gzfj Endpoint Resolution History for class liveagent.sfdc.impl.endpoint.LiveAgentUserEndpointService:
- _INITIAL >> UKNWN_ID: https://corsa08.soma.salesforce.com returned Unkown Org
- UKNWN_ID >> NW_ERROR: https://ist11.soma.salesforce.com returned exception class com.sforce.ws.ConnectionException "Failed to send request to https://ist11.soma.salesforce.com/sfdc/Soap/liveagent/l/30.0", stacktrace:
- com.sforce.ws.transport.SoapConnection.send(Unknown Source)
- com.sforce.soap.liveagent.v188.SoapConnection.getLiveAgentUserSessionKey(SoapConnection.java:148)
- liveagent.sfdc.impl.endpoint.LiveAgentUserEndpointService.getLiveAgentSessionKeyResult(LiveAgentUserEndpointService.java:47)
- liveagent.sfdc.impl.endpoint.ResolutionState.tryNextUrl(ResolutionState.java:116)
- liveagent.sfdc.impl.endpoint.EndpointResolver.resolve(EndpointResolver.java:34)
- liveagent.sfdc.impl.endpoint.EndpointServiceImpl.getEndpoint(EndpointServiceImpl.java:68)
- liveagent.sfdc.impl.SfdcUserSessionImpl.getEndpoint(SfdcUserSessionImpl.java:66)
- liveagent.sfdc.impl.SfdcSessionImpl.initializeEndpoint(SfdcSessionImpl.java:43)
- liveagent.sfdc.impl.SfdcUserSessionImpl.<init>(SfdcUserSessionImpl.java:46)
- liveagent.sfdc.impl.SfdcImpl.getUserSessionService(SfdcImpl.java:39)
- liveagent.user.presence.controllers.PresenceLoginController.handle(PresenceLoginController.java:50)
- liveagent.http.chat.rest.RestServicePresenceHandler.handlePresenceLogin(RestServicePresenceHandler.java:139)
- liveagent.http.chat.rest.RestServicePresenceHandler.handle(RestServicePresenceHandler.java:96)
- liveagent.http.protocol.session.Session.handleMessage(Session.java:209)
- liveagent.http.chat.rest.BaseRequestHandler.doPost(BaseRequestHandler.java:365)
- liveagent.http.chat.rest.BaseRequestHandler.processRequest(BaseRequestHandler.java:204)
- liveagent.http.chat.rest.RestRequestHandler.parseRequest(RestRequestHandler.java:98)
- liveagent.http.chat.rest.BaseRequestHandler.handleRequest(BaseRequestHandler.java:114)
- liveagent.http.chat.rest.AbstractHttpRequestHandler.handleRequest(AbstractHttpRequestHandler.java:51)
- liveagent.http.chat.rest.RestRequestHandlerFactory.handleRequest(RestRequestHandlerFactory.java:38)
- liveagent.http.chat.HttpRequestRouter.messageReceived(HttpRequestRouter.java:119)
- org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
- org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
- org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
- org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)
- org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)
- org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314)
- java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
- java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
- java.lang.Thread.run(Thread.java:619)
- NW_ERROR >> NW_ERROR: https://ist3.soma.salesforce.com returned Unkown Org
- NW_ERROR >> NW_ERROR: https://ist1.soma.salesforce.com returned exception class com.sforce.ws.ConnectionException "Failed to send request to https://ist1.soma.salesforce.com/sfdc/Soap/liveagent/l/30.0", stacktrace:
- com.sforce.ws.transport.SoapConnection.send(Unknown Source)
- com.sforce.soap.liveagent.v188.SoapConnection.getLiveAgentUserSessionKey(SoapConnection.java:148)
- liveagent.sfdc.impl.endpoint.LiveAgentUserEndpointService.getLiveAgentSessionKeyResult(LiveAgentUserEndpointService.java:47)
- liveagent.sfdc.impl.endpoint.ResolutionState.tryNextUrl(ResolutionState.java:116)
- liveagent.sfdc.impl.endpoint.EndpointResolver.resolve(EndpointResolver.java:34)
- liveagent.sfdc.impl.endpoint.EndpointServiceImpl.getEndpoint(EndpointServiceImpl.java:68)
- liveagent.sfdc.impl.SfdcUserSessionImpl.getEndpoint(SfdcUserSessionImpl.java:66)
- liveagent.sfdc.impl.SfdcSessionImpl.initializeEndpoint(SfdcSessionImpl.java:43)
- liveagent.sfdc.impl.SfdcUserSessionImpl.<init>(SfdcUserSessionImpl.java:46)
- liveagent.sfdc.impl.SfdcImpl.getUserSessionService(SfdcImpl.java:39)
- liveagent.user.presence.controllers.PresenceLoginController.handle(PresenceLoginController.java:50)
- liveagent.http.chat.rest.RestServicePresenceHandler.handlePresenceLogin(RestServicePresenceHandler.java:139)
- liveagent.http.chat.rest.RestServicePresenceHandler.handle(RestServicePresenceHandler.java:96)
- liveagent.http.protocol.session.Session.handleMessage(Session.java:209)
- liveagent.http.chat.rest.BaseRequestHandler.doPost(BaseRequestHandler.java:365)
- liveagent.http.chat.rest.BaseRequestHandler.processRequest(BaseRequestHandler.java:204)
- liveagent.http.chat.rest.RestRequestHandler.parseRequest(RestRequestHandler.java:98)
- liveagent.http.chat.rest.BaseRequestHandler.handleRequest(BaseRequestHandler.java:114)
- liveagent.http.chat.rest.AbstractHttpRequestHandler.handleRequest(AbstractHttpRequestHandler.java:51)
- liveagent.http.chat.rest.RestRequestHandlerFactory.handleRequest(RestRequestHandlerFactory.java:38)
- liveagent.http.chat.HttpRequestRouter.messageReceived(HttpRequestRouter.java:119)
- org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
- org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
- org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
- org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)
- org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)
- org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314)
- java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
- java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
- java.lang.Thread.run(Thread.java:619)
Resolution Failed, reason: Endpoint resolution failed due to one or more connection errors
G`20140710171335.158`-6442393717038328317`1436`undefined`undefined`498128403-1`323586945`pool-9-thread-878`HandlerException in liveagent.http.chat.rest.RestServicePresenceHandler.handle (line 117) at liveagent.http.chat.rest.RestServicePresenceHandler.handle(RestServicePresenceHandler.java:117)`liveagent.http.chat.rest.BaseRequestHandler`doPost
Date: Thu Jul 10 17:13:35 GMT+00:00 2014
Hostname: istla2-lapp1-1-sfm.ops.sfdc.net
SettingsPath: null
JavaVersion: 1.6.0_21
UniqueId: 498128403-1
StackTraceId: 323586945
Allowed: 1
Blocked: 0
ThreadId: 1436
ThreadName: pool-9-thread-878
Category: common.util
SubCategory: BaseSfdcGack
SourceClassName: liveagent.http.chat.rest.BaseRequestHandler
SourceMethodName: doPost
OrganizationId: undefined
UserId: undefined
Subject: HandlerException in liveagent.http.chat.rest.RestServicePresenceHandler.handle (line 117)
ExtendedMessage: Error: liveagent.user.controllers.ControllerException: Could not retrieve presence user information from core
VersionInfo:
Branch: main
CreationDate: null
Changelist: 8952653
JavaRelease: 1.6.0_21
SerialNumber: 0
CacheId: 0
AppVersion:
MonitoringlibVersion: 1.2
ContainerVersion:
Thrown: lib.gack.GackContext: liveagent.http.protocol.session.handlers.HandlerException: liveagent.user.controllers.ControllerException: Could not retrieve presence user information from core
Thrown-StackTrace:
at lib.gack.BaseGack.<init>(BaseGack.java:219)
at common.util.BaseSfdcGack.<init>(BaseSfdcGack.java:108)
at common.util.BaseSfdcGack.<init>(BaseSfdcGack.java:82)
at common.util.BaseSfdcGack.<init>(BaseSfdcGack.java:78)
at liveagent.gack.LasGack.send(LasGack.java:76)
at liveagent.gack.LasGack.sendWarning(LasGack.java:31)
at liveagent.http.chat.rest.BaseRequestHandler.doPost(BaseRequestHandler.java:438)
at liveagent.http.chat.rest.BaseRequestHandler.processRequest(BaseRequestHandler.java:204)
at liveagent.http.chat.rest.RestRequestHandler.parseRequest(RestRequestHandler.java:98)
at liveagent.http.chat.rest.BaseRequestHandler.handleRequest(BaseRequestHandler.java:114)
at liveagent.http.chat.rest.AbstractHttpRequestHandler.handleRequest(AbstractHttpRequestHandler.java:51)
at liveagent.http.chat.rest.RestRequestHandlerFactory.handleRequest(RestRequestHandlerFactory.java:38)
at liveagent.http.chat.HttpRequestRouter.messageReceived(HttpRequestRouter.java:119)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)
at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)
at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Cause0: liveagent.http.protocol.session.handlers.HandlerException: liveagent.user.controllers.ControllerException: Could not retrieve presence user information from core
Cause0-StackTrace:
at liveagent.http.chat.rest.RestServicePresenceHandler.handle(RestServicePresenceHandler.java:117)
at liveagent.http.protocol.session.Session.handleMessage(Session.java:209)
at liveagent.http.chat.rest.BaseRequestHandler.doPost(BaseRequestHandler.java:365)
... 15 shared with parent
Cause1: liveagent.user.controllers.ControllerException: Could not retrieve presence user information from core
Cause1-StackTrace:
at liveagent.user.presence.controllers.PresenceLoginController.handle(PresenceLoginController.java:62)
at liveagent.http.chat.rest.RestServicePresenceHandler.handlePresenceLogin(RestServicePresenceHandler.java:139)
at liveagent.http.chat.rest.RestServicePresenceHandler.handle(RestServicePresenceHandler.java:96)
... 17 shared with parent
Cause2: liveagent.sfdc.SfdcNetworkConnectionException: Endpoint resolution failed due to one or more connection errors
Cause2-StackTrace:
at liveagent.sfdc.impl.endpoint.ResStateConnectionError.getEndpoint(ResStateConnectionError.java:26)
at liveagent.sfdc.impl.endpoint.EndpointResolver.resolve(EndpointResolver.java:36)
at liveagent.sfdc.impl.endpoint.EndpointServiceImpl.getEndpoint(EndpointServiceImpl.java:68)
at liveagent.sfdc.impl.SfdcUserSessionImpl.getEndpoint(SfdcUserSessionImpl.java:66)
at liveagent.sfdc.impl.SfdcSessionImpl.initializeEndpoint(SfdcSessionImpl.java:43)
at liveagent.sfdc.impl.SfdcUserSessionImpl.<init>(SfdcUserSessionImpl.java:46)
at liveagent.sfdc.impl.SfdcImpl.getUserSessionService(SfdcImpl.java:39)
at liveagent.user.presence.controllers.PresenceLoginController.handle(PresenceLoginController.java:50)
... 19 shared with parent
Cause3: com.sforce.ws.ConnectionException: Failed to send request to https://ist1.soma.salesforce.com/sfdc/Soap/liveagent/l/30.0
Cause3-StackTrace:
at com.sforce.ws.transport.SoapConnection.send(Unknown Source)
at com.sforce.soap.liveagent.v188.SoapConnection.getLiveAgentUserSessionKey(SoapConnection.java:148)
at liveagent.sfdc.impl.endpoint.LiveAgentUserEndpointService.getLiveAgentSessionKeyResult(LiveAgentUserEndpointService.java:47)
at liveagent.sfdc.impl.endpoint.ResolutionState.tryNextUrl(ResolutionState.java:116)
at liveagent.sfdc.impl.endpoint.EndpointResolver.resolve(EndpointResolver.java:34)
... 25 shared with parent
Cause4: java.net.UnknownHostException: ist1.soma.salesforce.com
Cause4-StackTrace:
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:550)
at sun.net.NetworkClient.doConnect(NetworkClient.java:158)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:839)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:904)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
at com.sforce.ws.transport.JdkHttpTransport.connectRaw(Unknown Source)
at com.sforce.ws.transport.JdkHttpTransport.connectLocal(Unknown Source)
at com.sforce.ws.transport.JdkHttpTransport.connectLocal(Unknown Source)
at com.sforce.ws.transport.JdkHttpTransport.connect(Unknown Source)
... 30 shared with parent Option-SessionId: d6f1fc62-612c-4212-a7d7-b1008ae4540a
Option-RequestMethod: POST
Option-RequestUri: /chat/rest/Presence/PresenceLogin
Option-RequestId: -6442393717038328317
Option-ResponseStatus: undefined
Option-RemoteAddress: 10.3.24.67
Option-UserId: undefined
Option-OrganizationId: undefined
Option-ClientType: SERVICE_PRESENCE
Option-ProtocolVersion: HTTP/1.1
lauri`20140710171335.205`-6442393717038328317`1436`10.3.24.67`d6f1fc62-612c-4212-a7d7-b1008ae4540a`/chat/rest/Presence/PresenceLogin`POST`500 Internal Server Error`843601214``SERVICE_PRESENCE`undefined`undefined
G`20140710171335.286`-6442393717038328312`1458`undefined`undefined`498128403-2`529884280`pool-9-thread-890`JAVA.NullPointerException -> NullPointerException in liveagent.state.db.jdbc.statements.DeletePresenceUserStatement.execute (line 31) at liveagent.state.db.jdbc.statements.DeletePresenceUserStatement.execute(DeletePresenceUserStatement.java:31)`liveagent.http.protocol.session.Session`expire
Date: Thu Jul 10 17:13:35 GMT+00:00 2014
Hostname: istla2-lapp1-1-sfm.ops.sfdc.net
SettingsPath: null
JavaVersion: 1.6.0_21
UniqueId: 498128403-2
StackTraceId: 529884280
Allowed: 2
Blocked: 0
ThreadId: 1458
ThreadName: pool-9-thread-890
Category: JAVA.NullPointerException
SubCategory: BaseSfdcGack
SourceClassName: liveagent.http.protocol.session.Session
SourceMethodName: expire
OrganizationId: undefined
UserId: undefined
Subject: NullPointerException in liveagent.state.db.jdbc.statements.DeletePresenceUserStatement.execute (line 31)
ExtendedMessage: Error: null
VersionInfo:
Branch: main
CreationDate: null
Changelist: 8952653
JavaRelease: 1.6.0_21
SerialNumber: 0
CacheId: 0
AppVersion:
MonitoringlibVersion: 1.2
ContainerVersion:
Thrown: lib.gack.GackContext: java.lang.NullPointerException
Thrown-StackTrace:
at lib.gack.BaseGack.<init>(BaseGack.java:219)
at common.util.BaseSfdcGack.<init>(BaseSfdcGack.java:108)
at common.util.BaseSfdcGack.<init>(BaseSfdcGack.java:82)
at common.util.BaseSfdcGack.<init>(BaseSfdcGack.java:78)
at liveagent.gack.LasGack.send(LasGack.java:76)
at liveagent.gack.LasGack.sendWarning(LasGack.java:31)
at liveagent.http.protocol.session.Session.expire(Session.java:100)
at liveagent.http.protocol.session.SessionManager.remove(SessionManager.java:170)
at liveagent.http.chat.rest.BaseRequestHandler.doDelete(BaseRequestHandler.java:462)
at liveagent.http.chat.rest.BaseRequestHandler.processRequest(BaseRequestHandler.java:206)
at liveagent.http.chat.rest.RestRequestHandler.parseRequest(RestRequestHandler.java:98)
at liveagent.http.chat.rest.BaseRequestHandler.handleRequest(BaseRequestHandler.java:114)
at liveagent.http.chat.rest.AbstractHttpRequestHandler.handleRequest(AbstractHttpRequestHandler.java:51)
at liveagent.http.chat.rest.RestRequestHandlerFactory.handleRequest(RestRequestHandlerFactory.java:38)
at liveagent.http.chat.HttpRequestRouter.messageReceived(HttpRequestRouter.java:119)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)
at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)
at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Cause0: java.lang.NullPointerException
Cause0-StackTrace:
at liveagent.state.db.jdbc.statements.DeletePresenceUserStatement.execute(DeletePresenceUserStatement.java:31)
at liveagent.state.db.jdbc.OracleDb.deletePresenceUser(OracleDb.java:1708)
at liveagent.state.db.DbPresenceUserStateImpl.delete(DbPresenceUserStateImpl.java:47)
at liveagent.user.presence.controllers.PresenceLogoutController.handle(PresenceLogoutController.java:56)
at liveagent.user.presence.controllers.PresenceLogoutController.handle(PresenceLogoutController.java:44)
at liveagent.http.chat.rest.RestServicePresenceHandler.notifyLeave(RestServicePresenceHandler.java:205)
at liveagent.http.protocol.session.Session.notifyLeave(Session.java:344)
at liveagent.http.protocol.session.Session.expire(Session.java:89)
... 17 shared with parent Option-SessionId: undefined
Option-RequestMethod: DELETE
Option-RequestUri: /chat/rest/System/SessionId/d6f1fc62-612c-4212-a7d7-b1008ae4540a!75bdb7fa-f065-4c4c-b3de-75cf8d84b1df
Option-RequestId: -6442393717038328312
Option-ResponseStatus: undefined
Option-RemoteAddress: 10.3.24.67
Option-UserId: undefined
Option-OrganizationId: undefined
Option-ClientType: UNDEFINED
Option-ProtocolVersion: HTTP/1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment