How to attach user and password here. Because I am using the credentials during client.connect(). But didn’t get anything about client.info_node() from the docs @Albot
I’m not sure if you’re authenticating the client earlier or what the rest of the code looks like, but traditionally I’ve had trouble trying to call info with typing the nodes in. Not much exp in python, but maybe try having the info_node use a node thats fetched from the client node list instead of statically defining it like you’ve done?
aerospike-client-python/info_node.py at master · aerospike/aerospike-client-python · GitHub In this example it’s using the node fetched from the client connecting prior to this.
I don’t know much about python at all, but the info command itself doesn’t seem to be correct.
It should either be namespaces (which will just give you the list of namespaces) or namespace/<namespace-name> which will give you statistics for the specific namespace.
Having said that, I would have expected a ‘better’ error message if the authentication and permission succeeded and the problem was the info command itself. I am pretty sure this is not an authorization issue since reading stats would not require any permission but it does require authentication, so even if the command was not formed properly, I would expect a different error code/message.
Are you able to try:
Without tls/user
With only tls and without user.
With only user and without tls.
That may give some clue.
Otherwise, as you have an Enterprise License, I would encourage reaching out to Support.