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
Several people on our team have been plagued by a heisenbug — some requests sometimes start failing with status 400, no explanation and nothing logged 😕
Turns out we're hitting NodeJS limit of 8KiB headers (nodejs/node@1860352), when you accumulate too many cookies. 💡 A different tab / incognito might help because different cookies. Only some requests fail because they're longer...
Workaround specific to OCM (cloud.redhat.com/openshift): append ?env=staging to browser URL to make OCM UI talk directly to stage API, bypassing insights-proxy.
cben
added a commit
to cben/insights-proxy
that referenced
this issue
May 18, 2021
Fedora 29 has nodejs 10.16.3 which is EOL.
Fedora 33 (and 34) currently has 14.16.1.
The newer NodeJS improves RedHatInsights#38
by returning 431 Request Header Fields Too Large
instead of 400 Bad Request that NodeJS 10 returned.
cben
linked a pull request
May 18, 2021
that will
close
this issue
Several people on our team have been plagued by a heisenbug — some requests sometimes start failing with status 400, no explanation and nothing logged 😕
Turns out we're hitting NodeJS limit of 8KiB headers (nodejs/node@1860352), when you accumulate too many cookies. 💡 A different tab / incognito might help because different cookies. Only some requests fail because they're longer...
https://github.com/nodejs/node/blob/87805375645f7af36fce2e59289559f746a7131d/doc/api/http.md#event-clienterror
The text was updated successfully, but these errors were encountered: