Skip to main content

While building my first Zap I have often got an error when trying to validate my user with OAuth. I have no idea why because sometimes it works and there seems to be no pattern to the failures.

The error is  reason: getaddrinfo ENOTFOUND  which a bit of googling reveals as a DNS error. What I don’t understand is why this would be intermittent. 

Does any have any ideas?

Hi @kevin_r - That’s indeed a DNS error. Can you post the bit of code that produces the error?


Ikbel,

Thank you.

I spent all day on Friday trying to see what was wrong with my code.

I had dismissed the fact that it could be a DNS error as I could get to my test server from my office and from my home which are on two different networks here in the UK.

In the end I gave up trying to find errors in my code and asked my network people to validate our DNS and they found that the test machine I was using was not mentioned in one of our backup DNS servers.  So it was indeed a DNS error.

Kevin

 


Hi @kevin_r Thanks for letting us know!