I’ve written a script which imports a lot of data to Pipedrive. This task has had to deal with some outage when talking to the Pipedrive API. The errors I’ve been getting is mainly:
Error: socket hang up
at createHangUpError (_http_client.js:322:15)
at TLSSocket.socketCloseListener (_http_client.js:363:25)
at TLSSocket.emit (events.js:187:15)
at _handle.close (net.js:606:12)
at TCP.done (_tls_wrap.js:386:7) code: ‘ECONNRESET’
But I’ve also seen a couple of:
Error: getaddrinfo ENOTFOUND api.pipedrive.com api.pipedrive.com:443
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26)
I’m using the official Pipedrive node.js client
Have you had any known flake or outage during the last week?
I’ve temporarily dealt with this by retrying (up to 10 times) whenever a request fails, but I thought I’d mention this here in case you want to look into it. Would be nice to know what’s causing this?
Any insight appreciated!