Best answer

Error message ENOTFOUND

  • 3 April 2020
  • 3 replies
  • 2384 views

Userlevel 2

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?

icon

Best answer by ikbelkirasan 6 April 2020, 02:03

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

View original

This topic has been closed for comments

3 replies

Userlevel 7
Badge +11

Hi @kevin_r Thanks for letting us know!

Userlevel 2

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

 

Userlevel 7
Badge +11

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