https://dev.centr.sariato.ru/telegram/bot/candidates-photo-bot/webhook

CandidatesPhotoTelegramBotController :: webhook

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\TelegramBot\CandidatesPhotoTelegramBotController::webhook"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"telegram_bot__candidates_photo_bot_webhook"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"5e2c34"

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7"
connection
"keep-alive"
cookie
"PHPSESSID=hebhk1gphmhf8sg7fbanjdigeh"
host
"dev.centr.sariato.ru"
priority
"u=0, i"
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; rv:150.0) Gecko/20100101 Firefox/150.0"
x-php-ob-level
"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, 16 May 2026 01:16:43 GMT"
vary
"Accept"
x-debug-exception
"App%5CLibrary%5CTelegramBot%5CTelegramObject%5CUpdate%3A%3A__construct%28%29%3A%20Argument%20%231%20%28%24data%29%20must%20be%20of%20type%20array%2C%20null%20given%2C%20called%20in%20%2Fhome%2Fsariato%2Fwww%2Fdev.centr.sariato.ru%2Fsrc%2FController%2FTelegramBot%2FCandidatesPhotoTelegramBotController.php%20on%20line%2014"
x-debug-exception-file
"%2Fhome%2Fsariato%2Fwww%2Fdev.centr.sariato.ru%2Fsrc%2FLibrary%2FTelegramBot%2FTelegramObject%2FUpdate.php:39"
x-debug-token
"ff1c3f"
x-debug-token-link
"https://dev.centr.sariato.ru/_profiler/164657"
x-previous-debug-token
"164657"
x-robots-tag
"noindex"

Cookies

Request Cookies

Key Value
PHPSESSID
"hebhk1gphmhf8sg7fbanjdigeh"

Response Cookies

No response cookies

Session 1

Session Metadata

Key Value
Created
"Sat, 16 May 26 04:13:24 +0300"
Last used
"Sat, 16 May 26 04:16:40 +0300"
Lifetime
10800

Session Attributes

Attribute Value
_csrf/https-authenticate
"g-fQaC6NCB6YaF74fysEudspggoS243vTths6HAkNdg"

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Http\Firewall\ContextListener:195
[
  [
    "file" => "/home/sariato/www/dev.centr.sariato.ru/vendor/symfony/security-http/Firewall/ContextListener.php"
    "line" => 195
    "function" => "remove"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/home/sariato/www/dev.centr.sariato.ru/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 118
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
    "type" => "->"
  ]
  [
    "file" => "/home/sariato/www/dev.centr.sariato.ru/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/home/sariato/www/dev.centr.sariato.ru/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/sariato/www/dev.centr.sariato.ru/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/sariato/www/dev.centr.sariato.ru/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/sariato/www/dev.centr.sariato.ru/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 249
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/sariato/www/dev.centr.sariato.ru/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 114
    "function" => "handleThrowable"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/sariato/www/dev.centr.sariato.ru/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php"
    "line" => 132
    "function" => "terminateWithException"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/sariato/www/dev.centr.sariato.ru/vendor/symfony/error-handler/ErrorHandler.php"
    "line" => 619
    "function" => "Symfony\Component\HttpKernel\EventListener\{closure}"
    "class" => "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener"
    "type" => "::"
  ]
  [
    "function" => "handleException"
    "class" => "Symfony\Component\ErrorHandler\ErrorHandler"
    "type" => "->"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"b7525a4fad1a49c4e1f9b7635d233a73"
BEANSTALKD_HOST
"127.0.0.1"
BEANSTALKD_PORT
"11300"
CANDIDATES_PHOTO_TELEGRAM_BOT_API_TOKEN
"8479930131:AAEwXP2xoozl80A9kHFKGJXTu_xCcvdVVHI"
CANDIDATES_PHOTO_TELEGRAM_BOT_WEB_HOOK_URL
"https://r.sariato.ru/telegram/bot/candidates-photo-bot/webhook-dev"
DATABASE_URL
"mysql://db:db123@127.0.0.1:3306/centr_dev?serverVersion=10.6.22-MariaDB"
DEBUG_LOG
"1"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
PYTHON_TELEGRAM_PATH
"/home/sariato/www/_python/tg_dev"
TELEGRAM_CLIENT_API_URL
"https://webiskit.ru/2hj42k35j34h5g4j3h534h5j34/make-tdlib-request"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/home/sariato/www/dev.centr.sariato.ru/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/sariato/www/dev.centr.sariato.ru/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7"
HTTP_CONNECTION
"keep-alive"
HTTP_COOKIE
"PHPSESSID=hebhk1gphmhf8sg7fbanjdigeh"
HTTP_HOST
"dev.centr.sariato.ru"
HTTP_PRIORITY
"u=0, i"
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; rv:150.0) Gecko/20100101 Firefox/150.0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"dev.centr.sariato.ru"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/telegram/bot/candidates-photo-bot/webhook"
REMOTE_ADDR
"83.149.37.125"
REMOTE_PORT
"19790"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1778894203
REQUEST_TIME_FLOAT
1778894203.6844
REQUEST_URI
"/telegram/bot/candidates-photo-bot/webhook"
SCRIPT_FILENAME
"/home/sariato/www/dev.centr.sariato.ru/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"77.232.136.68"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"dev.centr.sariato.ru"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.52 (Ubuntu) Server at dev.centr.sariato.ru Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.52 (Ubuntu)"
SSL_TLS_SNI
"dev.centr.sariato.ru"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,CANDIDATES_PHOTO_TELEGRAM_BOT_API_TOKEN,TELEGRAM_CLIENT_API_URL,CANDIDATES_PHOTO_TELEGRAM_BOT_WEB_HOOK_URL,PYTHON_TELEGRAM_PATH,DEBUG_LOG,BEANSTALKD_HOST,BEANSTALKD_PORT"

Sub Requests 1

ErrorController (token = 164657)

Key Value
_controller
"error_controller"
_stopwatch_token
"2280d3"
exception
TypeError {#1048
  #message: "App\Library\TelegramBot\TelegramObject\Update::__construct(): Argument #1 ($data) must be of type array, null given, called in /home/sariato/www/dev.centr.sariato.ru/src/Controller/TelegramBot/CandidatesPhotoTelegramBotController.php on line 14"
  #code: 0
  #file: "/home/sariato/www/dev.centr.sariato.ru/src/Library/TelegramBot/TelegramObject/Update.php"
  #line: 39
  trace: {
    /home/sariato/www/dev.centr.sariato.ru/src/Library/TelegramBot/TelegramObject/Update.php:39 {
      App\Library\TelegramBot\TelegramObject\Update->__construct(array $data) …
      › 
      › public function __construct(array $data){
    }
    /home/sariato/www/dev.centr.sariato.ru/src/Controller/TelegramBot/CandidatesPhotoTelegramBotController.php:14 {
      App\Controller\TelegramBot\CandidatesPhotoTelegramBotController->webhook(Request $request, CandidatesPhotoTelegramBot $telegramBot) …
      › $post = json_decode($request->getContent(), true);$update = new Update($post);$telegramBot->handleUpdate($update);
    }
    /home/sariato/www/dev.centr.sariato.ru/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /home/sariato/www/dev.centr.sariato.ru/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/sariato/www/dev.centr.sariato.ru/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/sariato/www/dev.centr.sariato.ru/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/sariato/www/dev.centr.sariato.ru/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/sariato/www/dev.centr.sariato.ru/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/sariato/www/dev.centr.sariato.ru/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#348 …9}