bobdenotter / configuration-notices

💡 A small tool to point out common pitfalls for Bolt 4 configuration settings
MIT License
9 stars 4 forks source link

Bolt hangs while trying to log in #13

Open eduardomart opened 3 years ago

eduardomart commented 3 years ago

Reporting discussion on Slack

Background:

Bob asked to run this:

curl -I http://127.0.0.1:8000/theme/skeleton/index.twig
HTTP/1.1 200 OK
Host: 127.0.0.1:8000
Date: Tue, 02 Feb 2021 18:54:21 GMT
Connection: close
Content-Length: 522

Also as instructed by Bob:

Bolt now loads normally when trying to access the dashboard.

I-Valchev commented 3 years ago

@bobdenotter is it taking too long to timeout for the theme access check, do you reckon?

eduardomart commented 3 years ago

Forgot to add, Bob mentioned in Slack this is probably the culprit:

https://github.com/bobdenotter/configuration-notices/pull/12/files

bobdenotter commented 3 years ago

In #14 is a workaround, so this check is now optional (with a default of false).

I can now reproduce locally, so we can fix this properly, and then we can flip the default to true again.