Error 400 Bad Request

GET https:///bin/

ErrorController

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_api_platform_links
Symfony\Component\WebLink\GenericLinkProvider {#938
  -links: [
    940 => Symfony\Component\WebLink\Link {#940
      -href: "/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_controller
"error_controller"
_stopwatch_token
"40041a"
exception
Symfony\Component\HttpKernel\Exception\BadRequestHttpException {#210
  #message: "Untrusted Host "199.16.191.117"."
  #code: 0
  #file: "/opt/smsAPI/api/vendor/symfony/http-kernel/HttpKernel.php"
  #line: 83
  -previous: Symfony\Component\HttpFoundation\Exception\SuspiciousOperationException {#558 …}
  -statusCode: 400
  -headers: []
  trace: {
    /opt/smsAPI/api/vendor/symfony/http-kernel/HttpKernel.php:83 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › if ($e instanceof RequestExceptionInterface) {    $e = new BadRequestHttpException($e->getMessage(), $e);}
    }
    /opt/smsAPI/api/vendor/symfony/http-kernel/Kernel.php:197 {
      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 {
    }
    /opt/smsAPI/api/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /opt/smsAPI/api/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /opt/smsAPI/api/public/index.php:5 {
      › 
      › require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';arguments: {
        "/opt/smsAPI/api/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#201 …9}

Request Headers

Header Value
content-length
""
content-type
""
host
"199.16.191.117:443"
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
"Wed, 05 Nov 2025 01:55:18 GMT"
vary
"Accept"
x-debug-exception
"Untrusted%20Host%20%22199.16.191.117%22."
x-debug-exception-file
"%2Fopt%2FsmsAPI%2Fapi%2Fvendor%2Fsymfony%2Fhttp-kernel%2FHttpKernel.php:83"
x-debug-token
"ca42ff"

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
"!ChangeMe!"
BANDWIDTH_ACCOUNT_ID
"BANDWIDTH_ACCOUNT_ID"
BANDWIDTH_APPLICATION_ID
"BANDWIDTH_APPLICATION_ID"
BANDWIDTH_DSN
"bandwidth://USERNAME:PASSWORD@default?from=FROM&account_id=ACCOUNT_ID&application_id=APPLICATION_ID&priority=PRIORITY"
BANDWIDTH_FROM
"%2B18284170089"
BANDWIDTH_PASSWORD
"BANDWIDTH_PASSWORD"
BANDWIDTH_USERNAME
"BANDWIDTH_USERNAME"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://smsAdmin:kP5U1%25%218qA9mo%23z@127.0.0.1:3306/sms?serverVersion=8.0.33&charset=utf8mb4"
JWT_PASSPHRASE
"4c7f8742106124d155ef85b54e3b5a4bb85f4ed81f393389d75ef3433b6a1acf"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
SENTRY_DSN
""
TRUSTED_HOSTS
"^(localhost|caddy|message.ringfree.com)$"
TRUSTED_PROXIES
"127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/opt/smsAPI/api/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_HOST
"199.16.191.117:443"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"204.76.203.18"
REMOTE_PORT
"45848"
REMOTE_USER
""
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1762307718
REQUEST_TIME_FLOAT
1762307718.0523
REQUEST_URI
"/bin/"
SCRIPT_FILENAME
"/opt/smsAPI/api/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"199.16.191.117"
SERVER_NAME
"message.ringfree.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.22.1"
SYMFONY_DOTENV_VARS
"TRUSTED_PROXIES,TRUSTED_HOSTS,APP_ENV,APP_SECRET,DATABASE_URL,CORS_ALLOW_ORIGIN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,BANDWIDTH_DSN,BANDWIDTH_ACCOUNT_ID,BANDWIDTH_USERNAME,BANDWIDTH_PASSWORD,BANDWIDTH_APPLICATION_ID,BANDWIDTH_FROM,SENTRY_DSN"
USER
"www-data"

Parent Request

Return to parent request (token = 3ff1db)

Key Value
_api_platform_links
Symfony\Component\WebLink\GenericLinkProvider {#1125
  -links: [
    1123 => Symfony\Component\WebLink\Link {#1123
      -href: "/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_remove_csp_headers
true
_stopwatch_token
"80e20a"