Exceptions
Exceptions 2
Symfony\Component\HttpKernel\Exception\ BadRequestHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\BadRequestHttpException {#395 -statusCode: 400 -headers: [] }
in
vendor/symfony/http-kernel/HttpKernel.php
(line 83)
if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}if ($e instanceof RequestExceptionInterface) {$e = new BadRequestHttpException($e->getMessage(), $e);}if (false === $catch) {$this->finishRequest($request, $type);throw $e;
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 182)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/srv/www/conventoo-php8.smart-q.de/vendor/autoload_runtime.php')
in
public/index.php
(line 7)
date_default_timezone_set('Europe/Berlin');use App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Symfony\Component\HttpFoundation\Exception\ SuspiciousOperationException
in
vendor/symfony/http-foundation/Request.php
(line 1126)
if (!$this->isHostValid) {return '';}$this->isHostValid = false;throw new SuspiciousOperationException(\sprintf('Untrusted Host "%s".', $host));}return $host;}
in
vendor/symfony/http-kernel/EventListener/ValidateRequestListener.php
->
getHost
(line 41)
if ($request::getTrustedProxies()) {$request->getClientIps();}$request->getHost();}public static function getSubscribedEvents(): array{return [
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelRequest
(line 115)
$this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try {($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 206)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 126)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 159)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 182)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/srv/www/conventoo-php8.smart-q.de/vendor/autoload_runtime.php')
in
public/index.php
(line 7)
date_default_timezone_set('Europe/Berlin');use App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 07:34:14 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "38ffd7"
},
"request_uri": "https://conventoo-php8.smart-q.de/_profiler/38ffd7?panel=exception&type=request",
"method": "GET"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\MimeTypeListener::onKernelRequest". {
"event": "kernel.request",
"listener": "FOS\\RestBundle\\EventListener\\MimeTypeListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bridge\\Doctrine\\Middleware\\IdleConnection\\Listener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\FragmentListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\FormatListener::onKernelRequest". {
"event": "kernel.request",
"listener": "FOS\\RestBundle\\EventListener\\FormatListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "AppBundle\EventSubscriber\LocaleSubscriber::onKernelRequest". {
"event": "kernel.request",
"listener": "AppBundle\\EventSubscriber\\LocaleSubscriber::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\BodyListener::onKernelRequest". {
"event": "kernel.request",
"listener": "FOS\\RestBundle\\EventListener\\BodyListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "UserBundle\Application\User\Event\SessionIdleListener::onKernelRequest". {
"event": "kernel.request",
"listener": "UserBundle\\Application\\User\\Event\\SessionIdleListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Sentry\SentryBundle\EventListener\RequestListener::handleKernelRequestEvent". {
"event": "kernel.request",
"listener": "Sentry\\SentryBundle\\EventListener\\RequestListener::handleKernelRequestEvent"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Sentry\SentryBundle\EventListener\TracingRequestListener::handleKernelRequestEvent". {
"event": "kernel.request",
"listener": "Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelRequestEvent"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Sentry\SentryBundle\EventListener\SubRequestListener::handleKernelRequestEvent". {
"event": "kernel.request",
"listener": "Sentry\\SentryBundle\\EventListener\\SubRequestListener::handleKernelRequestEvent"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Sentry\SentryBundle\EventListener\TracingSubRequestListener::handleKernelRequestEvent". {
"event": "kernel.request",
"listener": "Sentry\\SentryBundle\\EventListener\\TracingSubRequestListener::handleKernelRequestEvent"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "AppBundle\Application\Menu\Event\MenuAccessListener::onKernelRequest". {
"event": "kernel.request",
"listener": "AppBundle\\Application\\Menu\\Event\\MenuAccessListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "UserBundle\Application\User\Event\UserLoginRouteListener::onKernelRequest". {
"event": "kernel.request",
"listener": "UserBundle\\Application\\User\\Event\\UserLoginRouteListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "ShopBundle\Application\Customer\CustomerLoginRouteListener::onKernelRequest". {
"event": "kernel.request",
"listener": "ShopBundle\\Application\\Customer\\CustomerLoginRouteListener::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest". {
"event": "kernel.request",
"listener": "Knp\\Bundle\\PaginatorBundle\\Subscriber\\SlidingPaginationSubscriber::onKernelRequest"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.request" to listener "Sentry\SentryBundle\EventListener\LoginListener::handleKernelRequestEvent". {
"event": "kernel.request",
"listener": "Sentry\\SentryBundle\\EventListener\\LoginListener::handleKernelRequestEvent"
}
|
| INFO 07:34:14 | deprecation |
User Deprecated: In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AttributeDriver.php:77 called by App_KernelDevDebugContainer.php:2471, https://github.com/doctrine/orm/pull/10455, package doctrine/orm) {
"exception": {}
}
|
| INFO 07:34:14 | deprecation |
User Deprecated: Since symfony/var-exporter 7.3: The "Symfony\Component\VarExporter\LazyGhostTrait" trait is deprecated, use native lazy objects instead. {
"exception": {}
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.controller" to listener "Sentry\SentryBundle\EventListener\RequestListener::handleKernelControllerEvent". {
"event": "kernel.controller",
"listener": "Sentry\\SentryBundle\\EventListener\\RequestListener::handleKernelControllerEvent"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.controller" to listener "FOS\RestBundle\EventListener\ParamFetcherListener::onKernelController". {
"event": "kernel.controller",
"listener": "FOS\\RestBundle\\EventListener\\ParamFetcherListener::onKernelController"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.controller" to listener "AppBundle\Controller\ControllerListener::onKernelController". {
"event": "kernel.controller",
"listener": "AppBundle\\Controller\\ControllerListener::onKernelController"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.controller" to listener "ShopBundle\Controller\ControllerListener::onKernelController". {
"event": "kernel.controller",
"listener": "ShopBundle\\Controller\\ControllerListener::onKernelController"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.controller" to listener "PublicBundle\Controller\ControllerListener::onKernelController". {
"event": "kernel.controller",
"listener": "PublicBundle\\Controller\\ControllerListener::onKernelController"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.controller" to listener "FOS\RestBundle\EventListener\ViewResponseListener::onKernelController". {
"event": "kernel.controller",
"listener": "FOS\\RestBundle\\EventListener\\ViewResponseListener::onKernelController"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsCsrfTokenValidAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsCsrfTokenValidAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 07:34:14 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
|
Stack Traces 2
|
[2/2]
BadRequestHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\BadRequestHttpException:
Untrusted Host "188.40.164.33".
at vendor/symfony/http-kernel/HttpKernel.php:83
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:182)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:29)
at require_once('/srv/www/conventoo-php8.smart-q.de/vendor/autoload_runtime.php')
(public/index.php:7)
|
|
[1/2]
SuspiciousOperationException
|
|---|
Symfony\Component\HttpFoundation\Exception\SuspiciousOperationException:
Untrusted Host "188.40.164.33".
at vendor/symfony/http-foundation/Request.php:1126
at Symfony\Component\HttpFoundation\Request->getHost()
(vendor/symfony/http-kernel/EventListener/ValidateRequestListener.php:41)
at Symfony\Component\HttpKernel\EventListener\ValidateRequestListener->onKernelRequest()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:159)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:182)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:29)
at require_once('/srv/www/conventoo-php8.smart-q.de/vendor/autoload_runtime.php')
(public/index.php:7)
|