What issue or error are you experiencing?
Hi, all worked fine until I set the site host to “localhost” today.
(I wanted to try that out because I can’t copy and paste inside Firefox, perhaps due to SSL issues).
After changing the site host, I can access the frontend with no problems.
But regardless of whether I choose nginx or Apache as server, I can no longer access the WP login page.
If I choose nginx the message is:
400 Bad Request
Request Header Or Cookie Too Large
nginx/1.16.0
If I choose Apache the error is:
Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
I’ve also execute this command which I found in a similar thread:
lsof -nP -iTCP -sTCP:LISTEN
Still the same problems.
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
Change the site host in the settings to “localhost”
Try out “nginx” and “Apache” as server.
Try out to login in the WP backend.
System Details
-
Local Version: Version 8.2.1+6583
-
Operating System (OS) and OS version: macOS Ventura
Local Logs
Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
If have stripped down the error.log file to the relevant infos for download:
error.log.zip (1.0 KB)
I don’t know if I can post the local-lightning-verboseX.log here without revealing sensitive data.
I remember having this error once before and changing the router mode to “Site Domain” fixed it.
However, the “localhost” mode also worked before and I would like to maybe switch again, as some plugins require a license if you don’t use “localhost”.
Thanks for any help!
Jürgen