Question

Centreon Token issue

  • 10 August 2023
  • 5 replies
  • 63 views

Badge +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

Badge +2

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)"}
 

Badge +2

 

Userlevel 4
Badge +13

👋 @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

Badge +2

I added this line but nothing changed

 

Userlevel 4
Badge +13

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

Reply