Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UDR Auth or Connection Error, #707

Open
Geekllem opened this issue May 1, 2024 · 6 comments
Open

UDR Auth or Connection Error, #707

Geekllem opened this issue May 1, 2024 · 6 comments

Comments

@Geekllem
Copy link

Geekllem commented May 1, 2024

I have UDR and I have problems with the api:
[ERROR] Controller 1 of 1 Auth or Connection Error, retrying: unifi controller: (user: unifipoller): https://192.168.XXXX.1/api/auth/login (status: 403 Forbidden): authentication failed

Could you help me?
Thanks.

@platinummonkey
Copy link
Contributor

Usually this will be an issue with the way it was configured. Make sure it’s a local account with all the read permissions. Make sure the password matches

@Geekllem
Copy link
Author

I use a local account, with read permissions and the passwords matches.

Log Error:

[ERROR] Controller 1 of 1 Auth or Connection Error, retrying: unifi controller: (user: unifipoller): https://192.168.XXX.1:443/api/auth/login (status: 403 Forbidden): authentication failed
[DEBUG] Requested https://192.168.XXX.1:443/api/auth/login: elapsed 1.092s, returned 94 bytes
[DEBUG] Requesting https://192.168.XXX.1:443/api/auth/login, with params: true, cookies: 0
[DEBUG] Using NEW UniFi controller API paths for https://192.168.XXX.1:443/
[DEBUG] Requesting https://192.168.XXX.1:443/ to determine API paths
[DEBUG] inititalizing input... unifi
[DEBUG] initializing 1 inputs
[INFO] UniFi Poller v2.7.13 Starting Up! PID: 1

what can I do?

@platinummonkey
Copy link
Contributor

You might exercise the curl command directly but the controller is rejecting the current combo

@Geekllem
Copy link
Author

I am doing container manager (docker) with environtment variables.. how I do that?

@platinummonkey
Copy link
Contributor

Describe how you’re setting this up specifically with exact commands. The user/pass it has is saying this is incorrect. Certain config file formats you should also avoid certain special characters depending on which format you used as well

@Geekllem
Copy link
Author

Geekllem commented May 17, 2024

Environtmen variables:

UP_UNIFI_DEFAULT_URL = https://192.168.XXX.1:443/proxy/network
UP_UNIFI_DEFAULT_USER = unifipoller
UP_UNIFI_DEFAULT_PASS = XXXXX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants