https://api.dahnapp.com/api/user?lang=en

n/a

Request

GET Parameters

Key Value
lang
"en"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\Api\UserController::getCurrentUser"
_firewall_context
"security.firewall.map.context.api"
_remove_csp_headers
true
_route
"api_get_current_user"
_route_params
[]
_stopwatch_token
"9f62cf"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"br;q=1.0, gzip;q=0.9, deflate;q=0.8"
accept-language
"ro;q=1"
connection
"keep-alive"
host
"api.dahnapp.com"
user-agent
"dahna/2.0.6 (ro.riseapp.healthydiet; build:2; iOS 18.6.2) Alamofire/5.8.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, 08 Nov 2025 19:25:28 GMT"
x-debug-exception
"Full%20authentication%20is%20required%20to%20access%20this%20resource."
x-debug-exception-file
"%2Fhome%2Fdahna%2Fweb2%2Fvendor%2Fsymfony%2Fsecurity-http%2FFirewall%2FExceptionListener.php:232"
x-debug-token
"e3624b"
x-debug-token-link
"https://api.dahnapp.com/_profiler/1fd3f0"
x-previous-debug-token
"1fd3f0"
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
APPLE_BUNDLE_ID
"ro.riseapp.healthydiet"
APPLE_ISSUER_ID
"3ca24cc2-0248-4030-9265-a7e1d23571e9"
APPLE_KEY
"keys/SubscriptionKey_J65HB75K2C.pem"
APPLE_KEY_ID
"J65HB75K2C"
APPLE_PRODUCTION_URL
"https://api.storekit.itunes.apple.com/inApps/v1"
APPLE_PRODUCT_MONTHLY
"montly"
APPLE_PRODUCT_YEARLY
"yearly"
APPLE_SANDBOX_URL
"https://api.storekit-sandbox.itunes.apple.com/inApps/v1"
APPLICATION_API_URL
"https://api.dahnapp.com"
APPLICATION_WEB_URL
"https://dashboard.dahnapp.com"
APP_ENV
"dev"
APP_SECRET
"thisismysecrettherearemanylikeit"
DATABASE_URL
"mysql://dahna_live:BN6nNfR4Jb64KD6yP8Ig8NiYCF1ULtC6@127.0.0.1:3306/dahna_live?serverVersion=5.7&charset=utf8mb4"
FCM_API_KEY
"AAAAx1OM-Lk:APA91bH3AhlgMuEKiYSLwFteBi74mM4TO8zyOPGQZD7YwJMwDdOB_Dwq2YFlsHRpbcgrtheDfbaD6e92xh9JW-Dzjz_M1Eedx2Te6VxK2TSl3rB_Fs10IDLqo0iFCZiPnT5OY9oa1-i0"
FCM_AUTH_PATH
"/home/dahna/web2/config/healthydiet-4a194-firebase-adminsdk-x99ns-133bc3232e.json"
GOOGLE_KEY
"keys/healthydiet-4a194-e8bc5ab441fb.json"
GOOGLE_PACKAGE_NAME
"ro.riseapp.healthydiet"
GOOGLE_PRODUCT_MONTHLY
"1_dahna_pro_monthly"
GOOGLE_PRODUCT_YEARLY
"1_dahna_pro_yearly"
MAILER_DSN
"sendgrid+smtp://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@default"
MAILER_FROM_ADDRESS
"noreply@dahnapp.com"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
NOTIFICATIONS_TOPIC_ALL
"/topics/all"
NOTIFICATIONS_TOPIC_POST_BASIC
"/topics/%s_post"
NOTIFICATIONS_TOPIC_POST_PRO
"/topics/%s_post_pro"
OCR_API_TOKEN
"iAP4gZrpIOzW4NaKz9Gd15nP"
OCR_API_URL
"https://api.live.ocr.dahnapp.com/health_report"
TINYMCE_API_KEY
"l0nkoz0gnoy8h4w2z84bg2hiwcrvo4x45vnpe6fqpf7tc6bp"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/dahna/live/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/dahna/live/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"br;q=1.0, gzip;q=0.9, deflate;q=0.8"
HTTP_ACCEPT_LANGUAGE
"ro;q=1"
HTTP_CONNECTION
"keep-alive"
HTTP_HOST
"api.dahnapp.com"
HTTP_USER_AGENT
"dahna/2.0.6 (ro.riseapp.healthydiet; build:2; iOS 18.6.2) Alamofire/5.8.0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"lang=en"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"lang=en"
REDIRECT_SCRIPT_URI
"https://api.dahnapp.com/api/user"
REDIRECT_SCRIPT_URL
"/api/user"
REDIRECT_SSL_TLS_SNI
"api.dahnapp.com"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aQ-ZKGp2SkJn5_IRwR8uUQAAAAg"
REDIRECT_URL
"/api/user"
REDIRECT_rate-initial-burst
"512"
REDIRECT_rate-limit
"400"
REMOTE_ADDR
"82.76.86.250"
REMOTE_PORT
"12521"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1762629928
REQUEST_TIME_FLOAT
1762629928.5584
REQUEST_URI
"/api/user?lang=en"
SCRIPT_FILENAME
"/var/www/dahna/live/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://api.dahnapp.com/api/user"
SCRIPT_URL
"/api/user"
SERVER_ADDR
"188.166.100.69"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"api.dahnapp.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"api.dahnapp.com"
SYMFONY_DOTENV_VARS
"APPLICATION_API_URL,APPLICATION_WEB_URL,APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,MAILER_DSN,MAILER_FROM_ADDRESS,TINYMCE_API_KEY,FCM_API_KEY,FCM_AUTH_PATH,NOTIFICATIONS_TOPIC_POST_BASIC,NOTIFICATIONS_TOPIC_POST_PRO,NOTIFICATIONS_TOPIC_ALL,APPLE_KEY_ID,APPLE_ISSUER_ID,APPLE_BUNDLE_ID,APPLE_SANDBOX_URL,APPLE_PRODUCTION_URL,APPLE_PRODUCT_YEARLY,APPLE_PRODUCT_MONTHLY,APPLE_KEY,GOOGLE_PACKAGE_NAME,GOOGLE_PRODUCT_YEARLY,GOOGLE_PRODUCT_MONTHLY,GOOGLE_KEY,OCR_API_URL,OCR_API_TOKEN"
UNIQUE_ID
"aQ-ZKGp2SkJn5_IRwR8uUQAAAAg"
rate-initial-burst
"512"
rate-limit
"400"

