Skip to content
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

Nginx gateway error when adding helpers #70

Closed
snapey opened this issue Jan 23, 2020 · 2 comments
Closed

Nginx gateway error when adding helpers #70

snapey opened this issue Jan 23, 2020 · 2 comments

Comments

@snapey
Copy link

snapey commented Jan 23, 2020

Cautionary warning to others that have the same issue.

Stacking on helpers would create an Nginx 502 error.

The problem is caused by several versions of 6.x shipping with the session driver set to Cookie. The problem with this is that the session is limited to 4k. When you extend the alert text, or stack on additional attribute via helpers then the error randomly appears.

The answer is to switch to file base sessions.

6.11 has reverted to file for session, but if you first installed your project with an affected version, then upgrading to later versions will not revert the entry in your config or .env

@realrashid
Copy link
Owner

Yes, you right that was the issue on Laravel but now the issue is fixed.
They set the SESSION_DRIVER=file again.
Checkout this

@snapey
Copy link
Author

snapey commented Jan 25, 2020

Yes I know (and said so earlier), but anyone that installed an affected 6.8, 6.9 or 6.10 release will NOT have it fixed by upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants