Open Gabin85 opened 1 year ago
Ah bah j'ai été banni par l'API -_-
Ça me faisait la même chose chez Bouygues. Certains site ou j'étais bloqué je ne pouvais carrément pas y aller. J'étais pas banni juste par la box ça marchait pas. EDF impôt etc... Des fois ça revenait et des fois non 😑
Vous êtes à quel version ?
Version de ? Tout est à jour de toute façon
et je suis chez Orange
En allant sur homebridge pour mettre à jour mes plugins j'ai remarqué de gros message rouge d'erreur...
` APIError: Conso API a répondu avec une erreur at file:///homebridge/node_modules/homebridge-linky-enedis-meter/node_modules/linky/dist/lib/index.js:76:23 at processTicksAndRejections (node:internal/process/task_queues:95:5) { err: AxiosError: Request failed with status code 403 at settle (file:///homebridge/node_modules/homebridge-linky-enedis-meter/node_modules/axios/lib/core/settle.js:19:12) at BrotliDecompress.handleStreamEnd (file:///homebridge/node_modules/homebridge-linky-enedis-meter/node_modules/axios/lib/adapters/http.js:572:11) at BrotliDecompress.emit (node:events:526:35) at endReadableNT (node:internal/streams/readable:1359:12) at processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'ERR_BAD_REQUEST', config: { transitional: [Object], adapter: 'http', transformRequest: [Array], transformResponse: [Array], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: [Object], validateStatus: [Function: validateStatus], headers: [Object [AxiosHeaders]], method: 'get', url: 'https://conso.boris.sh/api/consumption_load_curve?start=2023-09-20&end=2023-09-21&prm=', data: undefined }, request: ClientRequest { _events: [Object: null prototype], _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, strictContentLength: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: true, socket: [TLSSocket], _header: 'GET /api/consumption_load_curve?start=2023-09-20&end=2023-09-21&prm= HTTP/1.1\r\n' + 'Accept: application/json\r\n' + 'Authorization: Bearer + 'User-Agent: @bokub/linky\r\n' + 'Accept-Encoding: gzip, compress, deflate, br\r\n' + 'Host: conso.boris.sh\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, joinDuplicateHeaders: undefined, path: '/api/consumption_load_curve?start=2023-09-20&end=2023-09-21&prm=', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'conso.boris.sh', protocol: 'https:', _redirectable: [Writable],
}, code: 403, response: '<!DOCTYPE html>\n' + '\n' + '\n' + '\n' + ' \n' + '
\n' + '<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" /><![endif]-->\n
+ '\n' + '\n' + '\n' + '\n' + '\n' + '\n' + '\n' + '\n' + '\n' + '\n' + 'Sorry, you have been blocked
\n' + 'You are unable to access boris.sh
\n' + 'Why have I been blocked?
\n' + '\n' + 'This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.
\n' + 'What can I do to resolve this?
\n' + '\n' + 'You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.
\n' + '\n' + ' Cloudflare Ray ID: 80a58777fac502b1\n' + ' •\n' + ' \n' + ' Your IP:\n' + ' \n' + ' 2a01:cb05:8820:c100:dea6:32ff:fe91:ecb5\n' + ' •\n' + ' \n' + ' Performance & security by Cloudflare\n' + ' \n' + '
\n' + ' \n' + '