Error 401 Unauthorized

GET https://spw.dok.twn.ro/api/notification/message?latestTimestamp=2024-02-14%2010%3A10%3A07.152&limit=5

NotificationController :: fetchNotification

Request

GET Parameters

Key Value
latestTimestamp
"2024-02-14 10:10:07.152"
limit
"5"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Shopware\Administration\Controller\NotificationController::fetchNotification"
_cspNonce
"MBI6jVRAivs="
_route
"api.notification.message"
_routeScope
[
  "api"
]
_route_params
[]
_stopwatch_token
"a5c427"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br"
content-length
"0"
forwarded
"for="172.18.0.5";host="spw.dok.twn.ro";proto=https"
from
"bingbot(at)microsoft.com"
host
"spw.dok.twn.ro"
surrogate-capability
"symfony="ESI/1.0""
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36"
x-forwarded-for
"172.18.0.5"
x-forwarded-server
"proxy"
x-php-ob-level
"1"
x-real-ip
"207.46.13.87"

Request Content

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

Response

Response Headers

Header Value
access-control-allow-headers
"Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,indexing-behavior,sw-include-seo-urls"
access-control-allow-methods
"GET,POST,PUT,PATCH,DELETE"
access-control-allow-origin
"*"
access-control-expose-headers
"Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,indexing-behavior,sw-include-seo-urls"
cache-control
"no-cache, private"
content-type
"application/json"
date
"Sun, 24 Nov 2024 12:22:05 GMT"
server-timing
""
x-debug-token
"092a47"

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
ADMIN_OPENSEARCH_URL
"http://btwobdbsearch:9200"
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"def0000048f1b1755a8bfb24d1b31e34d4a179252a925f9cec8cf2fdf2220b9883ac7b9421ec51efe35feebc158e0d2e7c276af88bee0d9017bbc0140b5dd28fd2a45679"
APP_URL
"https://spw.dok.twn.ro/"
APP_URL_CHECK_DISABLED
"1"
BLB_MESSENGER_TRANSPORT_DSN
"amqp://spw:blbapi@128.140.37.60:602/dev"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/srv/webapp/var/cache/composer"
DATABASE_URL
"mysql://root:rootnet@btwobdb:3306/webapp"
INSTANCE_ID
"7D8hiLoNe25XxiNtpbxd1SQd58vcttaP"
LOCK_DSN
"flock"
MAILER_URL
"null://null"
MBX_ENDPOINT_API_URL
"https://erp.daniel.dok.twn.ro/api/"
MESSENGER_TRANSPORT_DSN
"redis://btwobredis:6379/messages/spw/async?auto_setup=true&stream_max_entries=0&serializer=1&delete_after_ack=true&delete_after_reject=true&dbindex=1"
MESSENGER_TRANSPORT_LOW_PRIORITY_DSN
"redis://btwobredis:6379/messages/spw/low_priority?auto_setup=true&stream_max_entries=0&serializer=1&delete_after_ack=true&delete_after_reject=true&dbindex=1"
OPENSEARCH_URL
"http://btwobdbsearch:9200"
PROXY_URL
"http://localhost"
SHOPWARE_CACHE_ID
"blbspw"
SHOPWARE_CDN_STRATEGY_DEFAULT
"physical_filename"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw"
SHOPWARE_ES_THROW_EXCEPTION
"1"
SHOPWARE_HTTP_CACHE_ENABLED
"0"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"
SHOPWARE_SKIP_WEBINSTALLER
"1"
SQL_SET_DEFAULT_SESSION_VARIABLES
"0"

Defined as regular env variables

Key Value
AUTH_TYPE
""
CONTENT_LENGTH
"0"
CONTENT_TYPE
""
DOCUMENT_ROOT
"/srv/webapp/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/lib/caddy"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br"
HTTP_FORWARDED
"for="172.18.0.5";host="spw.dok.twn.ro";proto=https"
HTTP_FROM
"bingbot(at)microsoft.com"
HTTP_HOST
"spw.dok.twn.ro"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36"
HTTP_X_FORWARDED_FOR
"172.18.0.5"
HTTP_X_FORWARDED_SERVER
"proxy"
HTTP_X_REAL_IP
"207.46.13.87"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
"latestTimestamp=2024-02-14%2010%3A10%3A07.152&limit=5"
REMOTE_ADDR
"127.0.0.1"
REMOTE_HOST
"172.18.0.5"
REMOTE_IDENT
""
REMOTE_PORT
"32878"
REMOTE_USER
""
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1732450925
REQUEST_TIME_FLOAT
1732450925.1887
REQUEST_URI
"/api/notification/message?latestTimestamp=2024-02-14%2010%3A10%3A07.152&limit=5"
SCRIPT_FILENAME
"/srv/webapp/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_NAME
"spw.dok.twn.ro"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"Caddy/v2.8.4"
SYMFONY_DOTENV_PATH
"/srv/webapp/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,LOCK_DSN,APP_URL,APP_SECRET,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,DATABASE_URL,MAILER_URL,OPENSEARCH_URL,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_ES_THROW_EXCEPTION,PROXY_URL,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,APP_DEBUG,APP_URL_CHECK_DISABLED,SHOPWARE_SKIP_WEBINSTALLER,SHOPWARE_CDN_STRATEGY_DEFAULT,BLB_MESSENGER_TRANSPORT_DSN,MESSENGER_TRANSPORT_DSN,MESSENGER_TRANSPORT_LOW_PRIORITY_DSN,COMPOSER_HOME,SQL_SET_DEFAULT_SESSION_VARIABLES,SHOPWARE_CACHE_ID,MBX_ENDPOINT_API_URL,ADMIN_OPENSEARCH_URL"
USER
"caddy"