SatelliteWP / rocket-nginx

Rocket-Nginx is a Nginx configuration that makes WP-Rocket even faster by serving static pages directly without loading WordPress or PHP.
MIT License
579 stars 129 forks source link

I am getting REST api and loopback error 400 #159

Closed joiehadinata closed 3 years ago

joiehadinata commented 3 years ago

I am getting REST API encountered an expected result The REST API call gave the following unexpected result: (400) 400 Request Header Or Cookie Too Large

400 Bad Request

Request Header Or Cookie Too Large

nginx
.

also Your site cannot complete a loopback request The loopback request returned an unexpected http status code, 400, it was not possible to determine if this will prevent features from working as expected.

Does anyone has idea ? Joie

maximejobin commented 3 years ago

Does it work when Rocket-Nginx is disabled?

I do not see any link between your error and this project. Please provide more details.

joiehadinata commented 3 years ago

With these settings i am getting rest api and loopback error large_client_header_buffers 2 1k; rocket-nginx disable

With these settings i no longer have errors large_client_header_buffers 4 32k; rocket-nginx disable

With these settings i no longer have errors large_client_header_buffers 4 32k; rocket-nginx enable

So the problem was the large_client_header_buffers 2 1k; my site is using woocommerce.

Thank you Joie

On 7 Jun 2021, at 21.55, Maxime Jobin @.***> wrote:

Does it work when Rocket-Nginx is disabled?

I do not see any link between your error and this project. Please provide more details.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SatelliteWP/rocket-nginx/issues/159#issuecomment-856006815, or unsubscribe https://github.com/notifications/unsubscribe-auth/APCERS75GOPJ2WI54LITIK3TRTMUXANCNFSM46B2K72A.