Error 404 Not Found

GET https://novaerp.watys.fr/bot-connect.js

Exceptions

No route found for "GET https://novaerp.watys.fr/bot-connect.js"

Exceptions 2

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#479
  -statusCode: 404
  -headers: []
}
  1. if ($referer = $request->headers->get('referer')) {
  2. $message .= \sprintf(' (from "%s")', $referer);
  3. }
  4. throw new NotFoundHttpException($message, $e);
  5. } catch (MethodNotAllowedException $e) {
  6. $message = \sprintf('No route found for "%s %s": Method Not Allowed (Allow: %s)', $request->getMethod(), $request->getUriForPath($request->getPathInfo()), implode(', ', $e->getAllowedMethods()));
  7. throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e);
  8. }
  1. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);
  2. $e = $this->stopwatch->start($this->name, 'event_listener');
  3. try {
  4. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
  5. } finally {
  6. if ($e->isStarted()) {
  7. $e->stop();
  8. }
  9. }
  1. foreach ($listeners as $listener) {
  2. if ($stoppable && $event->isPropagationStopped()) {
  3. break;
  4. }
  5. $listener($event, $eventName, $this);
  6. }
  7. }
  8. /**
  9. * Sorts the internal list of listeners for the given event by priority.
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
  1. try {
  2. $this->beforeDispatch($eventName, $event);
  3. try {
  4. $e = $this->stopwatch->start($eventName, 'section');
  5. try {
  6. $this->dispatcher->dispatch($event, $eventName);
  7. } finally {
  8. if ($e->isStarted()) {
  9. $e->stop();
  10. }
  11. }
  1. */
  2. private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response
  3. {
  4. // request
  5. $event = new RequestEvent($this, $request, $type);
  6. $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
  7. if ($event->hasResponse()) {
  8. return $this->filterResponse($event->getResponse(), $request, $type);
  9. }
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/var/www/app/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return static function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Symfony\Component\Routing\Exception\ ResourceNotFoundException

No routes found for "/bot-connect.js/".

  1. $pathinfo = $fallbackPathinfo;
  2. goto redirect_scheme;
  3. }
  4. }
  5. throw new ResourceNotFoundException(\sprintf('No routes found for "%s".', $pathinfo));
  6. }
  7. private function doMatch(string $pathinfo, array &$allow = [], array &$allowSchemes = [], array &$trailingSlashSchemes = []): array
  8. {
  9. $allow = $allowSchemes = $trailingSlashSchemes = [];
  1. $this->request = $request;
  2. $originalContext = $this->context;
  3. $this->context = (clone $originalContext)->fromRequest($request);
  4. try {
  5. return $this->match($request->getPathInfo());
  6. } finally {
  7. $this->context = $originalContext;
  8. $this->request = null;
  9. }
  10. }
