Refresh Allegro access token
============================
[ERROR] App\Exception\CurlException: HTTP/2 400
date: Fri, 20 Sep 2024 22:14:51 GMT
content-type: application/json
set-cookie:
wdctx=v5.Z9aIx3qoOXMIks_-yYMkTMpZ7jJxrnGWcavJKs60dZQAg3tAin71H2dI7l1U54
5tZcEX-VxYWiuqFBaEKcziOQmh3tgLmfuAZLr2e-gD7v0woJjwWevWyx2S4IEXCZdkfVllA
Ud8SuPrAib4P1axY7QOpKHRnaJ-Z1cv2EWcbSjGBDdLH5a1rcZaA-wnukJD_e9PNNcWdcEy
ffc3KgJyyyAtn_DltWY8_3P0A_-r9fT6.UAj2KPVBSVmDmy8Dv_-msw.MCd1SRNb3jE;
Max-Age=2592000; Domain=.allegro.pl; Path=/; Secure
cache-control: no-store
pragma: no-cache
vary: Accept-Encoding
age: 0
content-security-policy: block-all-mixed-content; report-uri
https://edge.allegro.pl/seclog/csp;
x-content-type-options: nosniff
grace: none
x-xss-protection: 1; report=/seclog/xss
x-frame-options: SAMEORIGIN
strict-transport-security: max-age=15552000
set-cookie: _cmuid=084dced4-e5da-425b-be04-da75b3bccb7d; Expires=Sat,
25 Oct 2025 22:14:51 GMT; Path=/; Domain=.allegro.pl; Secure
{"error":"invalid_grant","error_description":"Invalid refresh token:
eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1ODI4Njk2MDAsInVzZXJfbm
FtZSI6IjQ2NTk1MjAwIiwianRpIjoiYTAwZDAzMmUtOGQxNi00MmRiLWJjMTMtM2ExYWNiM
mFhZGQ4IiwiY2xpZW50X2lkIjoiYjdjOWI1ZmFhMjU0NGZmYWI4ZjMyODZhZWFmNTFkYWIi
LCJzY29wZSI6WyJhbGxlZ3JvX2FwaSJdLCJhdGkiOiJmY2YyZDAyMC02YmNjLTRkYjAtYWU
0NC1jMjdjYWUyYzA2ZWQifQ.kRkT76t1YgxBPYU-BcB4Pbodtxq34lt8jPkaE-bFXhJmXNZ
_VSXrVmbU6D_VJ1QrSg0pMgv7XhbyxX0A4rsc8J_tCPwJprhT2jC-8q-YHBfWEEWs9u_a8S
uiX2zWjhGaY4YG5_ulxQWCFFDX6dplJGYEtmWMk0txnW7e5-GngJP7PVfJkop2h2D-DPKRs
5aGorhf0Gx5jm103oBLfovF7xaFw1_GgvTg9d56J-TB0hyQhxaccpjco-OidKCNKGSdYWcq
e3ewOVegBe5gq_Kz8zeo5JHYOP-Fn2aCjTJioql891K6khK1r7hq6a5eN0RV1ASKsKifMQt
E-l89Z2OtWQ"} in /pufoteka/allegro/src/Curl/Curl.php:82
Stack trace:
#0 /pufoteka/allegro/src/Connection/Connection.php(71):
App\Curl\Curl->connect()
#1 /pufoteka/allegro/src/Allegro/Service/AuthService.php(173):
App\Connection\Connection->connect()
#2 /pufoteka/allegro/src/Allegro/Service/AuthService.php(142):
App\Allegro\Service\AuthService->prepareAuthorizationConnection('refres
h_token', 'eyJhbGciOiJSUzI...')
#3 /pufoteka/allegro/src/Allegro/Command/RefreshTokenCommand.php(59):
App\Allegro\Service\AuthService->refreshToken()
#4 /pufoteka/allegro/vendor/symfony/console/Command/Command.php(255):
App\Allegro\Command\RefreshTokenCommand->execute(Object(Symfony\Compone
nt\Console\Input\ArgvInput),
Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 /pufoteka/allegro/vendor/symfony/console/Application.php(904):
Symfony\Component\Console\Command\Command->run(Object(Symfony\Component
\Console\Input\ArgvInput),
Object(Symfony\Component\Console\Output\ConsoleOutput))
#6
/pufoteka/allegro/vendor/symfony/framework-bundle/Console/Application.p
hp(89):
Symfony\Component\Console\Application->doRunCommand(Object(App\Allegro>
Command\RefreshTokenCommand),
Object(Symfony\Component\Console\Input\ArgvInput),
Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /pufoteka/allegro/vendor/symfony/console/Application.php(262):
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object
(App\Allegro\Command\RefreshTokenCommand),
Object(Symfony\Component\Console\Input\ArgvInput),
Object(Symfony\Component\Console\Output\ConsoleOutput))
#8
/pufoteka/allegro/vendor/symfony/framework-bundle/Console/Application.p
hp(75):
Symfony\Component\Console\Application->doRun(Object(Symfony\Component\C
onsole\Input\ArgvInput),
Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /pufoteka/allegro/vendor/symfony/console/Application.php(145):
Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfon
y\Component\Console\Input\ArgvInput),
Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /pufoteka/allegro/bin/console(39):
Symfony\Component\Console\Application->run(Object(Symfony\Component\Con
sole\Input\ArgvInput))
#11 {main}
Warning: rmdir(/jokercam/2024-09-21): No such file or directory in /cron-hourly.php on line 20