You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting the Docker container (either stand-alone or with docker-compose), I get the following error message:
unifi-metrics-collector_1 | Traceback (most recent call last):
unifi-metrics-collector_1 | File "./unifi_collector.py", line 191, in <module>
unifi-metrics-collector_1 | run()
unifi-metrics-collector_1 | File "./unifi_collector.py", line 170, in run
unifi-metrics-collector_1 | stats[0])
unifi-metrics-collector_1 | KeyError: 0
A database exists as well as the credentials, also the port is open and the database reachable from my machine. Setting logging to DEBUG also shows me that querying the Unifi AP is working and I'm getting results.
Is there a way to make this part of the Python script more verbose?
The text was updated successfully, but these errors were encountered:
I have started working on this script again. Unifi had made changes to the API since the last time. Currently, it only handles switches, but I intend to improve on that. Sorry for the delayed response. I am going to close this as it now works again.
When starting the Docker container (either stand-alone or with docker-compose), I get the following error message:
A database exists as well as the credentials, also the port is open and the database reachable from my machine. Setting logging to DEBUG also shows me that querying the Unifi AP is working and I'm getting results.
Is there a way to make this part of the Python script more verbose?
The text was updated successfully, but these errors were encountered: