https://65.254.144.18/login

UserController :: login

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\UserController::login"
_remove_csp_headers
true
_route
"api_login"
_route_params
[]
_stopwatch_token
"5567ac"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip"
host
"65.254.144.18"
user-agent
"Mozilla/5.0 zgrab/0.x"
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
"Sun, 22 Sep 2024 09:26:45 GMT"
x-debug-exception
"App%5CEntity%5CUser%3A%3A__construct%28%29%3A%20Argument%20%231%20%28%24username%29%20must%20be%20of%20type%20string%2C%20null%20given%2C%20called%20in%20%2Fvar%2Fwww%2Fdairyoffice%2Fsrc%2FController%2FUserController.php%20on%20line%2054"
x-debug-exception-file
"%2Fvar%2Fwww%2Fdairyoffice%2Fsrc%2FEntity%2FUser.php:52"
x-debug-token
"b8107e"
x-debug-token-link
"https://65.254.144.18/_profiler/638e0b"
x-previous-debug-token
"638e0b"
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_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"d94f040e05f108841305b49bf62d1480"
CLIENT_ID
"754D0DB0-E6F0-4FFF-A3E6-C93324D60AA0"
DATABASE_URL
"mysql://bud:(g^tV4CMPan%BdGtOw@localhost:3306/dairyoffice?serverVersion=10.3"
JWT_PASSPHRASE
"ee46f2b88c1ec54b87a32a9438f11e91"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"smtp://email:1025?encryption=&auth_mode="

Defined as regular env variables

Key Value
CONTEXT_DOCUMENT_ROOT
"/var/www/dairyoffice/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/dairyoffice/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_HOST
"65.254.144.18"
HTTP_USER_AGENT
"Mozilla/5.0 zgrab/0.x"
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_SCRIPT_URI
"https://65.254.144.18/login"
REDIRECT_SCRIPT_URL
"/login"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/login"
REMOTE_ADDR
"172.202.177.49"
REMOTE_PORT
"38666"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1726997205
REQUEST_TIME_FLOAT
1726997205.5641
REQUEST_URI
"/login"
SCRIPT_FILENAME
"/var/www/dairyoffice/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://65.254.144.18/login"
SCRIPT_URL
"/login"
SERVER_ADDR
"192.168.0.164"
SERVER_ADMIN
"admin@manzwebdesigns.com"
SERVER_NAME
"65.254.144.18"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.52 (Ubuntu) Server at 65.254.144.18 Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.52 (Ubuntu)"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_DEBUG,DATABASE_URL,MAILER_DSN,CLIENT_ID,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE"

Sub Requests 1

ErrorController (token = 638e0b)

Key Value
_controller
"error_controller"
_stopwatch_token
"43565b"
exception
TypeError {#320
  #message: "App\Entity\User::__construct(): Argument #1 ($username) must be of type string, null given, called in /var/www/dairyoffice/src/Controller/UserController.php on line 54"
  #code: 0
  #file: "/var/www/dairyoffice/src/Entity/User.php"
  #line: 52
  trace: {
    /var/www/dairyoffice/src/Entity/User.php:52 {
      App\Entity\User->__construct(string $username, array $roles, string $email, string $password) …
      ›  */public function __construct(string $username, array $roles, string $email, string $password){
    }
    /var/www/dairyoffice/src/Controller/UserController.php:54 {
      App\Controller\UserController->login(Request $request): Response …
      › $logged_in = false;$user      = new User($username, [ 'ROLE_BASE_USER' ], $email, $password);}
    /var/www/dairyoffice/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);}
    /var/www/dairyoffice/vendor/symfony/http-kernel/HttpKernel.php:74 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/dairyoffice/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 {
    }
    /var/www/dairyoffice/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/dairyoffice/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/dairyoffice/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/dairyoffice/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#37 …6}