You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extra/troubleshooting.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ The JMS Serializer service is available as `jms_serializer`.
46
46
47
47
## "upstream sent too big header while reading response header from upstream" NGINX 502 Error
48
48
49
-
Some of your api calls fail with a 502 error and the logs for the api container shows the following error message `upstream sent too big header while reading response header from upstream`.
49
+
Some of your API calls fail with a 502 error and the logs for the API container shows the following error message `upstream sent too big header while reading response header from upstream`.
50
50
51
51
This can be due to the cache invalidation headers that are too big for NGINX. When you query the API, API Platform adds the IDs of all returned entities and their dependencies in the headers like so : `Cache-Tags: /entity/1,/dependent_entity/1,/entity/2`. This can overflow the default header size (4k) when your API gets larger and more complex.
0 commit comments