'Unauthorized' Backend Fehlermeldungen

Ich bekomme sporadisch diese Fehlermeldungen per Mail.
Die Fehler werden von mir selbst bzw. vom Safari unter MacOS 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

 

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

 

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

 

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

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.

2 Likes

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