crowbartools / Firebot

A powerful all-in-one bot for Twitch streamers
https://firebot.app
GNU General Public License v3.0
347 stars 96 forks source link

[Support] Philips Hue integration unable to get local issuer certificate #1605

Closed natereprogle closed 2 years ago

natereprogle commented 2 years ago

Hi! I am trying to link my Philips Hue bridge with Firebot. Unfortunately, I have not been able to since install. My Hue is on my network and discoverable at https://discovery.meethue.com. Firebot is also allowed through my PC's firewall. I can press the link button on my Bridge and then click Link within the integrations menu of Firebot, however upon clicking Link nothing happens. There are no messages, errors, or anything else, the only thing that I can notice is the button turning white. I have tried doing it in the opposite order as well (Clicking Link in Firebot then clicking the link button on the bridge) but I cannot get any results. I was wondering if there is something I'm doing wrong or any other way of linking this? Thank you very much!

Troubleshooting steps taken:

natereprogle commented 2 years ago

Just realized providing some logs may be helpful. Every time I click "Link" in the app, this block of text is generated in the log file

18:22:21 GMT-0600 (Central Standard Time) - info: [v5.50.4] got 'linkIntegration' request
18:22:21 GMT-0600 (Central Standard Time) - warn: [v5.50.4]  
{
  message: 'Problems resolving hue bridges, unable to get local issuer certificate',
  stack: 'Error: Problems resolving hue bridges, unable to get local issuer certificate\n' +
    '    at C:\\Users\\Nate Reprogle\\AppData\\Local\\firebotv5\\app-5.50.4\\resources\\app.asar\\node_modules\\node-hue-api\\lib\\api\\discovery\\nupnp.js:15:13\n' +
    '    at runMicrotasks (<anonymous>)\n' +
    '    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n' +
    '    at async HueIntegration.discoverBridge (C:\\Users\\Nate Reprogle\\AppData\\Local\\firebotv5\\app-5.50.4\\resources\\app.asar\\backend\\integrations\\builtin\\philips-hue\\hue.js:80:34)\n' +
    '    at async HueIntegration.discoverAndCreateUser (C:\\Users\\Nate Reprogle\\AppData\\Local\\firebotv5\\app-5.50.4\\resources\\app.asar\\backend\\integrations\\builtin\\philips-hue\\hue.js:90:27)\n' +
    '    at async HueIntegration.link (C:\\Users\\Nate Reprogle\\AppData\\Local\\firebotv5\\app-5.50.4\\resources\\app.asar\\backend\\integrations\\builtin\\philips-hue\\hue.js:59:25)\n' +
    '    at async IntegrationManager.linkIntegration (C:\\Users\\Nate Reprogle\\AppData\\Local\\firebotv5\\app-5.50.4\\resources\\app.asar\\backend\\integrations\\IntegrationManager.js:211:13)'
}