Getting error with request in server method invocation

  • 19 September 2017
  • 2 replies
  • 68 views


Hello,
I'm using server method invocation to retrieve data from freshdesk groups API. It was working nice, but suddenly without any changes local frsh run server at the moment of processing request started to crash with error
{ Error: getaddrinfo ENOTFOUND repsai repsai:443


    at errnoException (dns.js:28:10)


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


  code: 'ENOTFOUND',


  errno: 'ENOTFOUND',


  syscall: 'getaddrinfo',


  hostname: 'repsai',


  host: 'repsai',


  port: 443 }
And I'm totally stuck with this. Thanks for help



This topic has been closed for comments

2 replies


Hi michael, ENOTFOUND error means the domain that you are trying to reach is unavailable or wrong. Also from the above logs i can infer that you are trying to make a call to repsai domain, can you check if the url that you are trying to request is correct.



Hi Michael,


Please share your app code, we can help you better




Thanks


Mahesh