Error 404 Not Found

GET http://main-api-recette.fip-corse.fr/robots.txt

Exceptions

No route found for "GET http://main-api-recette.fip-corse.fr/robots.txt" (from "http://main-api-recette.fip-corse.fr/robots.txt")

Exceptions 2

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#116
  -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. $this->boot();
  2. ++$this->requestStackSize;
  3. $this->resetServices = true;
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
Kernel->handle() in public/index.php (line 27)
  1. }
  2. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  3. $request = Request::createFromGlobals();
  4. $response = $kernel->handle($request);
  5. $response->send();
  6. $kernel->terminate($request, $response);

Symfony\Component\Routing\Exception\ ResourceNotFoundException

No routes found for "/robots.txt/".

  1. if ($allowSchemes) {
  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
  8. {
  9. $allow = $allowSchemes = [];
  1. public function matchRequest(Request $request): array
  2. {
  3. $this->request = $request;
  4. $ret = $this->match($request->getPathInfo());
  5. $this->request = null;
  6. return $ret;
  7. }
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. $this->boot();
  2. ++$this->requestStackSize;
  3. $this->resetServices = true;
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
Kernel->handle() in public/index.php (line 27)
  1. }
  2. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  3. $request = Request::createFromGlobals();
  4. $response = $kernel->handle($request);
  5. $response->send();
  6. $kernel->terminate($request, $response);

Logs

Level Message
info 23:52:26 Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "0358f1"
    },
    "request_uri": "http://main-api-recette.fip-corse.fr/_profiler/0358f1",
    "method": "GET"
}
debug 23:52:26 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
debug 23:52:26 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
debug 23:52:26 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 23:52:26 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
debug 23:52:26 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
debug 23:52:26 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
debug 23:52:26 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
debug 23:52:26 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
debug 23:52:26 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
debug 23:52:26 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$nbEncours is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$adressePostaleRue is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$adressePostaleCp is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreDateMplStart is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreDateMplEnd is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMplPrime1 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMplPrime2 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMplMiniVi1 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMplMiniVi2 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMplMiniUC is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreDateMprStart is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreDateMprEnd is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMprPrime1 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMprPrime2 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMprMiniVi1 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMprMiniVi2 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMprMiniUC is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreDateSuperStart is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreDateSuperEnd is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreSuperPrime2 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreSuperMiniVi2 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreSuperMiniUC is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreDateMplperStart is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreDateMplperEnd is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMplperPrime2 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMplperMiniVi2 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMplperMiniUC is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreDateMspStart is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreDateMspEnd is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMspPrime2 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMspMiniVi2 is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreMspMiniUC is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreDateParrainage is deprecated
{
    "exception": {}
}
info 23:52:26 Deprecated: Creation of dynamic property App\Services\Mp::$offreDateTransfertRetraite is deprecated
{
    "exception": {}
}
info 23:52:26 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:1927, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)
{
    "exception": {}
}
info 23:52:26 User Deprecated: Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\ORM\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:166 called by EntityManager.php:177, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm)
{
    "exception": {}
}
info 23:52:26 User Deprecated: Since web-token/jwt-bundle 3.2.0: The service "jose.internal_clock" is an internal service that will be removed in 4.0.0. Please use a PSR-20 compatible service as clock.
{
    "exception": {}
}
info 23:52:26 User Deprecated: Since web-token/jwt-bundle 3.3.0: The "Jose\Component\Encryption\Compression\CompressionMethodManagerFactory" service is deprecated and will be removed in version 4.0. Compression is not recommended for the JWE.
{
    "exception": {}
}
info 23:52:26 User Deprecated: Since web-token/jwt-bundle 3.3.0: The "Jose\Component\Encryption\Compression\Deflate" service is deprecated and will be removed in version 4.0. Compression is not recommended for the JWE.
{
    "exception": {}
}
debug 23:52:26 Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
debug 23:52:26 Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
debug 23:52:26 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 23:52:26 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 23:52:26 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 23:52:26 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] NotFoundHttpException
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET http://main-api-recette.fip-corse.fr/robots.txt" (from "http://main-api-recette.fip-corse.fr/robots.txt")

  at vendor/symfony/http-kernel/EventListener/RouterListener.php:156
  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: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()
     (public/index.php:27)                
[1/2] ResourceNotFoundException
Symfony\Component\Routing\Exception\ResourceNotFoundException:
No routes found for "/robots.txt/".

  at vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:70
  at Symfony\Component\Routing\Matcher\CompiledUrlMatcher->match()
     (vendor/symfony/routing/Matcher/UrlMatcher.php:89)
  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:101)
  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: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()
     (public/index.php:27)