Getting csrftoken error when trying to login to MAAS

Has anyone experienced this error. I login to MAAS and either the page does not load or I get and error saying that “Failed to Connect” Error:The server connection failed with the error “No csrftoken found, please ensure you are logged into MAAS.”.

Any idea how to fix this it is killing me.

Hi, which version of MAAS are you using? Is there anything in regiond.log related to your login attempt?

@faruqh, can you get us some more information, like log files and a version number? it would be helpful.