Config page /s/config/edit returning 404 after 5000ms

Your software
My Mautic version is: 3.1.2
My PHP version is: 7.2
My Database type and version is: 10.3.17-MariaDB

Your problem
My problem is:
I installed Mautic with nginx and php-fpm. I have the same setup working fine on 3.0.2 and 2.16.2, but in 3.1.2 (another machine) I’m facing 404 on /s/config/edit after about 5 minutes. There are no errors in the log. All other pages work fine.

It’s interesting that nginx is answering 404 after abount 5000s, which looks like a timeout, I’m stuck on this about two days and can’t figure out what is wrong. All other pages works fine, just config wont open.

It looks like if the nginx didn’t receive an answer and then something timedout

Any ideas?

These errors are showing in the log:

No errors on the logs

Steps I have tried to fix the problem:

  • I try php73
  • cleanup and warmup the cache multiple times
  • start with a new database
  • increase memory_limit
  • Different server_names

This might be due to a bad setting in your configuration. For some reason Mautic tries to test various email/SMS host settings when it loads the configuration settings page for display. Please see my post below for more information and a solution: