Alexa API et son cookie

Bonjour à tous,
Je viens en remettre une petite couche sur le cookie qui se comporte vraiment très mal avec pas mal de nos congénaires jeedomiens. D’abord la santé:


L’écran de configuration:

Les logs:

0000|======================================================================
0001|== 15/11/2024 17:22:24 == Installation des dépendances de alexaapi
0002|======================================================================
0003|[  0% ] : Vérification des droits...
0004|[  4% ] : Vérification des droits : [1sec] : [  OK  ]
0005|[  5% ] : Mise à jour APT et installation des packages nécessaires...
0006|[  9% ] : Mise à jour APT et installation des packages nécessaires : [1sec] : [  OK  ]
0007|[ 10% ] : Prérequis...
0008|[ 14% ] : Prérequis : [0sec] : [  OK  ]
0009|[ 15% ] : Installation des packages nécessaires...
0010|[ 19% ] : Installation des packages nécessaires : [0sec] : [  OK  ]
0011|[ 20% ] : Vérification du système...
0012|[ 24% ] : Vérification du système : [0sec] : [  OK  ]
0013|[ 25% ] : Vérification de la version de NodeJS installée...
0014|[Vérification Version NodeJS actuelle : v20.18.0 : [  OK  ]
0015|[Vérification Version NPM : 10.8.2 : [  OK  ]
0016|[Vérification Prefixe : /usr et sudo prefixe : /usr et www-data prefixe : /usr : [  OK  ]
0017|[ 29% ] : Vérification de la version de NodeJS installée : [1sec] : [  OK  ]
0018|[ 30% ] : Nettoyage...
0019|[ 59% ] : Nettoyage : [0sec] : [  OK  ]
0020|[ 60% ] : Nettoyage ancien modules...
0021|[ 69% ] : Nettoyage ancien modules : [0sec] : [  OK  ]
0022|[ 70% ] : Installation des librairies, veuillez patienter svp...
0023|[ 99% ] : Installation des librairies, veuillez patienter svp : [7sec] : [  OK  ]
0024|[100% ] : Terminé !
0025|======================================================================
0026|==OK== Installation Réussie [10sec]
0027|======================================================================
0000|{Cookie} ║ ┌──────────────────────────────────────────────────────────────────────────────────────────────────── INFO
0001|{Cookie} ║ │        Récupération d'un nouveau Cookie Amazon    INFO
0002|{Cookie} ║ ├──────────────────────────────────────────────────────────────────────────────────────────────────── INFO
0003|[HPM] Proxy created: !/cookie-success  -> https://alexa.amazon.com
0004|[HPM] Proxy rewrite rule created: "^/www.amazon.com" ~> ""
0005|[HPM] Proxy rewrite rule created: "^/alexa.amazon.com" ~> ""
0006|{Proxy}  ║ │OK! Proxy-Server en écoute sur le port 3457 DEBUG
0007|{Router} ║ │ / / GET / {"host":"192.168.1.8:3457","connection":"keep-alive","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","referer":"http://192.168.1.8/","accept-encoding":"gzip, deflate","cookie":"registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; session-id=135-8490829-8951804; session-id-time=2362313799l; csm-hit=MGCCRWBEGQ9H76MBK3PH+s-FZWNKVZ3JPAVZ0PQAY0R|1731593826962; JSESSIONID=80456E08344DCDB3DAF203A1AA968CAA; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a","sec-gpc":"1"} DEBUG
0008|{Proxy}  ║ │ Initial Page Request: https://www.amazon.com/ap/signin?openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fap%2Fmaplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns.oa2=http%3A%2F%2Fwww.amazon.com%2Fap%2Fext%2Foauth%2F2&openid.oa2.client_id=device%3A353630343130354136313239414338393330344433463342423135304235364423413249564c5635564d32573831&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.oa2.response_type=token&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=fr_FR DEBUG
0009|{Proxy}  ║ │ Cookies handled: "registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; session-id=144-2848641-0198851; session-id-time=2362407771l; csm-hit=MGCCRWBEGQ9H76MBK3PH+s-FZWNKVZ3JPAVZ0PQAY0R|1731593826962; JSESSIONID=EC9E605583864298FB38E2C77BBB4032; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; frc=aCdfgq/v+Qghn6mDOo3bLLvW8W2KD33Abo4CUoYAXVlVrWsTIWc6LZ/z5cxU1/IDbrGdfmVMvILIed/xXud0vPcYu78moo16EOHR6rTj+v23VjBnCzczZrt+76XzufSe92c56Ug6ZiULf7Ftmmw99+Aqsm3JEtjpuMEfjK4kcq9qLLjP3vDMf09lDLWqMs0ZQ2vbPsCiUh+97OmbPaoa40QhPNXyHPJcItafvTyK+M3UoIR/+LelJJgX27gGj+UYb42Aczos69oKCk/WOaAMZx8i8fpXcp7mpWfke4tCKDuJSrT3fjwejf2tFLBzk2/On3pKjmLtaFkDCiSdBFwJb9WjKT8llhpOSzA5UMp8Zki2sztHjHFRRQSxV3Lj4x7zFNXSqdTJiteU2RvcyOCXeAxwTti5nGYygw==; map-md=eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==" DEBUG
0010|{Router} ║ │ /ap/uedata?ld&v=0.298895.0&id=RACRG5WWZJYX194Y2W48&sw=1920&sh=1200&vw=441&vh=597&m=1&sc=RACRG5WWZJYX194Y2W48&ue=1&bb=18&cf=46&be=93&fp=47&fcp=47&pc=123&tc=-650&na_=-650&ul_=-1731687781182&_ul=-1731687781182&rd_=-1731687781182&_rd=-1731687781182&fe_=-611&lk_=-585&_lk=-585&co_=-585&_co=-582&sc_=-1731687781182&rq_=-582&rs_=-15&_rs=80&dl_=-12&di_=97&de_=98&_de=99&_dc=123&ld_=123&_ld=-1731687781182&ntd=-1&ty=0&rc=0&hob=1&hoe=1&ld=123&t=1731687781305&ctb=1&rt=cf:7-3-3-1-3-5-1__ld:16-12-3-1-4-6-1&csmtags=aui|aui:aui_build_date:3.24.7-2024-10-22|aui:sw:page_proxy:unsupported_browser|fls-na-amazon-com|adblk_no&viz=visible:1&pty=AuthenticationPortal&spty=SignInClaimCollect&pti=undefined&tid=RACRG5WWZJYX194Y2W48&aftb=1&lob=0 / GET / {"host":"192.168.1.8:3457","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0","accept":"image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8","referer":"http://192.168.1.8:3457/","accept-encoding":"gzip, deflate","cookie":"registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; JSESSIONID=EC9E605583864298FB38E2C77BBB4032; session-id=144-2848641-0198851; session-id-time=2362407771l; csm-hit=s-RACRG5WWZJYX194Y2W48|1731687781200","sec-gpc":"1"} DEBUG
0011|{Router} ║ │ /ap/uedata?at&v=0.298895.0&id=RACRG5WWZJYX194Y2W48&ctb=1&m=1&sc=RACRG5WWZJYX194Y2W48&pc=874&at=874&t=1731687782056&csmtags=csm-feature-touch-enabled:false&pty=AuthenticationPortal&spty=SignInClaimCollect&pti=undefined&tid=RACRG5WWZJYX194Y2W48&aftb=1&lob=0 / GET / {"host":"192.168.1.8:3457","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0","accept":"image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8","referer":"http://192.168.1.8:3457/","accept-encoding":"gzip, deflate","cookie":"registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; JSESSIONID=EC9E605583864298FB38E2C77BBB4032; session-id=144-2848641-0198851; session-id-time=2362407771l; csm-hit=s-RACRG5WWZJYX194Y2W48|1731687781200","sec-gpc":"1"} DEBUG
0012|{Router} ║ │ /ap/uedata?at&v=0.298895.0&id=RACRG5WWZJYX194Y2W48&ctb=1&m=1&sc=RACRG5WWZJYX194Y2W48&pc=882&at=882&t=1731687782064&pty=AuthenticationPortal&spty=SignInClaimCollect&pti=undefined&tid=RACRG5WWZJYX194Y2W48&aftb=1&ui=2&lob=0 / GET / {"host":"192.168.1.8:3457","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0","accept":"image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8","referer":"http://192.168.1.8:3457/","accept-encoding":"gzip, deflate","cookie":"registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; JSESSIONID=EC9E605583864298FB38E2C77BBB4032; session-id=144-2848641-0198851; session-id-time=2362407771l; csm-hit=s-RACRG5WWZJYX194Y2W48|1731687781200","sec-gpc":"1"} DEBUG
0013|{Router} ║ │ /www.amazon.com/ap/signin/144-2848641-0198851 / POST / {"host":"192.168.1.8:3457","connection":"keep-alive","content-length":"10603","cache-control":"max-age=0","upgrade-insecure-requests":"1","origin":"http://192.168.1.8:3457","content-type":"application/x-www-form-urlencoded","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","referer":"http://192.168.1.8:3457/","accept-encoding":"gzip, deflate","cookie":"registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; JSESSIONID=EC9E605583864298FB38E2C77BBB4032; session-id=144-2848641-0198851; session-id-time=2362407771l; csm-hit=RACRG5WWZJYX194Y2W48+s-RACRG5WWZJYX194Y2W48|1731687785042","sec-gpc":"1"} DEBUG
0014|{Router} ║ │ /www.amazon.com/ap/signin/144-2848641-0198851 / POST / {"host":"192.168.1.8:3457","connection":"keep-alive","content-length":"10555","cache-control":"max-age=0","upgrade-insecure-requests":"1","origin":"http://192.168.1.8:3457","content-type":"application/x-www-form-urlencoded","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","referer":"http://192.168.1.8:3457/","accept-encoding":"gzip, deflate","cookie":"registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; JSESSIONID=EC9E605583864298FB38E2C77BBB4032; session-id=144-2848641-0198851; session-id-time=2362407771l; csm-hit=RACRG5WWZJYX194Y2W48+s-RACRG5WWZJYX194Y2W48|1731687785042","sec-gpc":"1"} DEBUG
0015|{Proxy}  ║ │ Cookies handled: "registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; session-id=144-2848641-0198851; session-id-time=2362407771l; csm-hit=MGCCRWBEGQ9H76MBK3PH+s-FZWNKVZ3JPAVZ0PQAY0R|1731593826962; JSESSIONID=AD5C55BB36DE823F597CC72613938E54; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; frc=aCdfgq/v+Qghn6mDOo3bLLvW8W2KD33Abo4CUoYAXVlVrWsTIWc6LZ/z5cxU1/IDbrGdfmVMvILIed/xXud0vPcYu78moo16EOHR6rTj+v23VjBnCzczZrt+76XzufSe92c56Ug6ZiULf7Ftmmw99+Aqsm3JEtjpuMEfjK4kcq9qLLjP3vDMf09lDLWqMs0ZQ2vbPsCiUh+97OmbPaoa40QhPNXyHPJcItafvTyK+M3UoIR/+LelJJgX27gGj+UYb42Aczos69oKCk/WOaAMZx8i8fpXcp7mpWfke4tCKDuJSrT3fjwejf2tFLBzk2/On3pKjmLtaFkDCiSdBFwJb9WjKT8llhpOSzA5UMp8Zki2sztHjHFRRQSxV3Lj4x7zFNXSqdTJiteU2RvcyOCXeAxwTti5nGYygw==; map-md=eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==" DEBUG
0016|{Proxy}  ║ │ Cookies handled: "registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; session-id=144-2848641-0198851; session-id-time=2362407771l; csm-hit=MGCCRWBEGQ9H76MBK3PH+s-FZWNKVZ3JPAVZ0PQAY0R|1731593826962; JSESSIONID=1928C497DE856866DA9B0D5D8A4DBD4C; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; frc=aCdfgq/v+Qghn6mDOo3bLLvW8W2KD33Abo4CUoYAXVlVrWsTIWc6LZ/z5cxU1/IDbrGdfmVMvILIed/xXud0vPcYu78moo16EOHR6rTj+v23VjBnCzczZrt+76XzufSe92c56Ug6ZiULf7Ftmmw99+Aqsm3JEtjpuMEfjK4kcq9qLLjP3vDMf09lDLWqMs0ZQ2vbPsCiUh+97OmbPaoa40QhPNXyHPJcItafvTyK+M3UoIR/+LelJJgX27gGj+UYb42Aczos69oKCk/WOaAMZx8i8fpXcp7mpWfke4tCKDuJSrT3fjwejf2tFLBzk2/On3pKjmLtaFkDCiSdBFwJb9WjKT8llhpOSzA5UMp8Zki2sztHjHFRRQSxV3Lj4x7zFNXSqdTJiteU2RvcyOCXeAxwTti5nGYygw==; map-md=eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==" DEBUG
0017|{Router} ║ │ /ap/uedata?ld&v=0.298895.0&id=4G626W2RFACR20E4KNT8&sw=1920&sh=1200&vw=456&vh=597&m=1&sc=4G626W2RFACR20E4KNT8&ue=1&bb=20&cf=28&be=49&fp=40&fcp=40&pc=101&tc=-1458&na_=-1458&ul_=-16&_ul=-16&rd_=-1731687809061&_rd=-1731687809061&fe_=-1449&lk_=-1449&_lk=-1449&co_=-1449&_co=-1449&sc_=-1731687809061&rq_=-1446&rs_=-20&_rs=47&dl_=-14&di_=54&de_=54&_de=54&_dc=101&ld_=101&_ld=-1731687809061&ntd=-1&ty=0&rc=0&hob=1&hoe=1&ld=101&t=1731687809162&ctb=1&rt=cf:4-0-3-1-2-1-1__ld:16-12-3-1-4-2-1&csmtags=aui|aui:aui_build_date:3.24.7-2024-10-22|aui:sw:page_proxy:unsupported_browser|fls-na-amazon-com|adblk_no&viz=visible:1&pty=AuthenticationPortal&spty=SignInPwdCollect&pti=undefined&tid=RACRG5WWZJYX194Y2W48&aftb=1&lob=0 / GET / {"host":"192.168.1.8:3457","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0","accept":"image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8","referer":"http://192.168.1.8:3457/www.amazon.com/ap/signin/144-2848641-0198851","accept-encoding":"gzip, deflate","cookie":"registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; session-id=144-2848641-0198851; session-id-time=2362407771l; JSESSIONID=1928C497DE856866DA9B0D5D8A4DBD4C; csm-hit=s-4G626W2RFACR20E4KNT8|1731687809081","sec-gpc":"1"} DEBUG
0018|{Router} ║ │ /ap/uedata?at&v=0.298895.0&id=4G626W2RFACR20E4KNT8&ctb=1&m=1&sc=4G626W2RFACR20E4KNT8&pc=936&at=936&t=1731687809997&csmtags=csm-feature-touch-enabled:false&pty=AuthenticationPortal&spty=SignInPwdCollect&pti=undefined&tid=RACRG5WWZJYX194Y2W48&aftb=1&lob=0 / GET / {"host":"192.168.1.8:3457","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0","accept":"image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8","referer":"http://192.168.1.8:3457/www.amazon.com/ap/signin/144-2848641-0198851","accept-encoding":"gzip, deflate","cookie":"registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; session-id=144-2848641-0198851; session-id-time=2362407771l; JSESSIONID=1928C497DE856866DA9B0D5D8A4DBD4C; csm-hit=s-4G626W2RFACR20E4KNT8|1731687809081","sec-gpc":"1"} DEBUG
0019|{Router} ║ │ /ap/uedata?at&v=0.298895.0&id=4G626W2RFACR20E4KNT8&ctb=1&m=1&sc=4G626W2RFACR20E4KNT8&pc=946&at=946&t=1731687810007&pty=AuthenticationPortal&spty=SignInPwdCollect&pti=undefined&tid=RACRG5WWZJYX194Y2W48&aftb=1&ui=2&lob=0 / GET / {"host":"192.168.1.8:3457","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0","accept":"image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8","referer":"http://192.168.1.8:3457/www.amazon.com/ap/signin/144-2848641-0198851","accept-encoding":"gzip, deflate","cookie":"registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; session-id=144-2848641-0198851; session-id-time=2362407771l; JSESSIONID=1928C497DE856866DA9B0D5D8A4DBD4C; csm-hit=s-4G626W2RFACR20E4KNT8|1731687809081","sec-gpc":"1"} DEBUG
0020|{Router} ║ │ /www.amazon.com/ap/signin/144-2848641-0198851 / POST / {"host":"192.168.1.8:3457","connection":"keep-alive","content-length":"11231","cache-control":"max-age=0","upgrade-insecure-requests":"1","origin":"http://192.168.1.8:3457","content-type":"application/x-www-form-urlencoded","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","referer":"http://192.168.1.8:3457/www.amazon.com/ap/signin/144-2848641-0198851","accept-encoding":"gzip, deflate","cookie":"registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; session-id=144-2848641-0198851; session-id-time=2362407771l; JSESSIONID=1928C497DE856866DA9B0D5D8A4DBD4C; csm-hit=RACRG5WWZJYX194Y2W48+s-4G626W2RFACR20E4KNT8|1731687810731","sec-gpc":"1"} DEBUG
0021|{Proxy}  ║ │ Cookies handled: "registerDevice=4b9fd8ab791409738010fbdf5b660301c9c4a63fe0c70cb7473501481565216981df5dc8e57993bb44429dd04ad173f0bf4f7afd9836f8d2627fb2e8bfbed761-W9jbwDxtjWCFwBnJFOK9WB1OrcWBGIkLSzHYCh23sBrFrpbrL7jL9Fp2D3PWgUdt; session-id=144-2848641-0198851; session-id-time=2362407771l; csm-hit=MGCCRWBEGQ9H76MBK3PH+s-FZWNKVZ3JPAVZ0PQAY0R|1731593826962; JSESSIONID=32C54C2BB5C7B1D3B5FD9EF72CF87B61; PHPSESSID=hm3ug3kkegk7ccasmnhku26lng16ggar8lt8f6v5uj9v6r4fg8e6pd1ipo300r8a; frc=aCdfgq/v+Qghn6mDOo3bLLvW8W2KD33Abo4CUoYAXVlVrWsTIWc6LZ/z5cxU1/IDbrGdfmVMvILIed/xXud0vPcYu78moo16EOHR6rTj+v23VjBnCzczZrt+76XzufSe92c56Ug6ZiULf7Ftmmw99+Aqsm3JEtjpuMEfjK4kcq9qLLjP3vDMf09lDLWqMs0ZQ2vbPsCiUh+97OmbPaoa40QhPNXyHPJcItafvTyK+M3UoIR/+LelJJgX27gGj+UYb42Aczos69oKCk/WOaAMZx8i8fpXcp7mpWfke4tCKDuJSrT3fjwejf2tFLBzk2/On3pKjmLtaFkDCiSdBFwJb9WjKT8llhpOSzA5UMp8Zki2sztHjHFRRQSxV3Lj4x7zFNXSqdTJiteU2RvcyOCXeAxwTti5nGYygw==; map-md=eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==" DEBUG
0022|{Cookie} ║ │ Get User data Response: "" DEBUG

Et si le cookie semble bien chargé, il n’est pas écrit dans le répertoire « plugin/alexaapi/resources/data ».
Le simple fait de créer un fichier même vide « alexa-cookie.json » dans ce répertoire permet d’avancer un peu:


Donc les autorisations de création et d’écriture de fichiers semblent OK, mais le cookie n’est pas enregistré.
Le problème semble bien connu, je suis désolé d’insister, mais les différentes « recettes » permettant de régler celui-ci n’ont pas marché chez moi. Il est vrai que je suis un peu dur de la feuille.
Quelqu’un aurait-il une idée? Moult merci.

Au vu des nombreux message, propositions, etc…

Que peut-on proposer de plus que ce qui a déjà été dit ?

Peut être : Ici

3 « J'aime »

Petit malin…

Moi aussi je ne comprends pas car depuis 2 jours comme toi mon plugin est Ko et pourtant pour ma par j’ai le Cookie de présent dans le fichier DATA mais apparemment il n’ai pas bon !?! J’en peux plus de ce Plugin qui fonctionne comme et sur tout quand il le veut !!! :frowning:

J’ai acheté la version premium, plus de problème…
Voilà la solution!

Ca fait cher le :cookie: :rofl:

1 « J'aime »

C’est sûr :slight_smile:

D’autant plus que ce n’est pas LA solution puisque d’autres ont testé et que ce n’est pas mieux

Sans compter que pour l’heure il n’y a qu’une version béta, payante et qui ne semble pas avoir bougé depuis bien longtemps.

Vu le nombre de sujet ouverts concernant ce plugin, c’est dommage qu’il n’y ait pas davantage de suivi sur l’avancement des évolutions/corrections.

2 « J'aime »

Pour rester poli, ils nous embêtes ces A…locS avec leurs format Propriétaire !!! Mais bon c’est le jeux et ont ne peut faire sans…

bonsoir,
essayez çà

Bonsoir

Merci mais pour l’heure je ne rencontre pas de problème quant à la régénération de ce cookie.
Comme beaucoup je suis confronté à devoir le faire bien plus souvent qu’auparavant et c’est pour cela que je suis ce fil avec intérêt.
Quoi qu’il en soit, même si votre lien fonctionne, ça demeure du bricolage qui n’a théoriquement pas lieu d’être.

Oui, c’est juste une solution de contournement mais qui a son sens car ici nous ne sommes pas dans le gestionnaire de tickets de Jeedom mais dans un forum d’entre aide.