Error 500 Internal Server Error

GET https://printshop.grey.ooo/printers

ErrorController

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"error_controller"
_controller_attributes
[]
_stopwatch_token
"2ee84c"
exception
Exception {#819
  #message: "User is not an instance of User or LdapUser"
  #code: 0
  #file: "/app/src/Controller/AbstractController.php"
  #line: 99
  trace: {
    /app/src/Controller/AbstractController.php:99 {
      PrintShop\Controller\AbstractController->getUser(): User …
      › // Defensive: getUser() only ever yields User or LdapUser.throw new \Exception('User is not an instance of User or LdapUser');// @codeCoverageIgnoreEnd
    }
    /app/src/Controller/PrinterController.php:241 {
      PrintShop\Controller\PrinterController->render(string $view, array $parameters = [], ?Response $response = null): Response …
      › 'site'             => $this->site,'user'             => $this->getUser(),'copyright_year'   => date('Y'),
    }
    /app/src/Controller/PrinterController.php:46 {
      PrintShop\Controller\PrinterController->printersList(): Response …
      › {    return $this->render('printers/list.html.twig', [        'site'     => $this->site,
    }
    /app/vendor/symfony/http-kernel/HttpKernel.php:188 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST, ?ControllerMetadata &$controllerMetadata = null): Response …
      › // call controller$response = $controller(...$arguments);}
    /app/vendor/symfony/http-kernel/HttpKernel.php:79 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {
    }
    /app/vendor/symfony/http-kernel/Kernel.php:143 {
      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 {
    }
    /app/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);}
    /app/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /app/public/index.php:7 {
      › 
      › require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';arguments: {
        "/app/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Processor\DebugProcessor {#288
  -records: [
    2 => [
      [
        "timestamp" => 1787300818
        "timestamp_rfc3339" => "2026-08-21T08:26:58.739+00:00"
        "message" => "Matched route "{route}"."
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "route" => "printer_list"
          "route_parameters" => [
            "_route" => "printer_list"
            "_controller" => "PrintShop\Controller\PrinterController::printersList"
          ]
          "request_uri" => "https://printshop.grey.ooo/printers"
          "method" => "GET"
        ]
        "channel" => "request"
      ]
      [
        "timestamp" => 1787300818
        "timestamp_rfc3339" => "2026-08-21T08:26:58.764+00:00"
        "message" => "Connecting with parameters {params}"
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "params" => [
            "driver" => "pdo_pgsql"
            "idle_connection_ttl" => 600
            "host" => "database.home.grey.ooo"
            "port" => 5432
            "user" => "printshop"
            "password" => "<redacted>"
            "driverOptions" => []
            "defaultTableOptions" => []
            "dbname" => "printshop"
            "serverVersion" => "17"
            "charset" => "utf8"
          ]
        ]
        "channel" => "doctrine"
      ]
      [
        "timestamp" => 1787300818
        "timestamp_rfc3339" => "2026-08-21T08:26:58.904+00:00"
        "message" => "Uncaught PHP Exception Exception: "User is not an instance of User or LdapUser" at AbstractController.php line 99"
        "priority" => 500
        "priorityName" => "CRITICAL"
        "context" => [
          "exception" => Exception {#819
            #message: "User is not an instance of User or LdapUser"
            #code: 0
            #file: "/app/src/Controller/AbstractController.php"
            #line: 99
            trace: {
              /app/src/Controller/AbstractController.php:99 {
                PrintShop\Controller\AbstractController->getUser(): User …
                › // Defensive: getUser() only ever yields User or LdapUser.throw new \Exception('User is not an instance of User or LdapUser');// @codeCoverageIgnoreEnd
              }
              /app/src/Controller/PrinterController.php:241 {
                PrintShop\Controller\PrinterController->render(string $view, array $parameters = [], ?Response $response = null): Response …
                › 'site'             => $this->site,'user'             => $this->getUser(),'copyright_year'   => date('Y'),
              }
              /app/src/Controller/PrinterController.php:46 {
                PrintShop\Controller\PrinterController->printersList(): Response …
                › {    return $this->render('printers/list.html.twig', [        'site'     => $this->site,
              }
              /app/vendor/symfony/http-kernel/HttpKernel.php:188 {
                Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST, ?ControllerMetadata &$controllerMetadata = null): Response …
                › // call controller$response = $controller(...$arguments);}
              /app/vendor/symfony/http-kernel/HttpKernel.php:79 {
                Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
                › try {    return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {
              }
              /app/vendor/symfony/http-kernel/Kernel.php:143 {
                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 {
              }
              /app/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34 {
                Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
                › {    $response = $this->kernel->handle($this->request);}
              /app/vendor/autoload_runtime.php:32 {
                require_once …
                ›         ->getRunner($app)        ->run());
              }
              /app/public/index.php:7 {
                › 
                › require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';arguments: {
                  "/app/vendor/autoload_runtime.php"
                }
              }
            }
          }
        ]
        "channel" => "request"
      ]
    ]
  ]
  -errorCount: [
    2 => 1
  ]
  -requestStack: Symfony\Component\HttpKernel\Debug\VirtualRequestStack {#287 …}
}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
cookie
"sf_redirect=%7B%22token%22%3A%22d650b7%22%2C%22route%22%3A%22webcam_get_image%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22PrintShop%5C%5CController%5C%5CWebcamController%22%2C%22method%22%3A%22getImage%22%2C%22file%22%3A%22%5C%2Fapp%5C%2Fsrc%5C%2FController%5C%2FWebcamController.php%22%2C%22line%22%3A38%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; SESSION=e2418d71044c8730c45dd9079b0daf6f; main_deauth_profile_token=d230e1"
host
"printshop.grey.ooo"
referer
"https://printshop.grey.ooo/webcam/printer/01KZREN07XK2RMK5QGWJW8RV59.jpg"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
x-forwarded-for
"216.73.217.176"
x-forwarded-proto
"https"
x-forwarded-scheme
"https"
x-php-ob-level
"0"
x-real-ip
"216.73.217.176"

Request Content

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

Retry Command

curl \
  --compressed \
  --url 'https://printshop.grey.ooo/printers' \
  --header 'Referer: https://printshop.grey.ooo/webcam/printer/01KZREN07XK2RMK5QGWJW8RV59.jpg' \
  --header 'Accept-Encoding: gzip, br, zstd, deflate' \
  --header 'User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' \
  --header 'Accept: */*' \
  --header 'X-Real-Ip: 216.73.217.176' \
  --header 'X-Forwarded-For: 216.73.217.176' \
  --header 'X-Forwarded-Proto: https' \
  --header 'X-Forwarded-Scheme: https' \
  --header 'X-Php-Ob-Level: 0' \
  --cookie 'sf_redirect=%7B%22token%22%3A%22d650b7%22%2C%22route%22%3A%22webcam_get_image%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22PrintShop%5C%5CController%5C%5CWebcamController%22%2C%22method%22%3A%22getImage%22%2C%22file%22%3A%22%5C%2Fapp%5C%2Fsrc%5C%2FController%5C%2FWebcamController.php%22%2C%22line%22%3A38%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; SESSION=e2418d71044c8730c45dd9079b0daf6f; main_deauth_profile_token=d230e1'

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Fri, 21 Aug 2026 08:26:58 GMT"
vary
"Accept"
x-debug-exception
"User%20is%20not%20an%20instance%20of%20User%20or%20LdapUser"
x-debug-exception-file
"%2Fapp%2Fsrc%2FController%2FAbstractController.php:99"
x-debug-token
"45498f"
x-robots-tag
"noindex"

Cookies

Request Cookies

Key Value
SESSION
"e2418d71044c8730c45dd9079b0daf6f"
main_deauth_profile_token
"d230e1"
sf_redirect
"{"token":"d650b7","route":"webcam_get_image","method":"GET","controller":{"class":"PrintShop\\Controller\\WebcamController","method":"getImage","file":"\/app\/src\/Controller\/WebcamController.php","line":38},"status_code":302,"status_text":"Found"}"

Response Cookies

No response cookies

Session

Session Metadata

Key Value
Created
"Fri, 21 Aug 26 08:26:56 +0000"
Last used
"Fri, 21 Aug 26 08:26:58 +0000"
Lifetime
0

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

Key Value
error
[
  "The requested printer was not found."
  "The requested printer was not found."
]

Server Parameters

Server Parameters

Defined in .env

Key Value
LOGIN_THROTTLE_INTERVAL
"5 minutes"
NGROK_AUTH
"ChangeMe"
NGROK_URL
"printers.ngrok.dev"
STORAGE_DRIVER
"local"

Defined as regular env variables

Key Value
ALPINE_VERSION
"3.23"
APP_DEBUG
"1"
APP_ENV
"dev"
APP_PROJECT_DIR
"/app"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/app"
]
APP_SECRET
"61310a7ade008da01d8ad39da62e1febf5ecbd138987fab0b4ab25a2b6071b9c"
APP_URL
"https://printshop.grey.ooo"
AUTO_FIXTURE
"Off"
AUTO_MIGRATE
"On"
AWS_ACCESS_KEY_ID
"GKbd2901c95926e96bb8ca2e29"
AWS_BUCKET
"printshop"
AWS_ENDPOINT
"https://s3.grey.ooo/"
AWS_REGION
"us-east-1"
AWS_SECRET_ACCESS_KEY
"3af273070bf1af9a058cd806fbbdef2ca35aaec3c0a1d6945e3f2086fedd0f6a"
CACHE_HOST
"printshop-valkey"
CACHE_PORT
"6379"
CACHE_URL
"redis://printshop-valkey:6379"
COLOR_BLUE
"\e[34m"
COLOR_GREEN
"\e[32m"
COLOR_GREY
"\e[90m"
COLOR_RED
"\e[91m"
COLOR_RESET
"\e(B\e[m"
COLOR_YELLOW
"\e[33m"
COMPOSER_ALLOW_SUPERUSER
"1"
COMPOSER_FUND
"0"
COMPOSER_HOME
"/var/cache/.composer"
COMPOSER_VERSION
"latest-stable"
CONTENT_LENGTH
""
CONTENT_TYPE
""
CORS_ALLOW_ORIGIN
"^https://printshop\.grey\.ooo$"
DATABASE_NAME
"printshop"
DATABASE_PASSWORD
"Hjcw7WwmjfLrrEWa08uBVQQMnE10kxMw"
DATABASE_URL
"postgresql://printshop:Hjcw7WwmjfLrrEWa08uBVQQMnE10kxMw@database.home.grey.ooo:5432/printshop?serverVersion=17&charset=utf8"
DATABASE_USERNAME
"printshop"
DIR
"\e[38;5;114mphp\e(B\e[m"
DOCUMENT_ROOT
"/app/public"
DOCUMENT_URI
"/index.php"
EDITOR
"/usr/bin/nano"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/home"
HOSTNAME
"48530409ce54"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_COOKIE
"sf_redirect=%7B%22token%22%3A%22d650b7%22%2C%22route%22%3A%22webcam_get_image%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22PrintShop%5C%5CController%5C%5CWebcamController%22%2C%22method%22%3A%22getImage%22%2C%22file%22%3A%22%5C%2Fapp%5C%2Fsrc%5C%2FController%5C%2FWebcamController.php%22%2C%22line%22%3A38%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; SESSION=e2418d71044c8730c45dd9079b0daf6f; main_deauth_profile_token=d230e1"
HTTP_HOST
"printshop.grey.ooo"
HTTP_REFERER
"https://printshop.grey.ooo/webcam/printer/01KZREN07XK2RMK5QGWJW8RV59.jpg"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_FORWARDED_FOR
"216.73.217.176"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SCHEME
"https"
HTTP_X_REAL_IP
"216.73.217.176"
KERNEL_CLASS
"PrintShop\Kernel"
LDAP_BASE_DN
"dc=grey,dc=ooo"
LDAP_FILTER
"(&(objectClass=person)(memberof=cn=printshop_user,ou=groups,dc=grey,dc=ooo)(|(uid={user_identifier})(mail={user_identifier})))"
LDAP_SEARCH_DN
"uid=printshop,ou=people,dc=grey,dc=ooo"
LDAP_SEARCH_PASSWORD
"km0tgfwKTWomzLeLek0p0f3fqUxc42tY"
LOG_PATHS
"/var/log/nginx_error.log /var/log/php_error.log /app/var/log/dev.log /app/var/log/prod.log"
MAILER_DSN
"smtp://printshop-mailcatcher:1025"
MERCURE_JWT_SECRET
"IW3kU8w0OrqFSyGVP4T7ayLrdBZzsMAB"
MERCURE_PUBLIC_URL
"https://mercure.printshop.grey.ooo/.well-known/mercure"
MERCURE_URL
"http://printshop-mercure/.well-known/mercure"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
NGINX_VERSION
"1.28"
OLDPWD
"/etc/services.d/php"
PAGER
"/usr/bin/less"
PATH
"/app/vendor/bin:/app:/app/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_CLI_MEMORY_LIMIT
"4096M"
PHP_DEBUG_MODE
"On"
PHP_DISPLAY_ERRORS
"1"
PHP_ERROR_REPORTING
"E_ALL"
PHP_MEMORY_LIMIT
"256M"
PHP_OPCACHE
"Off"
PHP_SELF
"/index.php"
PHP_VERSION
"8.5"
PRINTSHOP_DEFAULT_PASSWORD
"printshop"
PRINTSHOP_DEFAULT_USERNAME
"matthew@grey.ooo"
PWD
"/app"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"10.80.0.2"
REMOTE_PORT
"46926"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1787300818
REQUEST_TIME_FLOAT
1787300818.6938
REQUEST_URI
"/printers"
SCRIPT_FILENAME
"/app/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"10.80.0.131"
SERVER_NAME
"_"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.28.3"
SHLVL
"0"
SVDIR
"/etc/services.d"
SVWAIT
"5"
SYMFONY_DOTENV_PATH
"/app/.env"
SYMFONY_DOTENV_VARS
"LOGIN_THROTTLE_INTERVAL,STORAGE_DRIVER,NGROK_AUTH,NGROK_URL"
SYMFONY_TRUSTED_PROXIES
"10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
SYSTEM_USER
"app"
TELEGRAM_CHANNEL_ID
"0"
TELEGRAM_TOKEN
"TOKEN"
TELEGRAM_TOPIC_ID
"false"
TERM
"xterm-256color"
TZ
"Europe/Amsterdam"
USER
"app"
_
"/usr/sbin/php-fpm"

Parent Request

Return to parent request (token = b4fbd0)

Key Value
_controller
"PrintShop\Controller\PrinterController::printersList"
_controller_attributes
[
  Symfony\Component\Routing\Attribute\Route {#887
    +methods: [
      "GET"
    ]
    +envs: []
    +schemes: []
    +aliases: []
    +path: "/printers"
    +name: "printer_list"
    +requirements: []
    +options: []
    +defaults: []
    +host: null
    +condition: null
    +priority: null
  }
]
_firewall_context
"security.firewall.map.context.main"
_redirected
true
_remove_csp_headers
true
_route
"printer_list"
_route_params
[]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#835
    -supports: false
    -passport: null
    -duration: null
    -stub: "PrintShop\Security\LocalOrLdapAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: PrintShop\Security\LocalOrLdapAuthenticator {#795 …}
  }
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#839
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator {#840 …}
  }
]
_stopwatch_token
"f780a4"