hjdhjd/unifi-protect

API endpoint access error

shivanathd opened this issue · 2 comments

I have been having this issue for a while,

plugin works for a good while then starts errorring out, sorts itself out in a few minutes / hours and then this happens again.. all cameras go offline in homekit only, protect is still accessible and working.

I've created a local admin for homebridge plugin access.. able to see all the cameras when its working.

i have around 32 cameras

plugin version : homebridge-unifi-protect v5.5.4

unifi os version : 2.5.11
protect version : 2.1.2
homebrige (on Mac) : [v1.5.0]

Log

[9/17/2022, 6:11:27 PM] [homebridge-unifi-protect] UNVR [UNVR4] Staircase [UVC G3 Instant]: Unable to turn the status light on. Please ensure this username has the Administrator role in UniFi Protect. [9/17/2022, 6:11:27 PM] [homebridge-unifi-protect] UNVR [UNVR4]: Controller API connection terminated because it was taking too long. This error can usually be safely ignored. [9/17/2022, 6:11:27 PM] [homebridge-unifi-protect] UNVR [UNVR4]: Unable to retrieve NVR configuration information from UniFi Protect. Will retry again later. [9/17/2022, 6:11:27 PM] [homebridge-unifi-protect] Invalid login credentials given. Please check your login and password. [9/17/2022, 6:11:27 PM] [homebridge-unifi-protect] 192.168.1.142: API endpoint access error [9/17/2022, 6:11:27 PM] [homebridge-unifi-protect] 192.168.1.142: Unable to retrieve the livestream websocket API endpoint from the UniFi Protect controller. [9/17/2022, 6:11:27 PM] [homebridge-unifi-protect] 192.168.1.142 Staircase [UVC G3 Instant]: Unable to start the timeshift buffer for HomeKit Secure Video. [9/17/2022, 6:11:28 PM] [homebridge-unifi-protect] 192.168.1.142 Staircase [UVC G3 Instant]: Unable to turn the status light on. Please ensure this username has the Administrator role in UniFi Protect. [9/17/2022, 6:11:28 PM] [homebridge-unifi-protect] 192.168.1.142 Home theater cam [UVC G3 Instant]: Unable to turn the status light on. Please ensure this username has the Administrator role in UniFi Protect. Error: from server 192.168.1.62:50425 Error: connect ECONNREFUSED 192.168.1.62:50425 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1195:16) { errno: -61, code: 'ECONNREFUSED', syscall: 'connect', address: '192.168.1.62', port: 50425 } [9/17/2022, 6:11:37 PM] [homebridge-unifi-protect] 192.168.1.142 Doorbell [UVC G4 Doorbell]: Unable to turn the status light on. Please ensure this username has the Administrator role in UniFi Protect. [9/17/2022, 6:11:38 PM] [homebridge-unifi-protect] UNVR [UNVR4]: Connected to the UniFi Protect controller API (address: 192.168.1.142 mac: 68D79A5D9DE7).

I know it says it needs admin access but, the user is admin

Screenshot 2022-09-17 at 6 12 43 PM

need help please !

@shivanathd - this issue is being automatically closed because it does not follow either the feature request or bug report issue template. The issue templates have been designed to help in the troubleshooting (or feature request) process. Please use them and populate it as completely as possible to streamline troubleshooting or feature request discussions.

This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.