# Shopware 5.30  Backend Login Probleme mit Firefox -   CSRF-Token is invalid ( Chrome funktioniert )

**URL:** <https://forum.shopware.com/t/shopware-5-30-backend-login-probleme-mit-firefox-csrf-token-is-invalid-chrome-funktioniert/47339>\
**Category:** Allgemein\
**Created:** [5. August 2017 um 18:52 UTC](https://forum.shopware.com/t/shopware-5-30-backend-login-probleme-mit-firefox-csrf-token-is-invalid-chrome-funktioniert/47339 "2017-08-05T18:52:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel.B](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@Daniel.B](https://forum.shopware.com/u/Daniel.B)\
**Post date:** [5. August 2017 um 18:52 UTC](https://forum.shopware.com/t/shopware-5-30-backend-login-probleme-mit-firefox-csrf-token-is-invalid-chrome-funktioniert/47339/1 "2017-08-05T18:52:39Z")

</div>

Ich habe Probleme mich mit dem Firefox Aktuellste Version ins Backend einzuloggen.  
Am Shop wurde nichts geändert ( Shopware 5.3.0) .

Es erfolgte nur ein Update von Firefox auf die Aktuellste Version.Mit dem Chrome Browser gibt es keine Probleme.  
Hier mal die Fehlermeldung.&nbsp; Wie sind die Fehler zu interpretieren bzw. wie könnte man diese beheben. Handelt es sich hier eventuell um einen Bug ?

&nbsp;

```
Ups! Ein Fehler ist aufgetreten!

Die nachfolgenden Hinweise sollten Ihnen weiterhelfen.

The provided CSRF-Token is invalid. If you're sure that the request to path "/backend/Login?file=app&no-cache=1501954586" should be valid, the called controller action needs to be whitelisted using the CSRFWhitelistAware interface. in engine/Shopware/Components/CSRFTokenValidator.php on line 110
Stack trace:

#0 [internal function]: Shopware\Components\CSRFTokenValidator->checkBackendTokenValidation(Object(Enlight_Controller_ActionEventArgs))
#1 engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Controller_ActionEventArgs))
#2 engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#3 engine/Library/Enlight/Controller/Action.php(143): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#4 engine/Library/Enlight/Controller/Dispatcher/Default.php(525): Enlight_Controller_Action->dispatch('indexAction')
#5 engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#6 engine/Shopware/Kernel.php(184): Enlight_Controller_Front->dispatch()
#7 vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#9 vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#10 engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#11 shopware.php(118): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#12 {main}

```

&nbsp;

und das steht im Log

&nbsp;

```
[2017-08-05 19:55:46] core.ERROR: exception 'Shopware\Components\CSRFTokenValidationException' with message 'The provided CSRF-Token is invalid. If you're sure that the request to path "/backend/Login?file=app&no-cache=1501955745" should be valid, the called controller action needs to be whitelisted using the CSRFWhitelistAware interface.' in /var/www/httpdocs/engine/Shopware/Components/CSRFTokenValidator.php:110 Stack trace: #0 [internal function]: Shopware\Components\CSRFTokenValidator->checkBackendTokenValidation(Object(Enlight_Controller_ActionEventArgs)) #1 /var/www/httpdocs/engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Controller_ActionEventArgs)) #2 /var/www/httpdocs/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs)) #3 /var/www/httpdocs/engine/Library/Enlight/Controller/Action.php(143): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs)) #4 /var/www/httpdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('indexAction') #5 /var/www/httpdocs/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #6 /var/www/httpdocs/engine/Shopware/Kernel.php(182): Enlight_Controller_Front->dispatch() #7 /var/www/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #8 /var/www/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #9 /var/www/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #10 /var/www/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #11 /var/www/httpdocs/shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #12 {main} [] {"uid":"8115d9e"}

```

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [5. August 2017 um 19:38 UTC](https://forum.shopware.com/t/shopware-5-30-backend-login-probleme-mit-firefox-csrf-token-is-invalid-chrome-funktioniert/47339/2 "2017-08-05T19:38:30Z")

</div>

Ich hab aktuell 54.0 und keine Probleme.

Hast du mal geschaut, ob das auch passiert, wenn du mal den kompletten Browsercache leerst?  
Darüber hinaus solltest du mal überlegen ob du kürzlich ein Plugin installiert/aktualisiert hast und das ggf. deaktivieren. Andere Browser funktionieren?

---

<div class="post-metadata">

**Author:** ![Daniel.B](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@Daniel.B](https://forum.shopware.com/u/Daniel.B)\
**Post date:** [6. August 2017 um 01:33 UTC](https://forum.shopware.com/t/shopware-5-30-backend-login-probleme-mit-firefox-csrf-token-is-invalid-chrome-funktioniert/47339/3 "2017-08-06T01:33:53Z")

</div>

Browser Cache war&nbsp;geleert . Der Shop war ohne Plugins installiert ( Testshop im Unterverzeichniss ).

Firefox geht aber jetzt. Der CSRFToken Fehler tritt nur auf ,wenn das Backend mit http&nbsp;aufgerufen wird.

Mit https gibt es keine CSRFToken Fehler.&nbsp;&nbsp;Ich beobachte das aber weiter.&nbsp;
