# Critical Log Einträge alle paar Sekunden, was tun?

**URL:** https://forum.shopware.com/t/critical-log-eintraege-alle-paar-sekunden-was-tun/99990
**Category:** Shopware 6 (German)
**Created:** [6. Juni 2023 um 14:17 UTC](https://forum.shopware.com/t/critical-log-eintraege-alle-paar-sekunden-was-tun/99990 "2023-06-06T14:17:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ergobasis](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@ergobasis](https://forum.shopware.com/u/ergobasis)
#### Post date: [6. Juni 2023 um 14:17 UTC](https://forum.shopware.com/t/critical-log-eintraege-alle-paar-sekunden-was-tun/99990/1 "2023-06-06T14:17:15Z")

</div>

Hallo Leute,  
ich bekomme alle paar Sekunden neue System Log Einträge die als „Critical“ Markiert sind. Ich kann leider nicht viel damit anfangen, vll weiß von euch da einer mehr was das zu bedeuten hat und wie man es evtl. abstellen kann.  
Shopware Version 6.4.20.2

Error 1

```auto
Uncaught PHP Exception League\OAuth2\Server\Exception\OAuthServerException: "The resource owner or authorization server denied the request." at /html/shopware/vendor/league/oauth2-server/src/Exception/OAuthServerException.php line 243 {"exception":"[object] (League\\OAuth2\\Server\\Exception\\OAuthServerException(code: 9): The resource owner or authorization server denied the request. at /html/shopware/vendor/league/oauth2-server/src/Exception/OAuthServerException.php:243)\n[previous exception] [object] (Lcobucci\\JWT\\Token\\InvalidTokenStructure(code: 0): The JWT string must have two dots at /html/shopware/vendor/lcobucci/jwt/src/Token/InvalidTokenStructure.php:13)"} []

```

Error 2

```auto
Uncaught Exception: An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/html/shopware/vendor/symfony/http-foundation/Response.php" at line 397."). {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): An exception has been thrown during the rendering of a template (\"Failed to start the session because headers have already been sent by \"/html/shopware/vendor/symfony/http-foundation/Response.php\" at line 397.\"). at /html/shopware/vendor/shopware/storefront/Resources/views/storefront/page/error/_page.html.twig:5)\n[previous exception] [object] (RuntimeException(code: 0): Failed to start the session because headers have already been sent by \"/html/shopware/vendor/symfony/http-foundation/Response.php\" at line 397. at /html/shopware/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145)"} []

```

Error 3

```auto
Uncaught PHP Exception Twig\Error\RuntimeError: "An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/html/shopware/vendor/symfony/http-foundation/Response.php" at line 397.")." at /html/shopware/vendor/shopware/storefront/Resources/views/storefront/page/error/_page.html.twig line 5 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): An exception has been thrown during the rendering of a template (\"Failed to start the session because headers have already been sent by \"/html/shopware/vendor/symfony/http-foundation/Response.php\" at line 397.\"). at /html/shopware/vendor/shopware/storefront/Resources/views/storefront/page/error/_page.html.twig:5)\n[previous exception] [object] (RuntimeException(code: 0): Failed to start the session because headers have already been sent by \"/html/shopware/vendor/symfony/http-foundation/Response.php\" at line 397. at /html/shopware/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145)"} []

```

Error 4

```auto
Uncaught PHP Exception RuntimeException: "Failed to start the session because headers have already been sent by "/html/shopware/vendor/symfony/http-foundation/Response.php" at line 397." at /html/shopware/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php line 145 {"exception":"[object] (RuntimeException(code: 0): Failed to start the session because headers have already been sent by \"/html/shopware/vendor/symfony/http-foundation/Response.php\" at line 397. at /html/shopware/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145)"} []

```

---

<div class="post-metadata">

### Author: ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)
#### Post date: [6. Juni 2023 um 14:45 UTC](https://forum.shopware.com/t/critical-log-eintraege-alle-paar-sekunden-was-tun/99990/2 "2023-06-06T14:45:34Z")

</div>

Da versucht jemand ohne Genehmigung sich einzuloggen, API zu nutzen oder …

Der zweite Fehler wird vermutlich durch eine falsche Server-Konfiguration verursacht. Vermutlich ist display\_errors in der php.ini aktiviert.

---

<div class="post-metadata">

### Author: ![ergobasis](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@ergobasis](https://forum.shopware.com/u/ergobasis)
#### Post date: [6. Juni 2023 um 14:53 UTC](https://forum.shopware.com/t/critical-log-eintraege-alle-paar-sekunden-was-tun/99990/3 "2023-06-06T14:53:37Z")

</div>

Hm dann kann ich vll mit Fehler zweimal meinen Hoster aufschlagen, vll wissen die da näheres.

Und der Rest… hm…  
Das könnte also ein Login Versuch, aber auch eine API Nutzung sein, die nicht autorisiert ist? Wie kann man rausfinden, was davon zutrifft? Gibt es da eine Möglichkeit?

---

<div class="post-metadata">

### Author: ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)
#### Post date: [6. Juni 2023 um 15:03 UTC](https://forum.shopware.com/t/critical-log-eintraege-alle-paar-sekunden-was-tun/99990/4 "2023-06-06T15:03:05Z")

</div>

Schau einfach in deinen access.log des Servers, falls der aktiviert ist. Dort solltest du alle Requests sehen.

---

<div class="post-metadata">

### Author: ![ergobasis](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@ergobasis](https://forum.shopware.com/u/ergobasis)
#### Post date: [7. Juni 2023 um 06:35 UTC](https://forum.shopware.com/t/critical-log-eintraege-alle-paar-sekunden-was-tun/99990/5 "2023-06-07T06:35:45Z")

</div>

vielen Dank, das werd ich mir mal anschauen.
