www-nl.netromsoftware.com Open in urlscan Pro
194.102.98.236  Public Scan

URL: http://www-nl.netromsoftware.com/
Submission: On September 18 via api from NL — Scanned from NL

Form analysis 0 forms found in the DOM

Text Content

SYMFONY EXCEPTION

Symfony Docs
Symfony Support


SUSPICIOUSOPERATIONEXCEPTION BADREQUESTHTTPEXCEPTION


HTTP 400 BAD REQUEST


UNTRUSTED HOST "WWW-NL.NETROMSOFTWARE.COM".


 * Exceptions 2
 * Logs 1
 * Stack Traces 2


EXCEPTIONS 2


SYMFONY\COMPONENT\HTTPKERNEL\EXCEPTION\ BADREQUESTHTTPEXCEPTION

in vendor/symfony/http-kernel/HttpKernel.php (line 82)
 77. 
 78.         try {
 79.             return $this->handleRaw($request, $type);
 80.         } catch (\Exception $e) {
 81.             if ($e instanceof RequestExceptionInterface) {
 82.                 $e = new BadRequestHttpException($e->getMessage(), $e);
 83.             }
 84.             if (false === $catch) {
 85.                 $this->finishRequest($request, $type);
 86. 
 87.                 throw $e;

in vendor/symfony/http-kernel/Kernel.php -> handle (line 196)
 191.         $this->boot();
 192.         ++$this->requestStackSize;
 193.         $this->resetServices = true;
 194. 
 195.         try {
 196.             return $this->getHttpKernel()->handle($request, $type, $catch);
 197.         } finally {
 198.             --$this->requestStackSize;
 199.         }
 200.     }
 201. 

Kernel->handle() in public/index.php (line 28)
 23.     Request::setTrustedHosts([$trustedHosts]);
 24. }
 25. 
 26. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
 27. $request = Request::createFromGlobals();
 28. $response = $kernel->handle($request);
 29. $response->send();
 30. $kernel->terminate($request, $response);
 31. 


SYMFONY\COMPONENT\HTTPFOUNDATION\EXCEPTION\ SUSPICIOUSOPERATIONEXCEPTION

Untrusted Host "www-nl.netromsoftware.com".

in vendor/symfony/http-foundation/Request.php (line 1206)
 1201.             if (!$this->isHostValid) {
 1202.                 return '';
 1203.             }
 1204.             $this->isHostValid = false;
 1205. 
 1206.             throw new SuspiciousOperationException(sprintf('Untrusted Host "%s".', $host));
 1207.         }
 1208. 
 1209.         return $host;
 1210.     }
 1211. 

in vendor/symfony/http-kernel/EventListener/ValidateRequestListener.php ->
getHost (line 41)
 36. 
 37.         if ($request::getTrustedProxies()) {
 38.             $request->getClientIps();
 39.         }
 40. 
 41.         $request->getHost();
 42.     }
 43. 
 44.     /**
 45.      * {@inheritdoc}
 46.      */

in vendor/symfony/event-dispatcher/Debug/WrappedListener.php -> onKernelRequest
(line 117)
 112.         $this->called = true;
 113.         $this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);
 114. 
 115.         $e = $this->stopwatch->start($this->name, 'event_listener');
 116. 
 117.         ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
 118. 
 119.         if ($e->isStarted()) {
 120.             $e->stop();
 121.         }
 122. 

