Bonjour,
J’ai également un problème avec le démon qui ne démarre pas.
Ma connexion à l’appli UVO /KiaConnect est ok
Je suis avec la dernière version du plugin (installé hier)
Voici mes logs :
{
message: 'Deamon kiauvo_node is starting',
level: 'info',
timestamp: '2021-11-24T07:27:33.181Z'
}
[2021-11-24 08:27:33] e[34mdebuge[39m: EU Controller created
[2021-11-24 08:27:33] e[34mdebuge[39m: @EuropeController.login: Trying to sign in with EuropeanBrandAuthStrategy
[2021-11-24 08:27:34] e[31merrore[39m: @EuropeController.login: sign in with EuropeanBrandAuthStrategy failed with error Error: @EuropeanBrandAuthStrategy.login: Cannot find the argument userId in https://eu-account.kia.com/auth/realms/eukiaidm/login-actions/required-action?execution=kia-account-upgrade-email&client_id=f4d531c7-1043-444d-b09a-ad24bd913dd4&tab_id=ZpnyRCsqSlM.
[2021-11-24 08:27:34] e[34mdebuge[39m: @EuropeController.login: Trying to sign in with EuropeanLegacyAuthStrategy
{
source: GotError [HTTPError]: Response code 400 (Bad Request)
at EventEmitter.<anonymous> (/var/www/html/plugins/kiauvo/node/node_modules/got/source/as-promise.js:74:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
host: 'prd.eu-ccapi.kia.com:8080',
hostname: 'prd.eu-ccapi.kia.com',
method: 'POST',
path: '/api/v1/user/signin',
socketPath: undefined,
protocol: 'https:',
url: 'https://prd.eu-ccapi.kia.com:8080/api/v1/user/signin',
gotOptions: {
path: '/api/v1/user/signin',
protocol: 'https:',
slashes: true,
auth: null,
host: 'prd.eu-ccapi.kia.com:8080',
port: '8080',
hostname: 'prd.eu-ccapi.kia.com',
hash: null,
search: null,
query: null,
pathname: '/api/v1/user/signin',
href: 'https://prd.eu-ccapi.kia.com:8080/api/v1/user/signin',
retry: {
retries: [Function],
methods: Set { 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' },
statusCodes: Set { 408, 413, 429, 500, 502, 503, 504 },
errorCodes: Set {
'ETIMEDOUT',
'ECONNRESET',
'EADDRINUSE',
'ECONNREFUSED',
'EPIPE',
'ENOTFOUND',
'ENETUNREACH',
'EAI_AGAIN'
}
},
headers: {
'user-agent': 'got/9.6.0 (https://github.com/sindresorhus/got)',
accept: 'application/json',
'accept-encoding': 'gzip, deflate',
'content-type': 'application/json',
'content-length': 58,
cookie: 'account=ZWUxOGI5ZWItZjEwOC00NmViLTk3N2QtNmY0NTg4MDM4OTc5.0ac2bf1e3f6696d7bab12322c09cdce59509ab0a; TS012b00dd=01cbaa6f709a8206537f1a447a4c34c299aebc785853fc686536593a5b46562740f6c637da080c05bd2a607e84f6a149ac8826fe1c9b507b8b2dae0654cc6ea648227f9aea'
},
hooks: {
beforeRequest: [],
beforeRedirect: [],
beforeRetry: [],
afterResponse: [],
beforeError: [],
init: []
},
decompress: true,
throwHttpErrors: true,
followRedirect: true,
stream: false,
form: false,
json: true,
cache: false,
useElectronNet: false,
method: 'POST',
body: '{"email":"xxxx@xxxx.com","password":"xxxx"}',
cookieJar: CookieJar {
rejectPublicSuffixes: true,
enableLooseMode: false,
allowSpecialUseDomain: false,
store: { idx: {
'prd.eu-ccapi.kia.com': {
'/': {
account: Cookie="account=ZWUxOGI5ZWItZjEwOC00NmViLTk3N2QtNmY0NTg4MDM4OTc5.0ac2bf1e3f6696d7bab12322c09cdce59509ab0a; Expires=Wed, 24 Nov 2021 08:27:34 GMT; Max-Age=3600; Path=/; HttpOnly; hostOnly=true; aAge=154ms; cAge=427ms",
TS012b00dd: Cookie="TS012b00dd=01cbaa6f709a8206537f1a447a4c34c299aebc785853fc686536593a5b46562740f6c637da080c05bd2a607e84f6a149ac8826fe1c9b507b8b2dae0654cc6ea648227f9aea; Domain=prd.eu-ccapi.kia.com; Path=/; hostOnly=false; aAge=50ms; cAge=429ms"
}
}
} },
prefixSecurity: 'silent',
_cloneSync: [Function],
_importCookiesSync: [Function],
getCookiesSync: [Function],
getCookieStringSync: [Function],
getSetCookieStringsSync: [Function],
removeAllCookiesSync: [Function],
setCookieSync: [Function],
serializeSync: [Function]
}
},
statusCode: 400,
statusMessage: 'Bad Request',
headers: {
'ccsp-request-id': '7ac667a0-fc96-4220-8472-93d7648994fe',
'ccsp-span-id': '4',
'content-length': '92',
'content-type': 'application/json',
date: 'Wed, 24 Nov 2021 07:27:35 GMT',
vary: 'Origin',
'x-ratelimit-limit': '0',
'x-ratelimit-remaining': '0',
'x-ratelimit-reset': '0',
connection: 'close',
'set-cookie': [
'TS012b00dd=01cbaa6f709a8206537f1a447a4c34c299aebc785853fc686536593a5b46562740f6c637da080c05bd2a607e84f6a149ac8826fe1c9b507b8b2dae0654cc6ea648227f9aea; Path=/; Domain=.prd.eu-ccapi.kia.com'
]
},
body: {
errId: '7ac667a0-fc96-4220-8472-93d7648994fe',
errCode: '4003',
errMsg: 'Invalid values'
}
},
name: 'ManagedBluelinkyError',
level: 'error',
message: '@EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.kia.com:8080/api/v1/user/signin - {"errId":"7ac667a0-fc96-4220-8472-93d7648994fe","errCode":"4003","errMsg":"Invalid values"}',
stack: 'ManagedBluelinkyError: @EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.kia.com:8080/api/v1/user/signin - {"errId":"7ac667a0-fc96-4220-8472-93d7648994fe","errCode":"4003","errMsg":"Invalid values"}
' +
' at _ (/var/www/html/plugins/kiauvo/node/node_modules/bluelinky/dist/index.js:17:11535)
' +
' at X.<anonymous> (/var/www/html/plugins/kiauvo/node/node_modules/bluelinky/dist/index.js:17:37273)
' +
' at Generator.throw (<anonymous>)
' +
' at a (/var/www/html/plugins/kiauvo/node/node_modules/bluelinky/dist/index.js:17:136)
' +
' at processTicksAndRejections (internal/process/task_queues.js:97:5)',
timestamp: '2021-11-24T07:27:35.336Z'
}
Merci