Open cinghialino opened 5 days ago
There shouldn't be anything to implement, this image just uses the standalone unifi installation inside of a docker image. I see mentions of UniFi OS though is this something that only works on UniFi OS and not the standalone install?
yeah it appears that the docker image does not contains the aiounifi library - preventing me to use a "hotspot manager" only user when accessing it through this software. It's not the end of the world, I just wanted to make you aware that something may (or may not) be missing in the image, and for the sake of curiosity, you may want to investigate. Again, thank you for your work.
aiounifi is a python interface for unifi, you wouldnt put it in the docker image you use it to connect to a unifi controller, you use it externally to it, ha-unifi-voucher includes aiounifi itself and is where aiounifi would need to exist for this to work. It looks like you're getting a 400 bad request and aiounifi is intepreting that as unauthorized.
I would check the contents of your /unifi/log folder to see if any of the messages there seem relevant. Try a login with a hotspot user and see if its giving an error message in access.log or server.log there's also a hotspot.log that might be relevant, i'm not sure how relevant the other log messages would be.
Operating system
doesn't matter
UniFi Tag
latesr
Docker run
irrelevant
Bug description
it appears that the library component responsible for user management aiounifi is oot implemented, as reported in this link. https://github.com/ufozone/ha-unifi-voucher/issues/125#issuecomment-2363541967
I am wondering if it could be implemented in your already great docker image.
Thanks!
Steps to reproduce
No response
Relevant log output