in vendor/symfony/event-dispatcher/EventDispatcher.php -> __invoke (line 230)
 225. 
 226.         foreach ($listeners as $listener) {
 227.             if ($stoppable && $event->isPropagationStopped()) {
 228.                 break;
 229.             }
 230.             $listener($event, $eventName, $this);
 231.         }
 232.     }
 233. 
 234.     /**
 235.      * Sorts the internal list of listeners for the given event by priority.

in vendor/symfony/event-dispatcher/EventDispatcher.php -> callListeners (line
59)
 54.         } else {
 55.             $listeners = $this->getListeners($eventName);
 56.         }
 57. 
 58.         if ($listeners) {
 59.             $this->callListeners($listeners, $eventName, $event);
 60.         }
 61. 
 62.         return $event;
 63.     }
 64. 

in vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php ->
dispatch (line 151)
 146.         try {
 147.             $this->beforeDispatch($eventName, $event);
 148.             try {
 149.                 $e = $this->stopwatch->start($eventName, 'section');
 150.                 try {
 151.                     $this->dispatcher->dispatch($event, $eventName);
 152.                 } finally {
 153.                     if ($e->isStarted()) {
 154.                         $e->stop();
 155.                     }
 156.                 }

in vendor/symfony/http-kernel/HttpKernel.php -> dispatch (line 133)
 128.     {
 129.         $this->requestStack->push($request);
 130. 
 131.         // request
 132.         $event = new RequestEvent($this, $request, $type);
 133.         $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
 134. 
 135.         if ($event->hasResponse()) {
 136.             return $this->filterResponse($event->getResponse(), $request, $type);
 137.         }
 138. 

in vendor/symfony/http-kernel/HttpKernel.php -> handleRaw (line 79)
 74.     public function handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true)
 75.     {
 76.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
 77. 
 78.         try {
 79.             return $this->handleRaw($request, $type);
 80.         } catch (\Exception $e) {
 81.             if ($e instanceof RequestExceptionInterface) {
 82.                 $e = new BadRequestHttpException($e->getMessage(), $e);
 83.             }
 84.             if (false === $catch) {

in vendor/symfony/http-kernel/Kernel.php -> handle (line 196)
 191.         $this->boot();
 192.         ++$this->requestStackSize;
 193.         $this->resetServices = true;
 194. 
 195.         try {
 196.             return $this->getHttpKernel()->handle($request, $type, $catch);
 197.         } finally {
 198.             --$this->requestStackSize;
 199.         }
 200.     }
 201. 

Kernel->handle() in public/index.php (line 28)
 23.     Request::setTrustedHosts([$trustedHosts]);
 24. }
 25. 
 26. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
 27. $request = Request::createFromGlobals();
 28. $response = $kernel->handle($request);
 29. $response->send();
 30. $kernel->terminate($request, $response);
 31. 


LOGS 1

Level
 * Emergency
 * Alert
 * Critical
 * Error
 * Warning
 * Notice
 * Info
 * Debug

Channel
 * event
 * request

Message DEBUG 01:03:09 event Notified event "kernel.request" to listener
"Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".

{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}

ERROR 01:03:09 request Uncaught PHP Exception
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: "Untrusted Host
"www-nl.netromsoftware.com"." at
/var/www/netrom/ro/api/api/vendor/symfony/http-kernel/HttpKernel.php line 82

{
    "exception": {}
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".

{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".

{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"ApiPlatform\Core\Filter\QueryParameterValidateListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Core\\Filter\\QueryParameterValidateListener::onKernelRequest"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".

{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"ApiPlatform\Core\EventListener\AddFormatListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Core\\EventListener\\AddFormatListener::onKernelRequest"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"ApiPlatform\Core\EventListener\ReadListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Core\\EventListener\\ReadListener::onKernelRequest"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"ApiPlatform\Core\Security\EventListener\DenyAccessListener::onSecurity".

{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Core\\Security\\EventListener\\DenyAccessListener::onSecurity"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"App\EventListener\DeserializeListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "App\\EventListener\\DeserializeListener::onKernelRequest"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"ApiPlatform\Core\Security\EventListener\DenyAccessListener::onSecurityPostDenormalize".

{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Core\\Security\\EventListener\\DenyAccessListener::onSecurityPostDenormalize"
}

DEBUG 01:03:09 event Notified event "kernel.request" to listener
"ApiPlatform\Core\Bridge\Symfony\Bundle\EventListener\SwaggerUiListener::onKernelRequest".

{
    "event": "kernel.request",
    "listener": "ApiPlatform\\Core\\Bridge\\Symfony\\Bundle\\EventListener\\SwaggerUiListener::onKernelRequest"
}

DEBUG 01:03:09 event Notified event "kernel.controller" to listener
"Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".

{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}

DEBUG 01:03:09 event Notified event "kernel.controller" to listener
"Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".

{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}

DEBUG 01:03:09 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 "www-nl.netromsoftware.com".

  at vendor/symfony/http-kernel/HttpKernel.php:82
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:196)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:28)                


[1/2] SUSPICIOUSOPERATIONEXCEPTION

Symfony\Component\HttpFoundation\Exception\SuspiciousOperationException:
Untrusted Host "www-nl.netromsoftware.com".

  at vendor/symfony/http-foundation/Request.php:1206
  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:117)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:151)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (vendor/symfony/http-kernel/HttpKernel.php:133)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:196)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:28)                


An error occurred while loading the web debug toolbar.