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

**URL:** <https://forum.mautic.org/t/config-page-s-config-edit-returning-404-after-5000ms/17014>\
**Category:** Product Support\
**Created:** [November 13, 2020, 3:56pm UTC](https://forum.mautic.org/t/config-page-s-config-edit-returning-404-after-5000ms/17014 "2020-11-13T15:56:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielhilst](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danielhilst/32/2132_2.png) [@danielhilst](https://forum.mautic.org/u/danielhilst)\
**Post date:** [November 13, 2020, 3:56pm UTC](https://forum.mautic.org/t/config-page-s-config-edit-returning-404-after-5000ms/17014/1 "2020-11-13T15:56:55Z")

</div>

**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

---

<div class="post-metadata">

**Author:** ![markerb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/markerb/32/4668_2.png) [@markerb](https://forum.mautic.org/u/markerb)\
**Post date:** [March 9, 2021, 1:40pm UTC](https://forum.mautic.org/t/config-page-s-config-edit-returning-404-after-5000ms/17014/2 "2021-03-09T13:40:42Z")

</div>

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:

> [@Configuration Page & SMS Channel cannot be accessed after SMS segment message created](https://forum.mautic.org/t/configuration-page-sms-channel-cannot-be-accessed-after-sms-segment-message-created/17453/9):
>
> I just want to concur that I had what seems like the exact same situation, using Mautic v3.3.1. Having a wrong host entered into a configuration field completely hung the entire configuration part of Mautic. Thanks to this post from EJL, I realized what it was. I had mistyped my host address for my monitored email. It was never able to connect, which I guess Mautic tries to do each time before it displays the configuration menu. I had to fix the error directly in the app/config/local.php. …