Sub Requests 1

ErrorController (token = 1fd3f0)

Key Value
_controller
"error_controller"
_stopwatch_token
"cb010c"
exception
Symfony\Component\HttpKernel\Exception\HttpException {#332
  #message: "Full authentication is required to access this resource."
  #code: 0
  #file: "/home/dahna/web2/vendor/symfony/security-http/Firewall/ExceptionListener.php"
  #line: 232
  -previous: Symfony\Component\Security\Core\Exception\InsufficientAuthenticationException {#334 …}
  -statusCode: 401
  -headers: []
  trace: {
    /home/dahna/web2/vendor/symfony/security-http/Firewall/ExceptionListener.php:232 {
      Symfony\Component\Security\Http\Firewall\ExceptionListener->throwUnauthorizedException(AuthenticationException $authException) …
      › 
      ›     throw new HttpException(Response::HTTP_UNAUTHORIZED, $authException->getMessage(), $authException, [], $authException->getCode());}
    }
    /home/dahna/web2/vendor/symfony/security-http/Firewall/ExceptionListener.php:189 {
      Symfony\Component\Security\Http\Firewall\ExceptionListener->startAuthentication(Request $request, AuthenticationException $authException): Response …
      › if (null === $this->authenticationEntryPoint) {    $this->throwUnauthorizedException($authException);}
    }
    /home/dahna/web2/vendor/symfony/security-http/Firewall/ExceptionListener.php:148 {
      Symfony\Component\Security\Http\Firewall\ExceptionListener->handleAccessDeniedException(ExceptionEvent $event, AccessDeniedException $exception) …
      › 
      ›     $event->setResponse($this->startAuthentication($event->getRequest(), $insufficientAuthenticationException));} catch (\Exception $e) {
    }
    /home/dahna/web2/vendor/symfony/security-http/Firewall/ExceptionListener.php:103 {
      Symfony\Component\Security\Http\Firewall\ExceptionListener->onKernelException(ExceptionEvent $event) …
      › if ($exception instanceof AccessDeniedException) {    $this->handleAccessDeniedException($event, $exception);}
    /home/dahna/web2/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115 {
      Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
      › 
      › ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);}
    /home/dahna/web2/vendor/symfony/event-dispatcher/EventDispatcher.php:230 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
      ›     }    $listener($event, $eventName, $this);}
    }
    /home/dahna/web2/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/dahna/web2/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:153 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
    }
    /home/dahna/web2/vendor/symfony/http-kernel/HttpKernel.php:223 {
      Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
      › $event = new ExceptionEvent($this, $request, $type, $e);$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);}
    /home/dahna/web2/vendor/symfony/http-kernel/HttpKernel.php:86 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › 
      ›     return $this->handleThrowable($e, $request, $type);} finally {
    }
    /home/dahna/web2/vendor/symfony/http-kernel/Kernel.php:202 {
      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 {
    }
    /home/dahna/web2/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/dahna/web2/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/dahna/web2/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/dahna/web2/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#242 …9}