While executing the CLI command show serviceengine on the Avi Controller, the following error was encountered:
[admin:##-##-##-##]: > show serviceengine
{"error" : "invalid character 'h' after object key:value pair"}
vCenter
The show serviceengine command internally triggers API calls to the Django backend service via NGINX, which routes the request through localhost:8080.
In Avi Controller version 30.x, access to this internal HTTP port (8080) is restricted by default for security reasons.
The key setting controlling this behavior is: "Enable HTTP Access to System"
Navigate to administration > system-settings and enable "Enable HTTP Access to System" and "Redirect HTTP to HTTPS"
This is targeted to fix in 31.2.1