centreon / centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
https://www.centreon.com
GNU General Public License v2.0
574 stars 240 forks source link

Unable login through mobile.centreon.com with 21.10 #10595

Open tizianosartori opened 2 years ago

tizianosartori commented 2 years ago

Versions centreon-21.10.2-4.el7.centos.noarch centreon-auto-discovery-server-21.10.1-1.el7.centos.noarch centreon-base-config-centreon-engine-21.10.2-4.el7.centos.noarch centreon-broker-21.10.0-6.el7.x86_64 centreon-broker-cbd-21.10.0-6.el7.x86_64 centreon-broker-cbmod-21.10.0-6.el7.x86_64 centreon-broker-core-21.10.0-6.el7.x86_64 centreon-broker-selinux-0.0.6-1.x86_64 centreon-broker-storage-21.10.0-6.el7.x86_64 centreon-clib-21.10.0-6.el7.x86_64 centreon-common-21.10.2-4.el7.centos.noarch centreon-common-selinux-0.0.11-1.x86_64 centreon-connector-21.10.0-6.el7.x86_64 centreon-connector-perl-21.10.0-6.el7.x86_64 centreon-connector-ssh-21.10.0-6.el7.x86_64 centreon-database-21.10.2-4.el7.centos.noarch centreon-engine-21.10.0-6.el7.x86_64 centreon-engine-daemon-21.10.0-6.el7.x86_64 centreon-engine-extcommands-21.10.0-6.el7.x86_64 centreon-engine-selinux-0.0.10-1.x86_64 centreon-gorgone-21.10.1-1.el7.centos.noarch centreon-gorgone-centreon-config-21.10.1-1.el7.centos.noarch centreon-gorgoned-selinux-0.0.4-1.x86_64 centreon-license-manager-21.10.0-1.el7.centos.noarch centreon-license-manager-common-21.10.0-1.el7.centos.noarch centreon-perl-libs-21.10.2-4.el7.centos.noarch centreon-poller-centreon-engine-21.10.2-4.el7.centos.noarch centreon-pp-manager-21.10.0-2.el7.centos.noarch centreon-release-21.04-5.el7.centos.noarch centreon-release-21.10-2.el7.centos.noarch centreon-release-21.10-5.el7.centos.noarch centreon-trap-21.10.2-4.el7.centos.noarch centreon-web-21.10.2-4.el7.centos.noarch centreon-web-selinux-0.0.8-1.x86_64 centreon-widget-engine-status-21.10.0-2.el7.centos.noarch centreon-widget-global-health-21.10.1-1.el7.centos.noarch centreon-widget-graph-monitoring-21.10.0-2.el7.centos.noarch centreon-widget-grid-map-21.10.0-2.el7.centos.noarch centreon-widget-hostgroup-monitoring-21.10.0-2.el7.centos.noarch centreon-widget-host-monitoring-21.10.0-2.el7.centos.noarch centreon-widget-httploader-21.10.0-2.el7.centos.noarch centreon-widget-live-top10-cpu-usage-21.10.0-2.el7.centos.noarch centreon-widget-live-top10-memory-usage-21.10.0-2.el7.centos.noarch centreon-widget-servicegroup-monitoring-21.10.0-2.el7.centos.noarch centreon-widget-service-monitoring-21.10.0-2.el7.centos.noarch centreon-widget-tactical-overview-21.10.0-2.el7.centos.noarch

Operating System CentOS 7.9.2009

Browser used

Description

After upgrade from 21.04 to 21.10 following this doc: https://docs.centreon.com/21.10/en/upgrade/upgrade-from-21-04.html access throung mobile.centreon.com is not possibile.

The error is: "Centreon version not compatible (>=20.04 needed)"

All users are Reach API Configuration and Reach API Realtime enabled. All changes in this pages are maded https://docs.centreon.com/21.10/en/upgrade/upgrade-from-19-10.html#configure-apache-api-access

Steps to Reproduce

  1. Open https://mobile.centreon.com
  2. Insert the URL ending with /centreon
  3. Insert credential
  4. Login

Logs

[26-Jan-2022 21:50:07 Europe/Rome] ERROR: No route found for "GET /centreon/api/beta/platform/versions" (from "https://mobile.centreon.com/") {"context":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /centreon/api/beta/platform/versions\" (from \"https://mobile.centreon.com/\") at /usr/share/centreon/vendor/symfony/http-kernel/EventListener/RouterListener.php:136)\n[previous exception] [object] (Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/centreon/api/beta/platform/versions/\". at /usr/share/centreon/vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:70)"}

tizianosartori commented 2 years ago

If I use url ending with /centreon/api/latest the error do not appear