Mautic 3. Can not login for first time

Your software
*My PHP version is :7.3.19-1
*MariaDB version is: 10.3.22-MariaDB
Apache/2.4.38
New installation no errors.

I just install a mautic 3, in a new instance, there were no errors on installation. But just after install and first configuration (admin user, db connection…) , I got the first login page, but I can not login. The error is: Unable to resolve binding type, invalid or unsupported http request

I have reviewed permissions but seems all it’s ok.

I executed these scripts with no errors:

find . -type f -not -perm 644 -exec chmod 644 {} +
find . -type d -not -perm 644 -exec chmod 755 {} +
chmod -R g+w app/cache/ app/logs/ app/config/
chmod -R g+w media/files/ media/images/ translations/
rm -rf app/cache/*
sudo chown -R www-data:www-data .
1 Like

Can you let us know what server OS you’re using (CentOS/Ubuntu/etc.)?

When checking on Google for your error I came across similar errors when SAML is used (https://stackoverflow.com/questions/35062847/saml-unable-to-resolve-binding-type-invalid-or-unsupported-http-request). Have you by any change configured SAML?

Just linking this issue + PR here for visibility https://github.com/mautic/mautic/issues/7836 and https://github.com/mautic/mautic/pull/7512

Hi,

Its a Debian GNU/Linux 10 (buster). A server in Google cloud platform.

I also see this error related to SAML, but I don’t configure SAML as I was not able to login jet, just pass the first wizard.

Hello, I just had the same problem, try this:

sudo a2enmod rewrite
edit: sorry and restart apache2 with:
sudo systemctl reload apache2

2 Likes

Thanks for your help, its working also for me.
Many Thanks.

2 Likes

Hello !
I have same problem, ubuntu 18.04 server fresh install, apache2, php7.2, MariaDB correct version, mautic 3.1.
With this command i solved the problem.

  • sudo a2enmod rewrite
  • sudo systemctl reload apache2

Thanks.

1 Like

Stumbled upon this issue today.
This seems to be happening if you are using Apache and mod_rewrite is not enabled.

As suggested above, you can run the above command shared by @masterale to enable mod rewrite.

If you are using docker, add this to your dockerfile

RUN a2enmod rewrite

Although I wonder if login can’t happen without this, shouldn’t this be checked in checkRequirements() in CheckStep.php in InstallBundle?