Reply
Highlighted
Member
Posts: 1
Registered: ‎12-10-2019

Connection Error while calling transaction details API

Hello,

 

I have a Authorize webhook (implemented with NodeJS) deployed to AWS lambda, it calls the transaction details API as soon as an event is received from Authorize. This webhook is failing to retrieve the transaction details many times with following error (despite being called with request retry mechanism) -

 

Error: Client network socket disconnected before secure TLS connection was established
at TLSSocket.onConnectEnd (_tls_wrap.js:1095:19)
at Object.onceWrapper (events.js:286:20)
at TLSSocket.emit (events.js:203:15)
at TLSSocket.EventEmitter.emit (domain.js:448:20)
at endReadableNT (_stream_readable.js:1143:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
code: 'ECONNRESET',
path: null,
host: 'api2.authorize.net',
port: 443,
localAddress: undefined,
attempts: 5

 

Any suggestions or help is much appreciated !

 
Thanks,
Yeshasvi

 

Highlighted
New Member
Posts: 13
Registered: ‎02-12-2020

Re: Connection Error while calling transaction details API