Bon, je donne tout ce que je trouve…
Un nouveau log vient d’apparaitre sur le Bluelink-node :
[2021-05-02 18:56:09] e[31merrore[39m: @EuropeController.login: sign in with EuropeanBrandAuthStrategy failed with error RequestError: socket hang up
{
source: GotError [HTTPError]: Response code 400 (Bad Request)
at EventEmitter.<anonymous> (/var/www/html/plugins/hyundaibluelink/node/node_modules/got/source/as-promise.js:74:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
host: 'prd.eu-ccapi.hyundai.com:8080',
hostname: 'prd.eu-ccapi.hyundai.com',
method: 'POST',
path: '/api/v1/user/signin',
socketPath: undefined,
protocol: 'https:',
url: 'https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin',
gotOptions: {
path: '/api/v1/user/signin',
protocol: 'https:',
slashes: true,
auth: null,
host: 'prd.eu-ccapi.hyundai.com:8080',
port: '8080',
hostname: 'prd.eu-ccapi.hyundai.com',
hash: null,
search: null,
query: null,
pathname: '/api/v1/user/signin',
href: 'https://prd.eu-ccapi.hyundai.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': 61,
cookie: 'account=NzI5ZWViNWYtMDk4Ni00YmNiLWIwMjAtZTlhOTk3ZTdlNjc3.5d6cf40e967de8af0c89c05ded8c3b818ebe5a14; TS0154565f=01cbaa6f70999b490ca37067a4a9ad9ce2000f10dfc14d67c146b52b4d4e3c475a0a2a7d70037144789e3a8d6de4fefedf032b51953c6cdb10e890482ae1f7e3e9cf1c4eb6'
},
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"XXXXXXXX"","password":"XXXXXXXX?"}',
cookieJar: CookieJar {
rejectPublicSuffixes: true,
enableLooseMode: false,
allowSpecialUseDomain: false,
store: { idx: {
'prd.eu-ccapi.hyundai.com': {
'/': {
account: Cookie="account=NzI5ZWViNWYtMDk4Ni00YmNiLWIwMjAtZTlhOTk3ZTdlNjc3.5d6cf40e967de8af0c89c05ded8c3b818ebe5a14; Expires=Sun, 02 May 2021 17:56:09 GMT; Max-Age=3600; Path=/; HttpOnly; hostOnly=true; aAge=151ms; cAge=383ms",
TS0154565f: Cookie="TS0154565f=01cbaa6f70999b490ca37067a4a9ad9ce2000f10dfc14d67c146b52b4d4e3c475a0a2a7d70037144789e3a8d6de4fefedf032b51953c6cdb10e890482ae1f7e3e9cf1c4eb6; Path=/; hostOnly=true; aAge=152ms; cAge=384ms"
}
}
} },
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': '2e7321ff-aa0a-4705-ab9a-5ce4534cea28',
'ccsp-span-id': '4',
'content-length': '133',
'content-type': 'application/json',
date: 'Sun, 02 May 2021 16:56:10 GMT',
vary: 'Origin',
'x-ratelimit-limit': '0',
'x-ratelimit-remaining': '0',
'x-ratelimit-reset': '0',
connection: 'close'
},
body: {
errId: '2e7321ff-aa0a-4705-ab9a-5ce4534cea28',
errCode: '4003',
errMsg: 'Invalid values',
errBody: { userId: '', remainTime: 300 }
}
},
name: 'ManagedBluelinkyError',
level: 'error',
message: '@EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin - {"errId":"2e7321ff-aa0a-4705-ab9a-5ce4534cea28","errCode":"4003","errMsg":"Invalid values","errBody":{"userId":"","remainTime":300}}',
stack: 'ManagedBluelinkyError: @EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin - {"errId":"2e7321ff-aa0a-4705-ab9a-5ce4534cea28","errCode":"4003","errMsg":"Invalid values","errBody":{"userId":"","remainTime":300}}\n' +
' at d (/var/www/html/plugins/hyundaibluelink/node/node_modules/bluelinky/dist/index.js:17:144947)\n' +
' at Y.<anonymous> (/var/www/html/plugins/hyundaibluelink/node/node_modules/bluelinky/dist/index.js:17:169022)\n' +
' at Generator.throw (<anonymous>)\n' +
' at P (/var/www/html/plugins/hyundaibluelink/node/node_modules/bluelinky/dist/index.js:17:136)\n' +
' at processTicksAndRejections (internal/process/task_queues.js:97:5)',
timestamp: '2021-05-02T16:56:10.189Z'
}
{
message: 'Deamon hyundaibluelink_node is starting',
level: 'info',
timestamp: '2021-05-02T16:57:05.277Z'
}