This module requires access to the asterisk manager

Getting the error when I click on the extension in the Asterisk Management Portal and I get this error.

Cannot connect to Asterisk Manager with admin/amp109

This module requires access to the asterisk manager. Please ensure Asterisk is running and access to the manager is available.

Asterisk is running. What am I missing here.

In /etc/asterisk/manager.conf make sure that you have the following setup:

[b][general]
enabled = yes

[admin]
secret = amp109
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
[/b]

I have this in the manager.conf file and it still does not work.