Bonsoir,
Pour ma part, cela ne fonctionne toujours pas
J’ai ce message d’erreur « toast » qui apparaît en rouge quand je clique sur le bouton « Synchronisation » :
Pourtant je reçois bien le mail avec le jeton de double-authentification et je peux le saisir dans le plugin sans erreur.
J’ai bien re-sauvé l’équipement, comme indiqué.
Voici les log juste après avoir sauvé l’équipement :
« volvocars » :
[2024-11-05 20:50:01] DEBUG : Action AJAX: getAccount
[2024-11-05 20:50:12] DEBUG : Action AJAX: saveAccount
[2024-11-05 20:50:12] INFO : Validation username/password de l'account
[2024-11-05 20:50:13] DEBUG : auth: {"id": "ID-BLABLABLA", "pluginTypeId": "ID2-BLABLABLA", "status": "OTP_REQUIRED", "devices": [{"id": "907XXXcf-XXXX-XXXX-XXXX-69XX4XXXX69d", "type": "EMAIL", "target": "jf****@gmail.com"}], "user": {"username": "BLABLABLA@gmail.com"}, "selectedDeviceRef": {"id": "907XXXcf-XXXX-XXXX-XXXX-69XX4XXXX69d"}, "_links": {"cancelAuthentication": {"href": "https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"}, "resendOtp": {"href": "https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"}, "selectDevice": {"href": "https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"}, "self": {"href": "https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"}, "checkOtp": {"href": "https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"}}}
[2024-11-05 20:50:13] DEBUG : Recherche de BLABLABLA@gmail.com
[2024-11-05 20:50:27] DEBUG : Action AJAX: sendOTP
[2024-11-05 20:50:27] DEBUG : auth: {"id":"ID-BLABLABLA","pluginTypeId":"ID2-BLABLABLA","status":"OTP_REQUIRED","devices":[{"id":"907XXXcf-XXXX-XXXX-XXXX-69XX4XXXX69d","type":"EMAIL","target":"jf****@gmail.com"}],"user":{"username":"BLABLABLA@gmail.com"},"selectedDeviceRef":{"id":"907XXXcf-XXXX-XXXX-XXXX-69XX4XXXX69d"},"_links":{"cancelAuthentication":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"},"resendOtp":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"},"selectDevice":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"},"self":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"},"checkOtp":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"}}}
« volvocars_daemon » :
[2024-11-05 20:50:12] INFO [volvocarsd ] Client connected to [127.0.0.1:47010]
[2024-11-05 20:50:12] INFO [volvocarsd ] Message read from socket: {"apikey":"7IYXBhM0f8QvZBMMgp82Bu6q80kInYlYmAuJ6Mq5PbGelfnXg4b1KFtDazMJ8Qb6","action":"login","login":"BLABLABLA@gmail.com","password":"MONMOTDEPASSE"}
[2024-11-05 20:50:12] DEBUG [volvocarsd ] Création d'une nouvelle session
[2024-11-05 20:50:12] DEBUG [connectionpool ] Starting new HTTPS connection (1): volvoid.eu.volvocars.com:443
[2024-11-05 20:50:12] DEBUG [connectionpool ] https://volvoid.eu.volvocars.com:443 "GET /as/authorization.oauth2?client_id=h4Yf0b&response_type=code&acr_values=urn:volvoid:aal:bronze:2sv&response_mode=pi.flow&scope=openid%20email%20profile%20care_by_volvo:financial_information:invoice:read%20care_by_volvo:financial_information:payment_method%20care_by_volvo:subscription:read%20customer:attributes%20customer:attributes:write%20order:attributes%20vehicle:attributes%20tsp_customer_api:all%20conve:brake_status%20conve:climatization_start_stop%20conve:command_accessibility%20conve:commands%20conve:diagnostics_engine_status%20conve:diagnostics_workshop%20conve:doors_status%20conve:engine_status%20conve:environment%20conve:fuel_status%20conve:honk_flash%20conve:lock%20conve:lock_status%20conve:navigation%20conve:odometer_status%20conve:trip_statistics%20conve:tyre_status%20conve:unlock%20conve:vehicle_relation%20conve:warnings%20conve:windows_status%20energy:battery_charge_level%20energy:charging_connection_status%20energy:charging_system_status%20energy:electric_range%20energy:estimated_charging_time%20energy:recharge_status%20vehicle:attributes HTTP/11" 200 429
[2024-11-05 20:50:12] DEBUG [volvocarsd ] -DEBUT-------------LOGIN--------------------
[2024-11-05 20:50:12] DEBUG [volvocarsd ] Request
[2024-11-05 20:50:12] DEBUG [volvocarsd ] URL
[2024-11-05 20:50:12] DEBUG [volvocarsd ] https://volvoid.eu.volvocars.com/as/authorization.oauth2?client_id=h4Yf0b&response_type=code&acr_values=urn:volvoid:aal:bronze:2sv&response_mode=pi.flow&scope=openid%20email%20profile%20care_by_volvo:financial_information:invoice:read%20care_by_volvo:financial_information:payment_method%20care_by_volvo:subscription:read%20customer:attributes%20customer:attributes:write%20order:attributes%20vehicle:attributes%20tsp_customer_api:all%20conve:brake_status%20conve:climatization_start_stop%20conve:command_accessibility%20conve:commands%20conve:diagnostics_engine_status%20conve:diagnostics_workshop%20conve:doors_status%20conve:engine_status%20conve:environment%20conve:fuel_status%20conve:honk_flash%20conve:lock%20conve:lock_status%20conve:navigation%20conve:odometer_status%20conve:trip_statistics%20conve:tyre_status%20conve:unlock%20conve:vehicle_relation%20conve:warnings%20conve:windows_status%20energy:battery_charge_level%20energy:charging_connection_status%20energy:charging_system_status%20energy:electric_range%20energy:estimated_charging_time%20energy:recharge_status%20vehicle:attributes
[2024-11-05 20:50:12] DEBUG [volvocarsd ] Body
[2024-11-05 20:50:12] DEBUG [volvocarsd ] Headers
[2024-11-05 20:50:12] DEBUG [volvocarsd ] authorization: Basic aDRZZjBiOXXXXXtTYlZsNnh3c2XXXXXxWmZyZ1ZtSWFEcGhPc3kxUENhVXNpY1F0bzNUUXXXXXFKc2U0QVpkZ2ZJXXXXXXc=
[2024-11-05 20:50:12] DEBUG [volvocarsd ] User-Agent: vca-android/5.46.0
[2024-11-05 20:50:12] DEBUG [volvocarsd ] Accept-Encoding: gzip
[2024-11-05 20:50:12] DEBUG [volvocarsd ] Content-Type: application/json; charset=utf-8
[2024-11-05 20:50:12] DEBUG [volvocarsd ] Response
[2024-11-05 20:50:12] DEBUG [volvocarsd ] Body
[2024-11-05 20:50:12] DEBUG [volvocarsd ] {"id":"ID-BLABLABLA","pluginTypeId":"7RmQNDWaOnBoudTufx2sEw","status":"USERNAME_PASSWORD_REQUIRED","showRememberMyUsername":false,"showThisIsMyDevice":false,"thisIsMyDeviceSelected":false,"showCaptcha":false,"rememberMyUsernameSelected":false,"_links":{"self":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"},"checkUsernamePassword":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"}}}
[2024-11-05 20:50:12] DEBUG [volvocarsd ] -FIN---------------LOGIN--------------------
[2024-11-05 20:50:13] DEBUG [connectionpool ] https://volvoid.eu.volvocars.com:443 "POST /pf-ws/authn/flows/ID-BLABLABLA?action=checkUsernamePassword HTTP/11" 200 737
[2024-11-05 20:50:13] DEBUG [volvocarsd ] -DEBUT-------------CHECK USER PASSWORD--------------------
[2024-11-05 20:50:13] DEBUG [volvocarsd ] Request
[2024-11-05 20:50:13] DEBUG [volvocarsd ] URL
[2024-11-05 20:50:13] DEBUG [volvocarsd ] https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA?action=checkUsernamePassword
[2024-11-05 20:50:13] DEBUG [volvocarsd ] Body
[2024-11-05 20:50:13] DEBUG [volvocarsd ] {"username": "BLABLABLA@gmail.com", "password": "MONMOTDEPASSE"}
[2024-11-05 20:50:13] DEBUG [volvocarsd ] Headers
[2024-11-05 20:50:13] DEBUG [volvocarsd ] authorization: Basic aDRZZjBiOXXXXXtTYlZsNnh3c2XXXXXxWmZyZ1ZtSWFEcGhPc3kxUENhVXNpY1F0bzNUUXXXXXFKc2U0QVpkZ2ZJXXXXXXc=
[2024-11-05 20:50:13] DEBUG [volvocarsd ] User-Agent: vca-android/5.46.0
[2024-11-05 20:50:13] DEBUG [volvocarsd ] Accept-Encoding: gzip
[2024-11-05 20:50:13] DEBUG [volvocarsd ] Content-Type: application/json; charset=utf-8
[2024-11-05 20:50:13] DEBUG [volvocarsd ] x-xsrf-header: PingFederate
[2024-11-05 20:50:13] DEBUG [volvocarsd ] Cookie: PF=qqEzKy8qJCrDP9MGRKGHyJV8tvbLisX4XzbroOEcfSeN
[2024-11-05 20:50:13] DEBUG [volvocarsd ] Content-Length: 62
[2024-11-05 20:50:13] DEBUG [volvocarsd ] Response
[2024-11-05 20:50:13] DEBUG [volvocarsd ] Body
[2024-11-05 20:50:13] DEBUG [volvocarsd ] {"id":"ID-BLABLABLA","pluginTypeId":"ID2-BLABLABLA","status":"OTP_REQUIRED","devices":[{"id":"907XXXcf-XXXX-XXXX-XXXX-69XX4XXXX69d","type":"EMAIL","target":"jf****@gmail.com"}],"user":{"username":"BLABLABLA@gmail.com"},"selectedDeviceRef":{"id":"907XXXcf-XXXX-XXXX-XXXX-69XX4XXXX69d"},"_links":{"cancelAuthentication":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"},"resendOtp":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"},"selectDevice":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"},"self":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"},"checkOtp":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"}}}
[2024-11-05 20:50:13] DEBUG [volvocarsd ] -FIN---------------CHECK USER PASSWORD--------------------
[2024-11-05 20:50:13] INFO [volvocarsd ] Client disconnected from [127.0.0.1:47010]
[2024-11-05 20:50:27] INFO [volvocarsd ] Client connected to [127.0.0.1:35586]
[2024-11-05 20:50:27] INFO [volvocarsd ] Message read from socket: {"apikey":"7IYXBhM0f8QvZBMMgp82Bu6q80kInYlYmAuJ6Mq5PbGelfnXg4b1KFtDazMJ8Qb6","action":"sendOTP","account_id":"1","otp":"250274","auth":"{\"id\":\"ID-BLABLABLA\",\"pluginTypeId\":\"ID2-BLABLABLA\",\"status\":\"OTP_REQUIRED\",\"devices\":[{\"id\":\"907XXXcf-XXXX-XXXX-XXXX-69XX4XXXX69d\",\"type\":\"EMAIL\",\"target\":\"jf****@gmail.com\"}],\"user\":{\"username\":\"BLABLABLA@gmail.com\"},\"selectedDeviceRef\":{\"id\":\"907XXXcf-XXXX-XXXX-XXXX-69XX4XXXX69d\"},\"_links\":{\"cancelAuthentication\":{\"href\":\"https:\/\/volvoid.eu.volvocars.com\/pf-ws\/authn\/flows\/ID-BLABLABLA\"},\"resendOtp\":{\"href\":\"https:\/\/volvoid.eu.volvocars.com\/pf-ws\/authn\/flows\/ID-BLABLABLA\"},\"selectDevice\":{\"href\":\"https:\/\/volvoid.eu.volvocars.com\/pf-ws\/authn\/flows\/ID-BLABLABLA\"},\"self\":{\"href\":\"https:\/\/volvoid.eu.volvocars.com\/pf-ws\/authn\/flows\/ID-BLABLABLA\"},\"checkOtp\":{\"href\":\"https:\/\/volvoid.eu.volvocars.com\/pf-ws\/authn\/flows\/ID-BLABLABLA\"}}}"}
[2024-11-05 20:50:27] DEBUG [connectionpool ] https://volvoid.eu.volvocars.com:443 "POST /pf-ws/authn/flows/ID-BLABLABLA?action=checkOtp HTTP/11" 200 272
[2024-11-05 20:50:27] DEBUG [volvocarsd ] -DEBUT-------------CHECK OTP--------------------
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Request
[2024-11-05 20:50:27] DEBUG [volvocarsd ] URL
[2024-11-05 20:50:27] DEBUG [volvocarsd ] https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA?action=checkOtp
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Body
[2024-11-05 20:50:27] DEBUG [volvocarsd ] {"otp": "250274"}
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Headers
[2024-11-05 20:50:27] DEBUG [volvocarsd ] authorization: Basic aDRZZjBiOXXXXXtTYlZsNnh3c2XXXXXxWmZyZ1ZtSWFEcGhPc3kxUENhVXNpY1F0bzNUUXXXXXFKc2U0QVpkZ2ZJXXXXXXc=
[2024-11-05 20:50:27] DEBUG [volvocarsd ] User-Agent: vca-android/5.46.0
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Accept-Encoding: gzip
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Content-Type: application/json; charset=utf-8
[2024-11-05 20:50:27] DEBUG [volvocarsd ] x-xsrf-header: PingFederate
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Cookie: PF=qqEzKy8qJCrDP9MGRKGHyJ3yFTq0altihvOGXUvbKe7x; PF.PERSISTENT=cnVkyCxZ11NglV4ZkoeKJkRrv
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Content-Length: 17
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Response
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Body
[2024-11-05 20:50:27] DEBUG [volvocarsd ] {"id":"ID-BLABLABLA","pluginTypeId":"ID2-BLABLABLA","status":"OTP_VERIFIED","_links":{"self":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"},"continueAuthentication":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"}}}
[2024-11-05 20:50:27] DEBUG [volvocarsd ] -FIN---------------CHECK OTP--------------------
[2024-11-05 20:50:27] DEBUG [connectionpool ] https://volvoid.eu.volvocars.com:443 "GET /pf-ws/authn/flows/ID-BLABLABLA?action=continueAuthentication HTTP/11" 200 330
[2024-11-05 20:50:27] DEBUG [volvocarsd ] -DEBUT-------------CONTINUEAUTHENTICATION--------------------
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Request
[2024-11-05 20:50:27] DEBUG [volvocarsd ] URL
[2024-11-05 20:50:27] DEBUG [volvocarsd ] https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA?action=continueAuthentication
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Body
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Headers
[2024-11-05 20:50:27] DEBUG [volvocarsd ] authorization: Basic aDRZZjBiOXXXXXtTYlZsNnh3c2XXXXXxWmZyZ1ZtSWFEcGhPc3kxUENhVXNpY1F0bzNUUXXXXXFKc2U0QVpkZ2ZJXXXXXXc=
[2024-11-05 20:50:27] DEBUG [volvocarsd ] User-Agent: vca-android/5.46.0
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Accept-Encoding: gzip
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Content-Type: application/json; charset=utf-8
[2024-11-05 20:50:27] DEBUG [volvocarsd ] x-xsrf-header: PingFederate
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Cookie: PF=qqEzKy8qJCrDP9MGRKGHyJ3yFTq0altihvOGXUvbKe7x; PF.PERSISTENT=cnVkyCxZ11NglV4ZkoeKJkRrv
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Response
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Body
[2024-11-05 20:50:27] DEBUG [volvocarsd ] {"id":"ID-BLABLABLA","pluginTypeId":"ID2-BLABLABLA","status":"COMPLETED","authorizeResponse":{"code":"VtFNrNr0ELg7SlGMOzILCTwc2mktkhNWDp5IoGl0"},"user":{"id":"a14c95aa-d272-4379-9b4a-c737d2706291","username":"BLABLABLA@gmail.com"},"_links":{"self":{"href":"https://volvoid.eu.volvocars.com/pf-ws/authn/flows/ID-BLABLABLA"}}}
[2024-11-05 20:50:27] DEBUG [volvocarsd ] -FIN---------------CONTINUEAUTHENTICATION--------------------
[2024-11-05 20:50:27] DEBUG [connectionpool ] https://volvoid.eu.volvocars.com:443 "POST /as/token.oauth2 HTTP/11" 200 1981
[2024-11-05 20:50:27] DEBUG [volvocarsd ] -DEBUT-------------CONTINUEAUTHENTICATION--------------------
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Request
[2024-11-05 20:50:27] DEBUG [volvocarsd ] URL
[2024-11-05 20:50:27] DEBUG [volvocarsd ] https://volvoid.eu.volvocars.com/as/token.oauth2
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Body
[2024-11-05 20:50:27] DEBUG [volvocarsd ] code=VtFNrNr0ELg7SlGMOzILCTwc2mktkhNWDp5IoGl0&grant_type=authorization_code
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Headers
[2024-11-05 20:50:27] DEBUG [volvocarsd ] authorization: Basic aDRZZjBiOXXXXXtTYlZsNnh3c2XXXXXxWmZyZ1ZtSWFEcGhPc3kxUENhVXNpY1F0bzNUUXXXXXFKc2U0QVpkZ2ZJXXXXXXc=
[2024-11-05 20:50:27] DEBUG [volvocarsd ] User-Agent: vca-android/5.46.0
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Accept-Encoding: gzip
[2024-11-05 20:50:27] DEBUG [volvocarsd ] content-type: application/x-www-form-urlencoded
[2024-11-05 20:50:27] DEBUG [volvocarsd ] x-xsrf-header: PingFederate
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Cookie: PF=qqEzKy8qJCrDP9MGRKGHyJF5CJjVM9D1RJpHmDEm1S3B; PF.PERSISTENT=c5QT35nAUXckO0lu9lsls3T2E
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Content-Length: 75
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Response
[2024-11-05 20:50:27] DEBUG [volvocarsd ] Body
[2024-11-05 20:50:27] DEBUG [volvocarsd ] {"access_token":"blablabla","refresh_token":"blabla","id_token":"blablablabla","token_type":"Bearer","expires_in":1799}
[2024-11-05 20:50:27] DEBUG [volvocarsd ] -FIN---------------CONTINUEAUTHENTICATION--------------------
[2024-11-05 20:50:27] INFO [volvocarsd ] Client disconnected from [127.0.0.1:35586]
Et juste après avoir cliqué sur le bouton « Synchronisation » :
« volvocars » :
[2024-11-05 20:56:55] DEBUG : Action AJAX: synchronizeAccount
[2024-11-05 20:56:55] INFO : ┌Début de la synchonisation de l'account BLABLABLA@gmail.com
[2024-11-05 20:56:55] DEBUG : ├─Récupération de la liste des véhicules
[2024-11-05 20:56:55] DEBUG : │ URL: https://api.volvocars.com/connected-vehicle/v2/vehicles
« volvocars_daemon » :
rien de plus n’est ajouté
Les dépendances semblent s’être installées sans problème :
BASE_DIR: /var/www/html/plugins/volvocars/resources
======================================================================
== 05/11/2024 20:37:45 == Dependencies installation for volvocars
======================================================================
[ 5% ] : Clean apt...
[ 9% ] : Clean apt : [ OK ]
[ 10% ] : Update apt...
[ 19% ] : Update apt : [ OK ]
[ 20% ] : Init python3 & prerequisites...
[ 29% ] : Init python3 & prerequisites : [ OK ]
[ 30% ] : Init PyEnv...
** PyEnv not required: 3.9.2 >= 3.9 **
** python3 path: python3 **
[ 39% ] : Init PyEnv : [ OK ]
[ 40% ] : Setting up virtual environment...
** Version of python in VENV: Python 3.9.2
[ 69% ] : Setting up virtual environment : [ OK ]
[ 70% ] : Install the required python packages...
[ 79% ] : Install the required python packages : [ OK ]
[ 80% ] : Restoring folders and files rights...
[ 89% ] : Restoring folders and files rights : [ OK ]
[ 90% ] : Summary of installed packages...
certifi==2024.8.30
charset-normalizer==3.4.0
idna==3.10
pkg_resources==0.0.0
requests==2.32.3
urllib3==2.2.3
[ 99% ] : Summary of installed packages : [ OK ]
[100% ] : Finished !
======================================================================
==OK== Installation Successful
======================================================================
Est-ce qu’il faut d’autres infos ?
PS : j’ai bien sûr expurgé des logs tout ce qui me semblait confidentiel (j’espère que je n’ai rien manqué …)