Spurious DNS error - "getaddrinfo ENOTFOUND"

So I have a workflow I’ve been developing for the last few weeks, and it’s been generally working like a champ.

However, today I encountered an unusual error when running an event through it. This error occurred in a step which has been working and I haven’t changed recently, which has me concerned. Can someone help me understand what caused this error?

getaddrinfo ENOTFOUND
at GetAddrInfoReqWrap.onlookup (dns.js:67:26)

I did some brief web searching, and it sounds like a DNS issue. This occurred for a few minutes around 2:30pm CDT (UTC-5).

How is Pipedream configured for DNS resolution?

Is this something that Pipedream’s SRE team would want to know about so they can change some configuration to mitigate the likelihood of this error occurring?

@chexxor and I chatted about this over Slack. DNS resolution is provided by AWS in this case, and is actually abstracted from us. It’s possible they had an internal hiccup, but generally DNS resolution should work well (we’ve historically observed no major issues here).

If anyone else observes issues with DNS resolution within workflows, please let us know and we can look into it.

1 Like

Hiya,

I believe I am having a similar issue with a Ghost integration.

Can’t add my site as a source to trigger on new member creation and also just tried to link a fresh free trial at ghost.io

still getting the same error on both

at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26)

Any help with this? -Bump-

Hi @russkiimike , would you mind clicking the Share button at the top-right of the workflow and share it with dylan@pipedream.com? I’d like to take a look.

I can’t even create a workflow because it wont connect ghost admin api as a source

@russkiimike could you do me a quick favor?

  1. On your ghost instance, click the Integrations option on the main menu, then click the button to Add custom integration near the bottom.
  2. Keep this tab open and make note of the API URL

  1. Visit https://pipedream.com/accounts?q=ghost to find your Ghost account in Pipedream. Click the on the right and choose the option to Reconnect:

Screen Shot 2021-10-04 at 5.02.15 PM

  1. In the popup that appears, replace the value of admin_api_url with the API URL from step 2.
  2. Try to create the source again and let me know if you see the same ENOTFOUND error, or a different error.

I believe this error is related to us not being able to resolve the URL you provided there, so I’d like to see if that fixes it.

I noticed another issue with the event source that we’re tracking here - you may see that error when you create your source. Please follow that issue for updates about that. We’ll get someone on that ASAP.

Yeah I ve tried that with multiple blogs to no avail…

Let’s say it stays green here right?

It still wont work

However if I start creating a workflow it wont appear in the search

And if I recreate, you know what will happen

@russkiimike thanks for confirming. We’ll update the GitHub issue as soon as we’ve addressed this.

Getting a similar spurious error on workflows, randomly it works:
(From http step)

Error
getaddrinfo ENOTFOUND api.sms4free.co.il 
    at null.__node_internal_captureLargerStackTrace (internal/errors.js:412:5)
    at null.__node_internal_ (internal/errors.js:634:10)
    at GetAddrInfoReqWrap.onlookup (dns.js:71:26)
(http)

Sometimes it does work after replaying the payload.