-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Containers return 500 error after login #256
Comments
fix is updating to the latest version of Lando v3.0.0-rc.20. |
Requesting to re-open this issue, how do we resolve our containers from returning a 500 error? I'm experiencing this same exact issue with all your screenshots. @Phalconline, how did you resolve this? |
My team and myself are experiencing this issue. |
same here .. just happened recently |
@jessicalwilson @wesleyduff What version of docker compose do you have installed? |
Same issue as @jessicalwilson and running Docker Desktop for Mac, running v3.6.0.5487. I've gone as far as nuking lando/docker and reinstalling from scratch with a rebuild. No dice. |
I've got the same issue. Running Lando 3.6.0, Docker Desktop 3.6.0 (67351). Specifically this affects WordPress sites checked out from Pantheon. Everything works fine until I attempt to sign in as an administrator. Then every page returns a 500 error. I've tried going nuclear and performing a full docker system prune (including all volumes) and starting from scratch. Same issue, every time. |
Update: as dumb as this sounds, try clearing your cookies for lndo.site. I experienced the 500 error yet again, then attempted to access the same site via an Incognito window. No 500 error, which lead me to believe it was something to do with a session or cookie. So I cleared all cookies related to lndo.site and attempted to access the site again. No more 500 error and I could successfully log into the admin center. |
I'm experiencing this exact issue as well. Can anyone help? I also cleared the cache (as suggested) but I continue to get the same result. I am able to see the WordPress homepage. But as soon as I click the dashboard, HTTP ERROR 500 is returned. I am running:
|
Yes, I can definitely help (and with a definitive answer this time). Go into your browser settings and clear out all cookies/cache for anything *.lndo.site or *.lndo. It is something to do with the browser's cache conflicting with the lando instance. Clearing cache is the quickest method and has worked every time for me. No more going nuclear with the containers. Edit: oops, just read the rest of @michaelprflores comment about trying the cache clearing and it not working. It has worked for me every time. Have you cleared the cache for both lndo.site and lndo? Also, make sure you not only clear cache but also clear cookies. |
Hi @heidimark. Thanks I have done both and I can only see the homepage and then an ERROR 500 for when I click anywhere else. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues. |
FWIW, if you run into this in late 2023.... Try opening the Lando site URL in an Incognito window. Works for me every time. so I concluded for me, it too was related to browser caching. I installed a Chrome browser cache clearing extension, set-it up and every time I get a 500 server error, the fix is a button press away. |
Clearing cookies or using an incognito browser wasn't working for me. I had to investigate further. lando version My HTTP response is:
In my case Varnish seems to be the point of failure.
I opened a shell to the edge via Varnish showed, among tons of other data, these lines:
And I can see in my case the rest of the log shows a lot of headers coming from a WordPress plugin. This is likely the cause of my error. Too many headers would fill the memory, and there's also a hard cap on the amount of headers allowed. I will try to fix this on the PHP side, but another approach would be to update varnish settings. In my case either I updated my
After running |
I started experiencing this the other day and have been pulling my hair out trying to resolve ever since. I have four local sites running in Lando with Pantheon recipe and everything's been fine for at least a year. Of my four local instances only one was exhibiting this behaviour, clearing the cache and cookies doesn't work for me, but running inside an incognito browser does so I guess that's what I'll be doing from now on. |
Updating the varnish settings in |
Here's another option that devs at my company uses when lando is implementing the pantheon recipe. Create a file named
|
Here's another option that devs at my company uses when lando is implementing the pantheon recipe. Create a file named
|
Here I am, two years later and this was exactly the fix I needed. Thanks @heidimark ! |
Summary here seems to be to try..
Moving to the Pantheon recipe repo and closing. |
The last try was to delete docker and Lando and install them from scratch.

After lando start:
Then I open all links:

https://localhost:32800/ - ERR_TOO_MANY_REDIRECTS
https://localhost:32801 - ERR_SSL_PROTOCOL_ERROR
https://localhost:32799/ - ERR_CONNECTION_CLOSED
http://website.lndo.site/ - OK - but after login, I have error 500 in the browser on the admin page
https://website.lndo.site/ - OK - but after login, I have error 500 in the browser on the admin page
https://localhost:32798 - OK
My lando.yml
Logs



Also, that in index container:
WARNING: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []
macOS v.10.14.6

Docker Version 18.03.1-ce-mac64
Lando Pantheon recipe for wordpress
Lando & terminus version
I have a custom folder for wp-core, I use
core
insteadwp
Do you have any ideas what the problem or where I can found logs with the errors?
The text was updated successfully, but these errors were encountered: