This error typically occurs with a
supervisor [production setup] (https://kegbot.org/docs/server/production-server/) under three common scenarios.
Scenario One: Kegbot Server Won’t Load
You will see this error if:
nginxis running and
supervisoris not running [AND/OR]
- There is a misconfiguration between your
Please refer to the [production setup] (https://kegbot.org/docs/server/production-server/) documents, make any necessary changes to the configuration files, reload/restart
supervisor, and restart
Scenario Two: Modifying a
When modifying a drink, Kegbot Server recalculates global statistics. Depending on the length of your drink history and the power of your server’s CPU, this can take a long time and may cause a timeout.
location / declaration, add the following:
--timeout=300to the end of the
supervisor and restart
If you still receive the 502 error, try increasing the timeout number.
Scenario Three: Triggering an
Kegbot Server can be configured, by user, to trigger e-mails when four events occur.
Keg Volume Low. If your e-mail parameters are misconfigured, you may witness a 502 error on any of these events.
Be sure e-mail is set up properly
Alternative to E-mail (Workaround if e-mail is unconfigured)
- Go to
Account -> Notificationsarea and un-check ALL the notifications
We regularly update the Kegbot Server software, and your particular problem may have recently been fixed.
Kegbot Server Upgrade
- Follow [these steps] (https://kegbot.org/docs/server/upgrade-kegbot/)