502 Proxy Error on login
-
First: Yesterday i've pulled the latest git repo. So maybe it's a new bug.
Problem: Since today, all login attempts with an existing user account get an "502 Proxy Error" in an alert-box with this content:
Failed login attempt, please try again. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>502 Proxy Error</title> </head><body> <h1>Proxy Error</h1> <p>The proxy server received an invalid response from an upstream server.<br /> The proxy server could not handle the request <em><a href="/login">POST /login</a></em>.<p> Reason: <strong>Error reading from remote server</strong></p></p> <hr> <address>Apache/2.2.15 (CentOS) Server at blahblahblah.com Port 80</address> </body></html>
Amazing: When you register a new account; or when you've logged in yesterday and didn't logout, then you can use the whole forum and every seems to be fine.
Setup:
nodeBB latest (pulled from git repo)
redis 2.6.10 (Shared host)
Apache 2.2.15 (Shared host)
.htaccess:RewriteRule ^(.*) http://localhost:4567/$1 [P]
-
Check your logs for errors.
- Timeout.
- Lack of disk space.
- package.json and dependencies.
- redis related.
Source: https://forums.openshift.com/frequent-502-proxy-errors
-
You can reproduce it so please report an issue to the Bug Tracker.
-
You can try a new install with older NodeBB core files.
It can be related to this issue.
https://github.com/NodeBB/NodeBB/issues/3029 -
Have you updated theme files?
-
Here on community.nodebb.org you can send as many confirmation emails as you want. It means it wasn't updated with this commit.
-
It had nothing to do with confirmation-emails. I could trackdown to this file src/database/redis/main.js
-
Yes, I saw your comment on GitHub. Great job, thanks for your time and input!