I keep getting this error once my server is enabled:

authenticateClientCallback: Error with authenticate client request:
{ [Error: getaddrinfo ENOTFOUND] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscall: 'getaddrinfo' }

Comments

SocialNicheGuru’s picture

SocialNicheGuru created an issue.

there are no js errors so it shows that the nodejs server is connected
status reports also confirms this
if I goto mysite:port/nodejs/message, I see the 'invalid service key message'. I have read in one of the issues that this message is what I am supposed to see.

The error usually signifies that it cannot reach the server, but the server is reachable...

SocialNicheGuru’s picture

my settings file is:

settings = {
  scheme: 'http',
  port: 9110,
  host: 'IP-address-localhost', 
//  host: 'my-test-server-domain.com',
  resource: '/socket.io',
  serviceKey: 'i-have-a-service-key-just-not-showing-it',
  backend: {
    scheme: 'http',
    port: 80,
    host: 'mytestdomain-test.com',
    basePath: '',
    messagePath: '/nodejs/message'
  },
  debug: true,
  sslKeyPath: '',
  sslCertPath: '',
  sslCAPath: '',
  baseAuthPath: '/nodejs/',
  extensions: [],
  clientsCanWriteToChannels: false,
  clientsCanWriteToClients: false,
  transports: ['websocket', 'polling'],
  jsMinification: true,
  jsEtag: true,
  logLevel: 1
};
glekli’s picture

This error sounds like the backend hostname in your config file ("mytestdomain-test.com" in your case) is not valid. Could you please double check to see if it's mistyped.