http://pms.cmet.ustc.edu.cn/announcement-attachment/download/86

DefaultController :: announcementAttachmentDownload

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\DefaultController::announcementAttachmentDownload"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"announcement_attachment_download"
_route_params
[
  "id" => "86"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"5009bf"
id
"86"

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"
accept-encoding
"gzip"
accept-language
"zh-CN,zh;q=0.9,en;q=0.8,zh-TW;q=0.7,it;q=0.6"
cache-control
"no-cache"
connection
"close"
host
"pms.cmet.ustc.edu.cn"
pragma
"no-cache"
sec-ch-ua
""Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109""
sec-ch-ua-mobile
"?0"
sec-ch-ua-platform
""macOS""
sec-fetch-dest
"document"
sec-fetch-mode
"navigate"
sec-fetch-site
"none"
sec-fetch-user
"?1"
upgrade-insecure-requests
"1"
user-agent
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
x-forwarded-for
"115.223.12.252"
x-forwarded-proto
"https"
x-php-ob-level
"1"
x-real-ip
"115.223.12.252"

Request Content

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

Response

Response Headers

Header Value
cache-control
"private, must-revalidate"
content-type
"text/html; charset=UTF-8"
date
"Wed, 25 Jun 2025 00:01:07 GMT"
expires
-1
pragma
"no-cache"
x-debug-exception
"An%20exception%20occurred%20in%20the%20driver%3A%20SQLSTATE%5B08004%5D%20%5B1040%5D%20Too%20many%20connections"
x-debug-exception-file
"%2Fhome%2Fprojects%2Fpms%2Fvendor%2Fdoctrine%2Fdbal%2Fsrc%2FDriver%2FAPI%2FMySQL%2FExceptionConverter.php:117"
x-debug-token
"5456d5"
x-debug-token-link
"http://pms.cmet.ustc.edu.cn/_profiler/96c2d6"
x-previous-debug-token
"96c2d6"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"2e3ffa8cf43642eb32a6182584438905"
BASE_URL
"http://pms.cmet.ustc.edu.cn/"
DATABASE_URL
"mysql://root:zwx303.db@127.0.0.1:3306/pms?serverVersion=mariadb-10.1.41"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/home/projects/pms/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/projects/pms/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_ACCEPT_LANGUAGE
"zh-CN,zh;q=0.9,en;q=0.8,zh-TW;q=0.7,it;q=0.6"
HTTP_CACHE_CONTROL
"no-cache"
HTTP_CONNECTION
"close"
HTTP_HOST
"pms.cmet.ustc.edu.cn"
HTTP_PRAGMA
"no-cache"
HTTP_SEC_CH_UA
""Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109""
HTTP_SEC_CH_UA_MOBILE
"?0"
HTTP_SEC_CH_UA_PLATFORM
""macOS""
HTTP_SEC_FETCH_DEST
"document"
HTTP_SEC_FETCH_MODE
"navigate"
HTTP_SEC_FETCH_SITE
"none"
HTTP_SEC_FETCH_USER
"?1"
HTTP_UPGRADE_INSECURE_REQUESTS
"1"
HTTP_USER_AGENT
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
HTTP_X_FORWARDED_FOR
"115.223.12.252"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_REAL_IP
"115.223.12.252"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aFs8QwIyJn-3qxNtmu9I4QAAAAM"
REDIRECT_URL
"/announcement-attachment/download/86"
REMOTE_ADDR
"202.38.64.248"
REMOTE_PORT
"43896"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1750809667
REQUEST_TIME_FLOAT
1750809667.538
REQUEST_URI
"/announcement-attachment/download/86"
SCRIPT_FILENAME
"/home/projects/pms/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"202.38.70.183"
SERVER_ADMIN
"root@localhost"
SERVER_NAME
"pms.cmet.ustc.edu.cn"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.6 (CentOS) PHP/7.4.30"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,BASE_URL,DATABASE_URL"
UNIQUE_ID
"aFs8QwIyJn-3qxNtmu9I4QAAAAM"

Sub Requests 1

ErrorController (token = 96c2d6)

Key Value
_controller
"error_controller"
_stopwatch_token
"90ef65"
exception
Doctrine\DBAL\Exception\DriverException {#664
  -query: null
  #message: "An exception occurred in the driver: SQLSTATE[08004] [1040] Too many connections"
  #code: 1040
  #file: "/home/projects/pms/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php"
  #line: 117
  -previous: Doctrine\DBAL\Driver\PDO\Exception {#661 …}
  trace: {
    /home/projects/pms/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:117 {
      Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(Exception $exception, ?Query $query): DriverException …
      › 
      ›     return new DriverException($exception, $query);}
    }
    /home/projects/pms/vendor/doctrine/dbal/src/Connection.php:1943 {
      Doctrine\DBAL\Connection->handleDriverException(Exception $driverException, ?Query $query): DriverException …
      › $this->exceptionConverter ??= $this->_driver->getExceptionConverter();$exception                  = $this->exceptionConverter->convert($driverException, $query);}
    /home/projects/pms/vendor/doctrine/dbal/src/Connection.php:1891 {
      Doctrine\DBAL\Connection->convertException(Exception $e): DriverException …
      › {    return $this->handleDriverException($e, null);}
    }
    /home/projects/pms/vendor/doctrine/dbal/src/Connection.php:380 {
      Doctrine\DBAL\Connection->connect() …
      › } catch (Driver\Exception $e) {    throw $this->convertException($e);}
    }
    /home/projects/pms/vendor/doctrine/dbal/src/Connection.php:1659 {
      Doctrine\DBAL\Connection->getWrappedConnection() …
      › 
      › $this->connect();}
    /home/projects/pms/vendor/doctrine/dbal/src/Connection.php:1082 {
      Doctrine\DBAL\Connection->executeQuery(string $sql, array $params = [], $types = [], QueryCacheProfile $qcp = null): Result …
      › 
      › $connection = $this->getWrappedConnection();}
    /home/projects/pms/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:776 {
      Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array $criteria, $entity = null, $assoc = null, array $hints = [], $lockMode = null, $limit = null, array $orderBy = null) …
      › [$params, $types] = $this->expandParameters($criteria);$stmt             = $this->conn->executeQuery($sql, $params, $types);}
    /home/projects/pms/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:794 {
      Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(array $identifier, $entity = null) …
      › {    return $this->load($identifier, $entity);}
    }
    /home/projects/pms/vendor/doctrine/orm/src/EntityManager.php:521 {
      Doctrine\ORM\EntityManager->find($className, $id, $lockMode = null, $lockVersion = null) …
      ›     default:        return $persister->loadById($sortedId);}
    }
    /home/projects/pms/var/cache/dev/ContainerBykbw1h/EntityManager_9a5be93.php:143 {
      ContainerBykbw1h\EntityManager_9a5be93->find($className, $id, $lockMode = null, $lockVersion = null) …
      › 
      ›     return $this->valueHolderf992b->find($className, $id, $lockMode, $lockVersion);}
    }
    /home/projects/pms/vendor/doctrine/orm/src/EntityRepository.php:197 {
      Doctrine\ORM\EntityRepository->find($id, $lockMode = null, $lockVersion = null) …
      › {    return $this->_em->find($this->_entityName, $id, $lockMode, $lockVersion);}
    }
    /home/projects/pms/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:142 {
      Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->find($class, Request $request, $options, $name) …
      › try {    return $om->getRepository($class)->$method($id);} catch (NoResultException $e) {
    }
    /home/projects/pms/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php:91 {
      Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter->apply(Request $request, ParamConverter $configuration) …
      ›     // find by identifier?} elseif (false === $object = $this->find($class, $request, $options, $name)) {    // find by criteria
    }
    /home/projects/pms/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:84 {
      Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->applyConverter(Request $request, ParamConverter $configuration) …
      › if ($converter->supports($configuration)) {    if ($converter->apply($request, $configuration)) {        return;
    }
    /home/projects/pms/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/ParamConverterManager.php:48 {
      Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager->apply(Request $request, $configurations) …
      › foreach ($configurations as $configuration) {    $this->applyConverter($request, $configuration);}
    }
    /home/projects/pms/vendor/sensio/framework-extra-bundle/src/EventListener/ParamConverterListener.php:72 {
      Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener->onKernelController(KernelEvent $event) …
      › 
      ›     $this->manager->apply($request, $configurations);}
    }
    /home/projects/pms/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118 {
      Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
      › try {    ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {
    }
    /home/projects/pms/vendor/symfony/event-dispatcher/EventDispatcher.php:230 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
      ›     }    $listener($event, $eventName, $this);}
    }
    /home/projects/pms/vendor/symfony/event-dispatcher/EventDispatcher.php:59 {
      Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object …
      › if ($listeners) {    $this->callListeners($listeners, $eventName, $event);}
    }
    /home/projects/pms/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
    }
    /home/projects/pms/vendor/symfony/http-kernel/HttpKernel.php:151 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › $event = new ControllerEvent($this, $controller, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER);$controller = $event->getController();
    }
    /home/projects/pms/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /home/projects/pms/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /home/projects/pms/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /home/projects/pms/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/projects/pms/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/projects/pms/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
null