https://nsia-provider.olasoft.net/doc/4/download?name=avis-consultation-2022-paysage.pdf

ErrorController

Request

GET Parameters

Key Value
name
"avis-consultation-2022-paysage.pdf"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"d1c930"
exception
ErrorException {#1334
  #message: "Notice: file_get_contents(): Read of 8192 bytes failed with errno=21 Is a directory"
  #code: 0
  #file: "/home/olasoftnka/nsia-provider/src/Controller/OSFileController.php"
  #line: 43
  #severity: E_NOTICE
  trace: {
    /home/olasoftnka/nsia-provider/src/Controller/OSFileController.php:43 {
      App\Controller\OSFileController->download(Request $request, OSFile $doc = null, $isRead = 0) …
      › $response->headers->set('Content-length', filesize($filename));$response->setContent(file_get_contents($filename));return $response;
    }
    /home/olasoftnka/nsia-provider/vendor/symfony/http-kernel/HttpKernel.php:152 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#52 …}
        $doc: App\Entity\File\OSFile {#995 …}
        $isRead: 0
      }
    }
    /home/olasoftnka/nsia-provider/vendor/symfony/http-kernel/HttpKernel.php:74 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#52 …}
        $type: 1
      }
    }
    /home/olasoftnka/nsia-provider/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#52 …}
        $type: 1
        $catch: true
      }
    }
    /home/olasoftnka/nsia-provider/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#52 …}
      }
    }
    /home/olasoftnka/nsia-provider/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/olasoftnka/nsia-provider/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/olasoftnka/nsia-provider/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#644 …7}

Request Headers

Header Value
accept-encoding
"gzip"
accept-language
"zh,zh-CN;q=0.9"
host
"nsia-provider.olasoft.net"
remote-ip
"2602:ffe4:8:1001::4"
user-agent
"Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback@bytedance.com)"
x-forwarded-for
"2602:ffe4:8:1001::4"
x-forwarded-proto
"https"
x-ovhrequest-id
"bf9f7d003179fc448618fd3950b318b5"
x-php-ob-level
"1"
x-predictor
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 19 Sep 2026 13:47:43 GMT"
x-debug-exception
"Notice%3A%20file_get_contents%28%29%3A%20Read%20of%208192%20bytes%20failed%20with%20errno%3D21%20Is%20a%20directory"
x-debug-exception-file
"%2Fhome%2Folasoftnka%2Fnsia-provider%2Fsrc%2FController%2FOSFileController.php:43"
x-debug-token
"49af69"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
  [
    "file" => "/home/olasoftnka/nsia-provider/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/vendor/symfony/security-core/Security.php"
    "line" => 58
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/vendor/symfony/security-core/Security.php"
    "line" => 40
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Security"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/src/EventSubscriber/RedirectToLogoutSubscriber.php"
    "line" => 31
    "function" => "getUser"
    "class" => "Symfony\Component\Security\Core\Security"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 111
    "function" => "onKernelRequest"
    "class" => "App\EventSubscriber\RedirectToLogoutSubscriber"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 152
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 128
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/home/olasoftnka/nsia-provider/public/index.php"
    "line" => 5
    "args" => [
      "/home/olasoftnka/nsia-provider/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"07c887ded0e8bd03a6b01bcca9c0f825"
DATABASE_URL
"mysql://nsia-provider:h4jcYM6aeCqHtn29@sf111235-001.privatesql:35453/nsia-provider"
GOOGLE_RECAPTCHA_SECRET_KEY
"6Let4N8gAAAAAIlNRUDwgNE_XheD-OQdjv5BH97G"
GOOGLE_RECAPTCHA_SITE_KEY
"6Let4N8gAAAAALnCz6Q6zib-WHaMMCMreRIWmo2r"
MAILER_DSN
"sendgrid+api://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@default"
MAILER_FROM
"noreply@olasoft.net"
MESSENGER_TRANSPORT_DSN
"doctrine://default"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CFG_CLUSTER
"cluster111"
DOCUMENT_ROOT
"/home/olasoftnka/nsia-provider/public"
ENVIRONMENT
"production"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_ACCEPT_LANGUAGE
"zh,zh-CN;q=0.9"
HTTP_HOST
"nsia-provider.olasoft.net"
HTTP_REMOTE_IP
"2602:ffe4:8:1001::4"
HTTP_USER_AGENT
"Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback@bytedance.com)"
HTTP_X_FORWARDED_FOR
"2602:ffe4:8:1001::4"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_OVHREQUEST_ID
"bf9f7d003179fc448618fd3950b318b5"
HTTP_X_PREDICTOR
"1"
PHP_SELF
"/index.php"
QUERY_STRING
"name=avis-consultation-2022-paysage.pdf"
REDIRECT_QUERY_STRING
"name=avis-consultation-2022-paysage.pdf"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/doc/4/download"
REMOTE_ADDR
"2602:ffe4:8:1001::4"
REMOTE_PORT
"54016"
REQUEST_METHOD
"GET"
REQUEST_TIME
1789825662
REQUEST_TIME_FLOAT
1789825662.8404
REQUEST_URI
"/doc/4/download?name=avis-consultation-2022-paysage.pdf"
SCRIPT_FILENAME
"/home/olasoftnka/nsia-provider/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://nsia-provider.olasoft.net:443/doc/4/download"
SCRIPT_URL
"/doc/4/download"
SERVER_ADDR
"10.111.40.2"
SERVER_ADMIN
"postmaster@nsia-provider.olasoft.net"
SERVER_NAME
"nsia-provider.olasoft.net"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,MAILER_FROM,MAILER_DSN,GOOGLE_RECAPTCHA_SITE_KEY,GOOGLE_RECAPTCHA_SECRET_KEY"
UNIQUE_ID
"aq6Sfj9bpnzUAuF4X1TJqAAAAAU"
USER
"olasoftnka"
argc
1
argv
[
  "name=avis-consultation-2022-paysage.pdf"
]

Parent Request

Return to parent request (token = ca0596)

Key Value
_controller
"App\Controller\OSFileController::download"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"file-download"
_route_params
[
  "id" => "4"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"e81b29"
doc
App\Entity\File\OSFile {#995
  #file: null
  #filename: null
  #autoResize: true
  #previousTarget: null
  #id: 4
  #target: null
  #pages: null
  #downloads: 413
  #reading: null
  #name: "AVIS DE CONSULTATION NBB 2022 PAYSAGE.pdf"
  #dir: "upload/files/biblios/"
  #source: null
  #size: null
  #isEnabled: null
  #isDeleted: null
  #lastUpdate: DateTime @1789825663 {#1252
    date: 2026-09-19 15:47:43.178277 Europe/Paris (+02:00)
  }
  #createdAt: DateTime @1650983116 {#997
    date: 2022-04-26 16:25:16.0 Europe/Paris (+02:00)
  }
  #formatSize: null
  #mimetype: null
  #validsMimetypes: [
    "*"
  ]
  -createdBy: null
  -uuid: null
  -viewStrategy: null
}
id
"4"