peterwoj / homebridge-blynk-platform

homebridge plugin to use Blynk
MIT License
10 stars 2 forks source link

Self signed ceritficate #13

Open philippkayser opened 3 years ago

philippkayser commented 3 years ago

Hello,

I get the following error, because I use self-signed certificate

11/4/2020, 1:51:15 AM] Homebridge v1.2.3 is running on port 53133.
(node:1368) UnhandledPromiseRejectionWarning: Error: RequestError: self signed certificate
    at BlynkDeviceConfig.getProjectJSON (/homebridge/node_modules/homebridge-blynk-platform/src/config.ts:196:19)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at BlynkDeviceConfig.readProject (/homebridge/node_modules/homebridge-blynk-platform/src/config.ts:158:40)
    at /homebridge/node_modules/homebridge-blynk-platform/src/index.ts:84:21
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1368) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1368) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.