# 'Unauthorized' Backend Fehlermeldungen

**URL:** <https://forum.shopware.com/t/unauthorized-backend-fehlermeldungen/43677>\
**Category:** Administration\
**Created:** [13. Februar 2017 um 20:01 UTC](https://forum.shopware.com/t/unauthorized-backend-fehlermeldungen/43677 "2017-02-13T20:01:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kai23](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@Kai23](https://forum.shopware.com/u/Kai23)\
**Post date:** [13. Februar 2017 um 20:01 UTC](https://forum.shopware.com/t/unauthorized-backend-fehlermeldungen/43677/1 "2017-02-13T20:01:14Z")

</div>

Ich bekomme sporadisch diese Fehlermeldungen per Mail.  
Die Fehler werden von mir selbst bzw. vom Safari unter MacOS&nbsp;ausgelöst.  
Was den Fehler allerdings genau triggert weis ich nicht.  
Es kommen immer diese drei Melungen in drei seperaten Mails:

```
ERROR

Message:  
exception 'Enlight_Controller_Exception' with message 'Unauthorized' in /var/www/vhosts/shopware/docroot/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php:206
Stack trace:
#0 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Backend_Auth_Bootstrap->onPreDispatchBackend(Object(Enlight_Controller_ActionEventArgs))
#1 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_ActionEventArgs))
#2 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Action.php(138): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#3 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('getVisitorsActi...')
#4 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#5 /var/www/vhosts/shopware/docroot/engine/Shopware/Kernel.php(180): Enlight_Controller_Front->dispatch()
#6 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#7 /var/www/vhosts/shopware/docroot/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#8 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#9 /var/www/vhosts/shopware/docroot/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /var/www/vhosts/shopware/docroot/shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#11 {main}
Time: 
2017-02-13T20:50:10.303257+0100
Channel:  
core
request:  
{
    "uri": "/backend/widgets/getVisitors?_dc=1487015381116&page=1&start=0&limit=25",
    "method": "GET",
    "query": {
        "_dc": "1487015381116",
        "page": "1",
        "start": "0",
        "limit": "25",
        "module": "backend",
        "controller": "widgets",
        "action": "getVisitors"
    },
    "post": []
}
shop: 
No shop data available
session:  
No session data available

```

&nbsp;

```
ERROR

Message:  
exception 'Enlight_Controller_Exception' with message 'Unauthorized' in /var/www/vhosts/shopware/docroot/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php:206
Stack trace:
#0 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Backend_Auth_Bootstrap->onPreDispatchBackend(Object(Enlight_Controller_ActionEventArgs))
#1 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_ActionEventArgs))
#2 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Action.php(138): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#3 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('getLastOrdersAc...')
#4 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#5 /var/www/vhosts/shopware/docroot/engine/Shopware/Kernel.php(180): Enlight_Controller_Front->dispatch()
#6 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#7 /var/www/vhosts/shopware/docroot/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#8 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#9 /var/www/vhosts/shopware/docroot/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /var/www/vhosts/shopware/docroot/shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#11 {main}
Time: 
2017-02-13T20:50:10.251920+0100
Channel:  
core
request:  
{
    "uri": "/backend/widgets/getLastOrders?_dc=1487015381003&page=1&start=0&limit=25",
    "method": "GET",
    "query": {
        "_dc": "1487015381003",
        "page": "1",
        "start": "0",
        "limit": "25",
        "module": "backend",
        "controller": "widgets",
        "action": "getLastOrders"
    },
    "post": []
}
shop: 
No shop data available
session:  
No session data available

```

&nbsp;

```
ERROR

Message:  
exception 'Enlight_Controller_Exception' with message 'Unauthorized' in /var/www/vhosts/shopware/docroot/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php:206
Stack trace:
#0 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Backend_Auth_Bootstrap->onPreDispatchBackend(Object(Enlight_Controller_ActionEventArgs))
#1 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_ActionEventArgs))
#2 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Action.php(138): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#3 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('getTurnOverVisi...')
#4 /var/www/vhosts/shopware/docroot/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#5 /var/www/vhosts/shopware/docroot/engine/Shopware/Kernel.php(180): Enlight_Controller_Front->dispatch()
#6 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#7 /var/www/vhosts/shopware/docroot/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#8 /var/www/vhosts/shopware/docroot/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#9 /var/www/vhosts/shopware/docroot/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /var/www/vhosts/shopware/docroot/shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#11 {main}
Time: 
2017-02-13T20:50:10.303257+0100
Channel:  
core
request:  
{
    "uri": "/backend/widgets/getTurnOverVisitors?_dc=1487015381004&page=1&start=0&limit=25",
    "method": "GET",
    "query": {
        "_dc": "1487015381004",
        "page": "1",
        "start": "0",
        "limit": "25",
        "module": "backend",
        "controller": "widgets",
        "action": "getTurnOverVisitors"
    },
    "post": []
}
shop: 
No shop data available
session:  
No session data available

```

&nbsp;

---

<div class="post-metadata">

**Author:** ![KingJah](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/kingjah/32/15438_2.png) [@KingJah](https://forum.shopware.com/u/KingJah)\
**Post date:** [3. Juni 2018 um 17:52 UTC](https://forum.shopware.com/t/unauthorized-backend-fehlermeldungen/43677/2 "2018-06-03T17:52:46Z")

</div>

Ich kriege sehr häufig die selben drei Mails? Herausgefunden woran es liegt?

---

<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:** [3. Juni 2018 um 17:59 UTC](https://forum.shopware.com/t/unauthorized-backend-fehlermeldungen/43677/3 "2018-06-03T17:59:39Z")

</div>

Das passiert bei einem backend timeout. Du bist quasi schon ausgeloggt und im Hintergrund werden die Widgets aktualisiert. Die Fehlermeldung entsteht nur im backend wenn man was abrufen will, worauf man keinen Zugriff hat. In der Meldung oben stehen die Widgets im Stacktrace.

---

<div class="post-metadata">

**Author:** ![Kai23](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@Kai23](https://forum.shopware.com/u/Kai23)\
**Post date:** [12. Juni 2018 um 18:24 UTC](https://forum.shopware.com/t/unauthorized-backend-fehlermeldungen/43677/4 "2018-06-12T18:24:11Z")

</div>

Also ihr seid da schon dran, das ist schön zu hören.
