Recent API outage?

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)
errno: ‘ENOTFOUND’,
code: ‘ENOTFOUND’,
syscall: ‘getaddrinfo’,
hostname: ‘api.pipedrive.com’,
host: ‘api.pipedrive.com’,
port: 443

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!

Hi,

Can you give some more info about this? How often does this usually happen? What kind of data are you sending and to which endpoints?

1 Like

Thanks for getting back to me on this! I’m afraid digging up those logs won’t be possible now. But I’m monitoring that script closely, so I’ll post back here if/when it happens again.

2 Likes