-
-
Notifications
You must be signed in to change notification settings - Fork 19
Stopped working: RequestError #10
Comments
Nothing? No problems at all or any help anyone? |
Fixed it by myself. |
How did you fix this? I can't get it to connect to my controller at all, ip of "http://192.168.xx.xx:8443". Does the controller need to have an SSL cert for this library to work? It never fires the 'Connected To UniFi Controller' event and if when I issue a getDevices(), I get an error that says "error: self-signed certificate" |
Have you set |
yes, still doesn't work. Doesn't fire the connected event and when I issue getClients(), I get "bad request, this combination of host and port requires TLS". This is my code: `const UnifiEvents = require('unifi-events'); let unifi = new UnifiEvents({ unifi.on('ready', () => { unifi.on('connected', (data) => { unifi.on('disconnected', (data) => { |
You have configured Try |
the "ready" event still isn't firing, but I am getting connect and disconnect events now. Thanks. |
Hi @oznu,
I really love your work, especially this one and docker-homebridge.
I just recognised that this wonderful event handler unexpectedly has stopped working. The only thing I am aware of is a
apt-get update && apt-get upgrade
.I would really appreciate your help! Node is v13.3.0.
This is my .js:
The text was updated successfully, but these errors were encountered: