linuxserver / Heimdall-Apps

Apps for Heimdall
MIT License
295 stars 318 forks source link

Unifi - Failed: Invalid credentials #640

Open vampywiz17 opened 11 months ago

vampywiz17 commented 11 months ago

Hello there,

I try to connect my local Unifi controller (inside docker, port 8443) to Heimdall. But every time i get Invalid cred. error.

I create a new user name/password: "test"

I try to "read only" and "admin" user but no success.

TLS are skipped.

On webUI, i able to login this "test" user.

image

igorkulman commented 11 months ago

Same problem, I even tried creating a new user just in case but no matter what I do I always get invalid credentials.

vampywiz17 commented 11 months ago

626 issue maybe help, but not solve it. If I change the PHP with suggested API endpoint, it able to login but no data

jinetjose commented 11 months ago

same issue , any updates , I'm sure my credentials are correct but still heimdall says invalid

igorkulman commented 11 months ago

I think I solved it, try https://github.com/linuxserver/Heimdall-Apps/issues/626#issuecomment-1647603906

Vinestou commented 11 months ago

I think I solved it, try #626 (comment)

Sow how do we "fix" it? Do we need to change the URL in Heimdall?

mvdkleijn commented 5 months ago

According to https://github.com/linuxserver/Heimdall-Apps/issues/626#issuecomment-1907241861 this should work, so closing this issue.

andymarden commented 4 months ago

Hang on - this is being closed, because everyone hacking around the php code will fix it?

mvdkleijn commented 4 months ago

Hang on - this is being closed, because everyone hacking around the php code will fix it?

@andymarden I closed the issue because it appeared to have been fixed in the past. If that's not the case, it's fine for me to re-open the issue.

Keep in mind though that I don't have any means to test the problem nor solution. (unless someone wants to send me some Unifi gear) :smile:

andymarden commented 4 months ago

Thanks - can anyone confirm what exactly should go in the config settings: URL - if that is blank or I put the internal url port 8443, it works enough to get invalid credentials Username/password - I assume this is the one I use at the normal login age for the controller And I have Skip TLS on Currently running v7.5.187 of the controller and heimdall v2.6.1

mvdkleijn commented 4 months ago

If anyone here could help out @andymarden that would be nice. I don't have access to Unifi.

LinuxServer-CI commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

LinuxServer-CI commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

LinuxServer-CI commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

LinuxServer-CI commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.