Skip to main content
Question

Centreon Token issue

  • Aug 10, 2023 9:06 AM UTC
  • 5 replies
  • 164 views

Forum|alt.badge.img+2

Hello,

I need help for a centreon login issue.

We have this message from few days. 

 

Centreon is 21.10.14 / CentOS7

Saw nothing in logs, tried with several browsers 

I’ve reinstalled the app and restore database but still stuck 

 

can you help ?

 

5 replies

Forum|alt.badge.img+2
  • Author
  • Steward *
  • Aug 10, 2023 11:59 AM UTC

I have this message in /var/log/php-fpm/centreon-error.log

 

CRITICAL: A Token was not found in the TokenStorage. {"context":"[object] (Symfony\\Component\\Security\\Core\\Exception\\AuthenticationCredentialsNotFoundException(code: 0): A Token was not found in the TokenStorage. at /usr/share/centreon/vendor/symfony/security-http/Firewall/AccessListener.php:69)"}
 


Forum|alt.badge.img+2
  • Author
  • Steward *
  • Aug 10, 2023 1:42 PM UTC

 


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • Aug 14, 2023 8:35 PM UTC

👋 @smbld 

can you confirm that you are following this:

https://docs.centreon.com/docs/21.10/administration/secure-platform/#enable-https-on-the-web-server

mainly in “ /etc/httpd/conf.d/10-centreon.conf”

Header always edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure;SameSite=Strict

if you are using https


Forum|alt.badge.img+2
  • Author
  • Steward *
  • Aug 31, 2023 1:54 PM UTC

I added this line but nothing changed

 


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • Sep 26, 2023 7:06 PM UTC

Did you restart your web server? do you any other/different error?