FreePBX & HAAST (High Availability Asterisk) Interface Issue

We are running FreePBX 1.814.210.58-1 with no updates as this is just a test box.

When I use the JAMI/JAMA interface and issue a command it fails (despite saving session cookies and extending the http timeout on the Asterisk side):

curl -c /tmp/cookiejar --connect-timeout 5s “

Asterisk Call Manager/1.1
Response: Error
Message: Permission Denied

I have checked the settings in manager.conf and the amportal settings. Anyone have any recommendations or experience in getting this to work?

You have to log in first
First run
(replace XXX por your admin password) find your password in /etc/asterisk/manager.conf

when you login, in create a web sesion, and the you can run