Cannot login to UCP- Ajax Error

Hi, Im running FPBX standard distro 16.0.40.8
All modules are completely up to date
UCP version is 16.0.38.1

Whenever I try to log into UCP I get an error message “There was an error, see console log for details”

The console log shows this (FQDN redacted for security)

Source map error: Error: request failed with status 403
Resource URL: https://..***/ucp/assets/js/compiled/main/jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.1
Source Map URL: bootstrap-toggle.min.js.map

POST https://xxx.xxx.xxx/ucp/ajax.php

Status 403 Forbidden
Version HTTP/1.1
Transferred 762 B (32 B size)
Referrer Policy strict-origin-when-cross-origin
DNS ResolutionSystem

Forbidden: ajaxRequest declined

jsphpg_b76ec9325a1a5caca04f28721d9cc414.js:2682:233
ready https://../ucp/assets/js/compiled/main/jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.1:2682
(Async: setTimeout handler)
ready https://
../ucp/assets/js/compiled/main/jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.1:2681
jQuery 7
ajax https://../ucp/assets/js/compiled/main/jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.1:21
b jQuery
normalLogin https://
../ucp/assets/js/compiled/main/jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.1:2692
handleMFAFunc https://../ucp/assets/js/compiled/main/jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.1:2691
setupLogin https://
../ucp/assets/js/compiled/main/jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.1:2690
jQuery 2

The PBX sits behind a NAT, and the URL points to the external IP of the system.

If I downgrade the UCP module to 16.0.36 it works perfectly though, so there is something in 16.0.38 which is causing this to happen.

Any ideas??

Can you please check if you see any error in httpd logs (error or access) or “fwconsole debug”.

Please open Github issue to debug this further and you can try to see if 16.0.37 works fine or not for you ?

changelog shows below fixes after 16.0.36
16.0.38.2 Github issue#19 Improving reset password email template
16.0.38 FREEPBX-24070
16.0.37 FREEPBX-24083 ( ref - User disappears from contact list if they change their user info in UCP)

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.