Ups ein Fehler ist aufgetreten kommt öfters

Hallo ihr Lieben

Ich habe das Problem das die Page mir öfters " Ups ein Fehler ist aufgetreten" anzeigt.

Nach Login in den persönlichen Account - Aber auch bei Gutschein einlösung. Dies geschieht sporadisch und sobald man die Seite aktualisiert und man es ein 2. mal versucht, geht es wieder.

Habt ihr Tipps?

 

Danke und Grüße

Nachtrag: 

 

 exception 'Shopware\Components\CSRFTokenValidationException' with message 'The provided X-CSRF-Token for path "/account/login/sTarget/account/sTargetAction/index" is invalid. Please go back, reload the page and try again.' in /var/www/vhosts/[house-of-protein.com/httpdocs/engine/Shopware/Components/CSRFTokenValidator.php:158](http://house-of-protein.com/httpdocs/engine/Shopware/Components/CSRFTokenValidator.php:158) Stack trace: #0 [internal function]: Shopware\Components\CSRFTokenValidator-\>checkFrontendTokenValidation(Object(Enlight\_Controller\_ActionEventArgs)) #1 /var/www/vhosts/[house-of-protein.com/httpdocs/engine/Library/Enlight/Event/Handler/Default.php](http://house-of-protein.com/httpdocs/engine/Library/Enlight/Event/Handler/Default.php)(91): call\_user\_func(Array, Object(Enlight\_Controller\_ActionEventArgs)) #2 /var/www/vhosts/[house-of-protein.com/httpdocs/engine/Library/Enlight/Event/EventManager.php](http://house-of-protein.com/httpdocs/engine/Library/Enlight/Event/EventManager.php)(214): Enlight\_Event\_Handler\_Default-\>execute(Object(Enlight\_Controller\_ActionEventArgs)) #3 /var/www/vhosts/[house-of-protein.com/httpdocs/engine/Library/Enlight/Controller/Action.php](http://house-of-protein.com/httpdocs/engine/Library/Enlight/Controller/Action.php)(143): Enlight\_Event\_EventManager-\>notify('Enlight\_Control...', Object(Enlight\_Controller\_ActionEventArgs)) #4 /var/www/vhosts/[house-of-protein.com/httpdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php](http://house-of-protein.com/httpdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php)(523): Enlight\_Controller\_Action-\>dispatch('loginAction') #5 /var/www/vhosts/[house-of-protein.com/httpdocs/engine/Library/Enlight/Controller/Front.php](http://house-of-protein.com/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/vhosts/[house-of-protein.com/httpdocs/engine/Shopware/Kernel.php](http://house-of-protein.com/httpdocs/engine/Shopware/Kernel.php)(180): Enlight\_Controller\_Front-\>dispatch() #7 /var/www/vhosts/[house-of-protein.com/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php](http://house-of-protein.com/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php)(487): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #8 /var/www/vhosts/[house-of-protein.com/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php](http://house-of-protein.com/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php)(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #9 /var/www/vhosts/[house-of-protein.com/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php](http://house-of-protein.com/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php)(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #10 /var/www/vhosts/[house-of-protein.com/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php](http://house-of-protein.com/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php)(275): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #11 /var/www/vhosts/[house-of-protein.com/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php](http://house-of-protein.com/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php)(133): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #12 /var/www/vhosts/[house-of-protein.com/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php](http://house-of-protein.com/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php)(206): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #13 /var/www/vhosts/[house-of-protein.com/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php](http://house-of-protein.com/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php)(114): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 /var/www/vhosts/[house-of-protein.com/httpdocs/shopware.php](http://house-of-protein.com/httpdocs/shopware.php)(117): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #15 {main}

Ich finde man könnte sich vor der Erstellung eines neuen Themas etwas mehr Mühe geben.
Bemühe einfach mal die Forensuche z.b. mit „CSRF-Token“

Das wird hier bereits seit einer ganzen Weile rege behandelt.
 

1 Like

Zum Beispiel hier, inkl. einem Fix von Shopware, der sich gerade noch in der Testphase befindet (sieht aber gut aus). Damit ist ein Teilaspekt des gesamten komplexen Themas behandelt, aber noch nicht abgeschlossen:

https://forum.shopware.com/discussion/44833/versuch-eines-sammelthreads-zu-x-csrf-token-validierungsproblem/p1