Skip to main content
Question

Centreon Token issue

  • August 10, 2023
  • 5 replies
  • 130 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 *
  • August 10, 2023

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 *
  • August 10, 2023

 


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • August 14, 2023

👋 @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 *
  • August 31, 2023

I added this line but nothing changed

 


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • September 26, 2023

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