in vendor/symfony/routing/Router.php -> matchRequest (line 188)
  1. if (!$matcher instanceof RequestMatcherInterface) {
  2. // fallback to the default UrlMatcherInterface
  3. return $matcher->match($request->getPathInfo());
  4. }
  5. return $matcher->matchRequest($request);
  6. }
  7. /**
  8. * Gets the UrlMatcher or RequestMatcher instance associated with this Router.
  9. */
  1. // add attributes based on the request (routing)
  2. try {
  3. // matching a request is more powerful than matching a URL path + context, so try that first
  4. if ($this->matcher instanceof RequestMatcherInterface) {
  5. $parameters = $this->matcher->matchRequest($request);
  6. } else {
  7. $parameters = $this->matcher->match($request->getPathInfo());
  8. }
  9. $this->logger?->info('Matched route "{route}".', [
  1. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);
  2. $e = $this->stopwatch->start($this->name, 'event_listener');
  3. try {
  4. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
  5. } finally {
  6. if ($e->isStarted()) {
  7. $e->stop();
  8. }
  9. }
  1. foreach ($listeners as $listener) {
  2. if ($stoppable && $event->isPropagationStopped()) {
  3. break;
  4. }
  5. $listener($event, $eventName, $this);
  6. }
  7. }
  8. /**
  9. * Sorts the internal list of listeners for the given event by priority.
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
  1. try {
  2. $this->beforeDispatch($eventName, $event);
  3. try {
  4. $e = $this->stopwatch->start($eventName, 'section');
  5. try {
  6. $this->dispatcher->dispatch($event, $eventName);
  7. } finally {
  8. if ($e->isStarted()) {
  9. $e->stop();
  10. }
  11. }
  1. */
  2. private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response
  3. {
  4. // request
  5. $event = new RequestEvent($this, $request, $type);
  6. $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
  7. if ($event->hasResponse()) {
  8. return $this->filterResponse($event->getResponse(), $request, $type);
  9. }
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/var/www/app/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return static function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

Level Channel Message
INFO 00:26:04 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "c430ea"
    },
    "request_uri": "https://novaerp.watys.fr/_profiler/c430ea",
    "method": "GET"
}
INFO 00:26:04 deprecation User Deprecated: Passing string as $order to Doctrine\ORM\QueryBuilder::orderBy() is deprecated, use an instance of SortDirection instead. (QueryBuilder.php:1518 called by QueryBuilder.php:1235, https://github.com/doctrine/orm/issues/11313, package doctrine/orm)
{
    "exception": {}
}
INFO 00:26:04 doctrine Connecting with parameters {params}
{
    "params": {
        "driver": "pdo_pgsql",
        "idle_connection_ttl": 600,
        "host": "127.0.0.1",
        "port": 5432,
        "user": "novaerp",
        "password": "<redacted>",
        "driverOptions": [],
        "defaultTableOptions": [],
        "dbname": "novaerp",
        "serverVersion": "17",
        "charset": "utf8"
    }
}
DEBUG 00:26:04 doctrine Executing query: SELECT s0_.id AS id_0, s0_.code AS code_1, s0_.label AS label_2, s0_.item_type AS item_type_3, s0_.url AS url_4, s0_.icon AS icon_5, s0_.sort_order AS sort_order_6, s0_.is_active AS is_active_7, s0_.requires_published_entity AS requires_published_entity_8, s1_.id AS id_9, s1_.code AS code_10, s1_.label AS label_11, s1_.description AS description_12, s1_.icon AS icon_13, s1_.sort_order AS sort_order_14, s1_.is_system AS is_system_15, s1_.is_active AS is_active_16, s2_.id AS id_17, s2_.code AS code_18, s2_.table_name AS table_name_19, s2_.label AS label_20, s2_.label_plural AS label_plural_21, s2_.description AS description_22, s2_.soft_delete AS soft_delete_23, s2_.audited AS audited_24, s2_.company_scoped AS company_scoped_25, s2_.site_scoped AS site_scoped_26, s2_.api_enabled AS api_enabled_27, s2_.ui_enabled AS ui_enabled_28, s2_.is_active AS is_active_29, s2_.status AS status_30, s2_.published_version AS published_version_31, s2_.created_at AS created_at_32, s2_.updated_at AS updated_at_33, s3_.id AS id_34, s3_.code AS code_35, s3_.label AS label_36, s3_.item_type AS item_type_37, s3_.url AS url_38, s3_.icon AS icon_39, s3_.sort_order AS sort_order_40, s3_.is_active AS is_active_41, s3_.requires_published_entity AS requires_published_entity_42, s0_.module_id AS module_id_43, s0_.parent_id AS parent_id_44, s0_.entity_id AS entity_id_45, s2_.module_id AS module_id_46, s3_.module_id AS module_id_47, s3_.parent_id AS parent_id_48, s3_.entity_id AS entity_id_49 FROM studio_menu_item s0_ LEFT JOIN studio_module s1_ ON s0_.module_id = s1_.id LEFT JOIN studio_entity s2_ ON s0_.entity_id = s2_.id LEFT JOIN studio_menu_item s3_ ON s0_.parent_id = s3_.id ORDER BY s0_.sort_order ASC, s0_.label ASC
{
    "sql": "SELECT s0_.id AS id_0, s0_.code AS code_1, s0_.label AS label_2, s0_.item_type AS item_type_3, s0_.url AS url_4, s0_.icon AS icon_5, s0_.sort_order AS sort_order_6, s0_.is_active AS is_active_7, s0_.requires_published_entity AS requires_published_entity_8, s1_.id AS id_9, s1_.code AS code_10, s1_.label AS label_11, s1_.description AS description_12, s1_.icon AS icon_13, s1_.sort_order AS sort_order_14, s1_.is_system AS is_system_15, s1_.is_active AS is_active_16, s2_.id AS id_17, s2_.code AS code_18, s2_.table_name AS table_name_19, s2_.label AS label_20, s2_.label_plural AS label_plural_21, s2_.description AS description_22, s2_.soft_delete AS soft_delete_23, s2_.audited AS audited_24, s2_.company_scoped AS company_scoped_25, s2_.site_scoped AS site_scoped_26, s2_.api_enabled AS api_enabled_27, s2_.ui_enabled AS ui_enabled_28, s2_.is_active AS is_active_29, s2_.status AS status_30, s2_.published_version AS published_version_31, s2_.created_at AS created_at_32, s2_.updated_at AS updated_at_33, s3_.id AS id_34, s3_.code AS code_35, s3_.label AS label_36, s3_.item_type AS item_type_37, s3_.url AS url_38, s3_.icon AS icon_39, s3_.sort_order AS sort_order_40, s3_.is_active AS is_active_41, s3_.requires_published_entity AS requires_published_entity_42, s0_.module_id AS module_id_43, s0_.parent_id AS parent_id_44, s0_.entity_id AS entity_id_45, s2_.module_id AS module_id_46, s3_.module_id AS module_id_47, s3_.parent_id AS parent_id_48, s3_.entity_id AS entity_id_49 FROM studio_menu_item s0_ LEFT JOIN studio_module s1_ ON s0_.module_id = s1_.id LEFT JOIN studio_entity s2_ ON s0_.entity_id = s2_.id LEFT JOIN studio_menu_item s3_ ON s0_.parent_id = s3_.id ORDER BY s0_.sort_order ASC, s0_.label ASC"
}

Stack Traces 2

[2/2] NotFoundHttpException
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET https://novaerp.watys.fr/bot-connect.js"

  at vendor/symfony/http-kernel/EventListener/RouterListener.php:187
  at Symfony\Component\HttpKernel\EventListener\RouterListener->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:129)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (vendor/symfony/http-kernel/HttpKernel.php:171)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:77)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:205)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/var/www/app/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/2] ResourceNotFoundException
Symfony\Component\Routing\Exception\ResourceNotFoundException:
No routes found for "/bot-connect.js/".

  at vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:76
  at Symfony\Component\Routing\Matcher\CompiledUrlMatcher->match()
     (vendor/symfony/routing/Matcher/UrlMatcher.php:101)
  at Symfony\Component\Routing\Matcher\UrlMatcher->matchRequest()
     (vendor/symfony/routing/Router.php:188)
  at Symfony\Component\Routing\Router->matchRequest()
     (vendor/symfony/http-kernel/EventListener/RouterListener.php:132)
  at Symfony\Component\HttpKernel\EventListener\RouterListener->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:129)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (vendor/symfony/http-kernel/HttpKernel.php:171)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:77)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:205)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/var/www/app/vendor/autoload_runtime.php')
     (public/index.php:5)