Hi,
I'm trying out the Node Agent SDK v1.4.7, and I managed to get the example agent-bot to work with LivePerson. I could see the bot echoing the messages in the chat. However, after being idle for some time, the agent-bot logged socket closed and then the error SDKError: Error on CSDS request: connect ETIMEDOUT. I'm not sure what CSDS request is. I tried to look for documentation but could not seem to find it.
How do I fix it? Am I missing something?
I'm creating the Agent with this OAuth1 configuration and not overriding the csdsDomain.
socket closed 1006
reconnecting
got an error SDKError: Error on CSDS request: connect ETIMEDOUT 43.251.41.7:443
at Object.compileError (c:\repos\node-agent-sdk\lib\ExternalServices.js:70:16)
at CSDSClient.requestHandler (c:\repos\node-agent-sdk\lib\CSDSClient.js:39:32)
at Request._callback (c:\repos\node-agent-sdk\lib\CSDSClient.js:32:40)
at self.callback (c:\repos\node-agent-sdk\node_modules\request\request.js:185:22)
at Request.emit (events.js:315:20)
at Request.EventEmitter.emit (domain.js:467:12)
at Request.onRequestError (c:\repos\node-agent-sdk\node_modules\request\request.js:877:8)
at ClientRequest.emit (events.js:315:20)
at ClientRequest.EventEmitter.emit (domain.js:467:12)
at TLSSocket.socketErrorListener (_http_client.js:469:9) {
code: null,
service: 'domainNames',
error: Error: connect ETIMEDOUT 43.251.41.7:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '43.251.41.7',
port: 443
}
}
Hi, I'm trying out the Node Agent SDK v1.4.7, and I managed to get the example
agent-bot
to work with LivePerson. I could see the bot echoing the messages in the chat. However, after being idle for some time, theagent-bot
loggedsocket closed
and then the errorSDKError: Error on CSDS request: connect ETIMEDOUT
. I'm not sure what CSDS request is. I tried to look for documentation but could not seem to find it.How do I fix it? Am I missing something? I'm creating the Agent with this OAuth1 configuration and not overriding the
csdsDomain
.