Enterprise AMC on TLS/SSL Cluster

Hi there,

pretty new to this, but maybe someone has a quick answer for me :slight_smile:

I have successfully managed to get enterprise AMC running to connect to a default Aerospike Cluster on port 3000. Now we need to switch to TLS.

  1. Is any AMC console even able to connect to TLS ports?
  2. Considering it is not, i have setup an extra clear text port on the box where AMC and cluster are installed, listening to 127.0.0.1:3000 additional to the TLS version running on 4333. I get the login mask, but then it fails with “Can’t connect to server Login” and the following python traceback. I verified the login works using “aql” in TLS and non-TLS mode. This a known issue?
2017-03-21 11:23:18 [32597] [ERROR] Error handling request
Traceback (most recent call last):
 File "/opt/amc/server/site-packages/gunicorn/workers/async.py", line 45, in handle
   self.handle_request(listener, req, client, addr)
 File "/opt/amc/server/site-packages/gunicorn/workers/async.py", line 93, in handle_request
   respiter = self.wsgi(environ, resp.start_response)
 File "/opt/amc/server//site-packages/flask/app.py", line 1701, in __call__
   return self.wsgi_app(environ, start_response)
 File "/opt/amc/server//site-packages/flask/app.py", line 1689, in wsgi_app
   response = self.make_response(self.handle_exception(e))
 File "/opt/amc/server//site-packages/flask/app.py", line 1687, in wsgi_app
   response = self.full_dispatch_request()
 File "/opt/amc/server//site-packages/flask/app.py", line 1360, in full_dispatch_request
   rv = self.handle_user_exception(e)
 File "/opt/amc/server//site-packages/flask/app.py", line 1358, in full_dispatch_request
   rv = self.dispatch_request()
 File "/opt/amc/server//site-packages/flask/app.py", line 1344, in dispatch_request
   return self.view_functions[rule.endpoint](**req.view_args)
 File "/opt/amc/server/helpers/debugger.py", line 271, in decorator
   response = fn(*args, **kwargs)
 File "/opt/amc/server/flaskapp.py", line 240, in get_cluster_id
   session, session_manager, cluster_manager
 File "/opt/amc/server/controllers/cluster_controller.py", line 173, in get_cluster_id
   password=cl.hashpassword(str(cluster_details['password'])))
 File "/opt/amc/server/utilities/cluster_manager.py", line 200, in get_cluster_info
   user=user, password=password)
 File "/opt/amc/server/helpers/synchronizing.py", line 33, in _synchronizer
   return func(self, *args, **kwargs)
 File "/opt/amc/server/utilities/cluster_manager.py", line 63, in create_cluster
   user=user, password=password)
 File "/opt/amc/server/models/cluster.py", line 184, in __init__
   self.get_updates(user=user, password=password)
 File "/opt/amc/server/models/cluster.py", line 246, in get_updates
   node_ip, node_port = base.split_ip_port(new_node)
 File "/opt/amc/server/helpers/debugger.py", line 271, in decorator
   response = fn(*args, **kwargs)
 File "/opt/amc/server/libs/base.py", line 45, in split_ip_port
   ip = match.group('addr')
AttributeError: 'NoneType' object has no attribute 'group'

thanks, Marcel

Hi Marcel,

We are releasing a new version of AMC this week that supports the new TLS connections, among other new and improved features.

Cheers, K.