# Getting lot of errors in past three days

**URL:** https://forum.shopware.com/t/getting-lot-of-errors-in-past-three-days/44156
**Category:** Programmierung
**Created:** [2. März 2017 um 01:52 UTC](https://forum.shopware.com/t/getting-lot-of-errors-in-past-three-days/44156 "2017-03-02T01:52:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![annamalai](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@annamalai](https://forum.shopware.com/u/annamalai)
#### Post date: [2. März 2017 um 01:52 UTC](https://forum.shopware.com/t/getting-lot-of-errors-in-past-three-days/44156/1 "2017-03-02T01:52:33Z")

</div>

Enlight\_Controller\_Exception: Unauthorized in /engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php:206 Stack trace:  
#0 /engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>onPreDispatchBackend(Object(Enlight\_Controller\_ActionEventArgs))  
#1 /engine/Library/Enlight/Event/EventManager.php(214): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Controller\_ActionEventArgs))  
#2 /engine/Library/Enlight/Controller/Action.php(136): Enlight\_Event\_EventManager-\>notify(‘Enlight\_Control…’, Object(Enlight\_Controller\_ActionEventArgs))  
#3 /engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch(‘getVisitorsActi…’)  
#4 /engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))  
#5 /engine/Shopware/Kernel.php(180): Enlight\_Controller\_Front-\>dispatch()  
#6 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Enlight\_Controller\_Request\_RequestHttp), 1, true)  
#7 /engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)  
#8 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)  
#9 /engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)  
#10 /var/www/vhosts/atzschoenhof.aix-cloud.de/swissbatt24.ch/shopware.php(117): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))  
#11 {main}

&nbsp;

And also&nbsp;

Shopware\Components\CSRFTokenValidationException: The provided X-CSRF-Token for path “/register/saveRegister/sTarget/checkout/sTargetAction/confirm” is invalid. Please go back, reload the page and try again. in /engine/Shopware/Components/CSRFTokenValidator.php:158 Stack trace:  
#0 /engine/Library/Enlight/Event/Handler/Default.php(91): Shopware\Components\CSRFTokenValidator-\>checkFrontendTokenValidation(Object(Enlight\_Controller\_ActionEventArgs))  
#1 /engine/Library/Enlight/Event/EventManager.php(214): Enlight\_Event\_Handler\_Default-\>execute(Object(Enlight\_Controller\_ActionEventArgs))  
#2 /engine/Library/Enlight/Controller/Action.php(141): Enlight\_Event\_EventManager-\>notify(‘Enlight\_Control…’, Object(Enlight\_Controller\_ActionEventArgs))  
#3 /engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch(‘saveRegisterAct…’)  
#4 /engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))  
#5 /engine/Shopware/Kernel.php(180): Enlight\_Controller\_Front-\>dispatch()  
#6 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Enlight\_Controller\_Request\_RequestHttp), 1, true)  
#7 /engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)  
#8 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)  
#9 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)  
#10 /engine/Shopware/Components/HttpCache/AppCache.php(133): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)  
#11 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)  
#12 /engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#13 /var/www/vhosts/atzschoenhof.aix-cloud.de/swissbatt24.ch/shopware.php(117): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))  
#14 {main}

&nbsp;

Can anyone help me on this and also suddendly the site is loading slow and checkout not working sometimes .

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![dogado\_shops](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@dogado\_shops](https://forum.shopware.com/u/dogado_shops)
#### Post date: [2. März 2017 um 06:14 UTC](https://forum.shopware.com/t/getting-lot-of-errors-in-past-three-days/44156/2 "2017-03-02T06:14:47Z")

</div>

[https://developers.shopware.com/developers-guide/csrf-protection/](https://developers.shopware.com/developers-guide/csrf-protection/)

---

<div class="post-metadata">

### Author: ![annamalai](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@annamalai](https://forum.shopware.com/u/annamalai)
#### Post date: [2. März 2017 um 06:21 UTC](https://forum.shopware.com/t/getting-lot-of-errors-in-past-three-days/44156/3 "2017-03-02T06:21:41Z")

</div>

> [@AIXPRO schrieb:](https://forum.shopware.com/profile/2481/AIXPRO "AIXPRO")
> 
> [https://developers.shopware.com/developers-guide/csrf-protection/](https://developers.shopware.com/developers-guide/csrf-protection/)

Do i have to disable the csrf-protection . I have the hosting with your company.&nbsp;&nbsp;

---

<div class="post-metadata">

### Author: ![dogado\_shops](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@dogado\_shops](https://forum.shopware.com/u/dogado_shops)
#### Post date: [2. März 2017 um 06:27 UTC](https://forum.shopware.com/t/getting-lot-of-errors-in-past-three-days/44156/4 "2017-03-02T06:27:05Z")

</div>

It´s a protection but it does cause issues with several plugins. If you search for CSRF Protection here, you will get lots of results.

Disabling the protection is the fastest solution but does not solve the root cause of the issue.
