Home › Forums › kdb+ › Connecting Kdb server in node js › Reply To: Connecting Kdb server in node js
-
Unfortunately I’m not familiar with the library code, but “getaddrinfo ENOTFOUND” would indicate that the host name that you provided is incorrect. If this is appearing consistently, check if the host name is correct. If it’s intermittent, you might have a problem with the DNS in your environment.
For the “cb” error, it could either come from the connection library or be returned as an error message from the server. Can you try to connect using a plain q process to see if you get the same error? It might be coming from the client query handlers that try to access a variable named “cb” when it’s not defined – do you have handlers such as .z.ps and .z.pg set on the server?