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 502 Error with Manager #1265

Closed
mentatpsi opened this issue Jul 3, 2020 · 4 comments
Closed

NGINX 502 Error with Manager #1265

mentatpsi opened this issue Jul 3, 2020 · 4 comments
Labels

Comments

@mentatpsi
Copy link

I am getting a 502 error upon attempting to login to Manager. Using Ubuntu Linux. I'm using the mostly default configuration of a proxy pass to 5000 port to your application. I've tested this locally on my own system (Windows 10 Pro + Visual Studio 2019 Community) and it works fine. Not sure the issue.

@tidyui
Copy link
Member

tidyui commented Jul 4, 2020

Hi there @mentatpsi! Please check if this is related and could solve your issue: PiranhaCMS/piranha.core.docs#40

@tidyui tidyui added the question label Jul 4, 2020
@mentatpsi
Copy link
Author

Hey... I actually did some searching and came across that issue last night. I tried implementing the change but I was still getting that error. It took a bit of doing (I'm a Microsoft Developer Professionally). But the issue from the NGINX error log is that the headers being passed are too large during the login process. So it returns that error. I noticed that when I debug locally through running the app, it never gets to an error on the app... so it was happening during the request. Seems like the right place for it to be happening given this debug process. Let me know. Also, thanks for the extremely quick response.

@mentatpsi
Copy link
Author

Hey... i thought you sent me a link to another issue that I saw with NGINX that was fixed in version 8.0 (I believe)... should have spent more time reading the whole thread. Ya, this looks to be the issue. I'll try and implement the solution. Thanks!

@mentatpsi
Copy link
Author

That worked perfectly. Just need to put it behind HTTPS. Thanks for the help!

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

No branches or pull requests

2 participants