Bonsoir.
J’ai activé le mode débug et voici le log. Je ne sais pas si cela aidera…
Merci encore
Patrice
message: 'Deamon hyundaibluelink_node is starting',
level: 'info',
timestamp: '2021-05-02T18:56:43.472Z'
}
{
message: 'Deamon hyundaibluelink_node is starting',
level: 'info',
timestamp: '2021-05-02T18:57:02.125Z'
}
[2021-05-02 21:00:06] 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=NzU4NDVhMzEtY2YwOC00ZGIwLTg5ODEtNjc0MTFhNTBmOGY3.d9c9d0e0235478a5dd5f5fe1f77cb45ee22d5acd; TS0154565f=01cbaa6f701f3c50071dde7d57c4f4841568cc5b75b60df58598b82831a467550e087a1f4189fceb69ddbc5b04ba52581f13fc9312b09e91400e49c8be722d1a20c2ea2116'
},
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":"XXXXX"}',
cookieJar: CookieJar {
rejectPublicSuffixes: true,
enableLooseMode: false,
allowSpecialUseDomain: false,
store: { idx: {
'prd.eu-ccapi.hyundai.com': {
'/': {
account: Cookie="account=NzU4NDVhMzEtY2YwOC00ZGIwLTg5ODEtNjc0MTFhNTBmOGY3.d9c9d0e0235478a5dd5f5fe1f77cb45ee22d5acd; Expires=Sun, 02 May 2021 20:00:06 GMT; Max-Age=3600; Path=/; HttpOnly; hostOnly=true; aAge=147ms; cAge=383ms",
TS0154565f: Cookie="TS0154565f=01cbaa6f701f3c50071dde7d57c4f4841568cc5b75b60df58598b82831a467550e087a1f4189fceb69ddbc5b04ba52581f13fc9312b09e91400e49c8be722d1a20c2ea2116; Path=/; hostOnly=true; aAge=149ms; 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': '53c168ae-930b-44b0-a011-c2afbe5add7b',
'ccsp-span-id': '4',
'content-length': '149',
'content-type': 'application/json',
date: 'Sun, 02 May 2021 19:00:07 GMT',
vary: 'Origin',
'x-ratelimit-limit': '0',
'x-ratelimit-remaining': '0',
'x-ratelimit-reset': '0',
connection: 'close'
},
body: {
errId: '53c168ae-930b-44b0-a011-c2afbe5add7b',
errCode: '4003',
errMsg: 'Invalid values',
errBody: { userId: '', remainCount: 4, 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":"53c168ae-930b-44b0-a011-c2afbe5add7b","errCode":"4003","errMsg":"Invalid values","errBody":{"userId":"","remainCount":4,"remainTime":300}}',
stack: 'ManagedBluelinkyError: @EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin - {"errId":"53c168ae-930b-44b0-a011-c2afbe5add7b","errCode":"4003","errMsg":"Invalid values","errBody":{"userId":"","remainCount":4,"remainTime":300}}
' +
' at d (/var/www/html/plugins/hyundaibluelink/node/node_modules/bluelinky/dist/index.js:17:144947)
' +
' at Y.<anonymous> (/var/www/html/plugins/hyundaibluelink/node/node_modules/bluelinky/dist/index.js:17:169022)
' +
' at Generator.throw (<anonymous>)
' +
' at P (/var/www/html/plugins/hyundaibluelink/node/node_modules/bluelinky/dist/index.js:17:136)
' +
' at processTicksAndRejections (internal/process/task_queues.js:97:5)',
timestamp: '2021-05-02T19:00:07.386Z'
}
{
message: 'Deamon hyundaibluelink_node is starting',
level: 'info',
timestamp: '2021-05-02T19:01:02.724Z'
}
[2021-05-02 21:04:07] 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=M2I5NmZkYjctNjFmZS00ODE5LTgyNWQtYjRhNmE5ZjczYjc4.8e626bbff35f18b1a8449b3ca67028b91993c9a5; TS0154565f=01cbaa6f708e5444c65474aeb311602ba4ee9ad6ebeda3d596080a78e36da1615894862fb7e2b29332115d5bd286c408309113450faf329dea4529898122a668e815c4b33c'
},
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":"XXXXXXXXX","password":"XXXXXXXX"}',
cookieJar: CookieJar {
rejectPublicSuffixes: true,
enableLooseMode: false,
allowSpecialUseDomain: false,
store: { idx: {
'prd.eu-ccapi.hyundai.com': {
'/': {
account: Cookie="account=M2I5NmZkYjctNjFmZS00ODE5LTgyNWQtYjRhNmE5ZjczYjc4.8e626bbff35f18b1a8449b3ca67028b91993c9a5; Expires=Sun, 02 May 2021 20:04:07 GMT; Max-Age=3600; Path=/; HttpOnly; hostOnly=true; aAge=149ms; cAge=376ms",
TS0154565f: Cookie="TS0154565f=01cbaa6f708e5444c65474aeb311602ba4ee9ad6ebeda3d596080a78e36da1615894862fb7e2b29332115d5bd286c408309113450faf329dea4529898122a668e815c4b33c; Path=/; hostOnly=true; aAge=150ms; cAge=377ms"
}
}
} },
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': '8f702519-3c94-48f1-913c-4a23172b4bb1',
'ccsp-span-id': '4',
'content-length': '149',
'content-type': 'application/json',
date: 'Sun, 02 May 2021 19:04:07 GMT',
vary: 'Origin',
'x-ratelimit-limit': '0',
'x-ratelimit-remaining': '0',
'x-ratelimit-reset': '0',
connection: 'close'
},
body: {
errId: '8f702519-3c94-48f1-913c-4a23172b4bb1',
errCode: '4003',
errMsg: 'Invalid values',
errBody: { userId: '', remainCount: 3, 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":"8f702519-3c94-48f1-913c-4a23172b4bb1","errCode":"4003","errMsg":"Invalid values","errBody":{"userId":"","remainCount":3,"remainTime":300}}',
stack: 'ManagedBluelinkyError: @EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin - {"errId":"8f702519-3c94-48f1-913c-4a23172b4bb1","errCode":"4003","errMsg":"Invalid values","errBody":{"userId":"","remainCount":3,"remainTime":300}}
' +
' at d (/var/www/html/plugins/hyundaibluelink/node/node_modules/bluelinky/dist/index.js:17:144947)
' +
' at Y.<anonymous> (/var/www/html/plugins/hyundaibluelink/node/node_modules/bluelinky/dist/index.js:17:169022)
' +
' at Generator.throw (<anonymous>)
' +
' at P (/var/www/html/plugins/hyundaibluelink/node/node_modules/bluelinky/dist/index.js:17:136)
' +
' at processTicksAndRejections (internal/process/task_queues.js:97:5)',
timestamp: '2021-05-02T19:04:07.865Z'
}
{
message: 'Deamon hyundaibluelink_node is starting',
level: 'info',
timestamp: '2021-05-02T19:05:05.165Z'
}
[2021-05-02 21:08: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=YjNiZWY1Y2UtOGE5Zi00MmNhLThiOGYtYzhiMDRhZWM2ODA3.43ba327efeb2bf4a4e1de313f48dca3c99f7ad82; TS0154565f=01cbaa6f70fe9c486c1f15f623777f9af63f606ff479b212885b4c9398a6b467732d53fd7c52e59fd2b32885f9ac934dea8644afb6f81bfc71aa11f21a5ab314bacd45c0de'
},
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":"XXXXXXXXX"}',
cookieJar: CookieJar {
rejectPublicSuffixes: true,
enableLooseMode: false,
allowSpecialUseDomain: false,
store: { idx: {
'prd.eu-ccapi.hyundai.com': {
'/': {
account: Cookie="account=YjNiZWY1Y2UtOGE5Zi00MmNhLThiOGYtYzhiMDRhZWM2ODA3.43ba327efeb2bf4a4e1de313f48dca3c99f7ad82; Expires=Sun, 02 May 2021 20:08:10 GMT; Max-Age=3600; Path=/; HttpOnly; hostOnly=true; aAge=158ms; cAge=392ms",
TS0154565f: Cookie="TS0154565f=01cbaa6f70fe9c486c1f15f623777f9af63f606ff479b212885b4c9398a6b467732d53fd7c52e59fd2b32885f9ac934dea8644afb6f81bfc71aa11f21a5ab314bacd45c0de; Path=/; hostOnly=true; aAge=159ms; cAge=393ms"
}
}
} },
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': 'ee2e1b25-b17c-4622-b6d4-9358e296c45b',
'ccsp-span-id': '4',
'content-length': '149',
'content-type': 'application/json',
date: 'Sun, 02 May 2021 19:08:10 GMT',
vary: 'Origin',
'x-ratelimit-limit': '0',
'x-ratelimit-remaining': '0',
'x-ratelimit-reset': '0',
connection: 'close'
},
body: {
errId: 'ee2e1b25-b17c-4622-b6d4-9358e296c45b',
errCode: '4003',
errMsg: 'Invalid values',
errBody: { userId: '', remainCount: 2, 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":"ee2e1b25-b17c-4622-b6d4-9358e296c45b","errCode":"4003","errMsg":"Invalid values","errBody":{"userId":"","remainCount":2,"remainTime":300}}',
stack: 'ManagedBluelinkyError: @EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin - {"errId":"ee2e1b25-b17c-4622-b6d4-9358e296c45b","errCode":"4003","errMsg":"Invalid values","errBody":{"userId":"","remainCount":2,"remainTime":300}}
' +
' at d (/var/www/html/plugins/hyundaibluelink/node/node_modules/bluelinky/dist/index.js:17:144947)
' +
' at Y.<anonymous> (/var/www/html/plugins/hyundaibluelink/node/node_modules/bluelinky/dist/index.js:17:169022)
' +
' at Generator.throw (<anonymous>)
' +
' at P (/var/www/html/plugins/hyundaibluelink/node/node_modules/bluelinky/dist/index.js:17:136)
' +
' at processTicksAndRejections (internal/process/task_queues.js:97:5)',
timestamp: '2021-05-02T19:08:10.737Z'
}
{
message: 'Deamon hyundaibluelink_node is starting',
level: 'info',
timestamp: '2021-05-02T19:09:04.656Z'
}