502 Bad Gateway error when trying to access UCP

I am experiencing the same issue.

/ucp/ajax.php
Request Method
POST
Status Code
502 Bad Gateway

502 Bad Gateway
The server returned an invalid or incomplete response.

Hi @yesitsme
Make sure all the modules are latest if not upgraded, also please share web browser console log and /var/log/asterisk/ucp_error.log see if any error in that.

I checked another computer on the same network and it does work, so I don’t know what the root cause why it’s blocked on my main PC, can possibly be SSL cert from org or something, but’s its definitely not a bigger issue.

question is how can i add a certificate bundle if necessary, or how can I debug what the root cause may be?

\var\log\asterisk\freepbx.log

[2025-11-24 13:57:01] [freepbx.INFO]: Deprecated way to add Console commands for module vmnotify, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://sangomakb.atlassian.net/wiki/spaces/FP/pages/10650096/Adding+fwconsole+commands

\var\log\asterisk\freepbx_security.log

[2025-11-24 13:56:33] [freepbx_security.NOTICE]: Authentication successful for admin from 200….

I see it logs the ip from the filter provider

/var/log/asterisk/ucp_error.log doesn’t have anything when I try to log in, it has a very old log