question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Username, Password, or Address is wrong.

See original GitHub issue

Version of the custom_component

Configuration


Add your logs here.

Describe the bug

While adding camera to HA i’m getting this error: “Username, Password, or Address is wrong.” Using default username admin/admin

Are these cameras supported?

IPC-HFW1320S IPC-HFW1300S IPC-HFW2320R-ZS

Debug log


Add your logs here.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alnsiuenrasdcommented, Apr 22, 2022

After exploring all of the suggestions provided here, I finally just reflashed home assistant and started all over. Once the Dahua integration was installed through HACS I was able to add all of my cameras with no issues. Perhaps this is an issue with Home Assistant?

1reaction
AndreTzerracommented, Feb 7, 2022

The option : _self.base = “{0}😕/{1}:{2}@{3}:{4}”.format(protocol, username, password, address, port) did not work for me.

For me the solution looks very simple: I used port 80 all the time. Let’s give 443 one try. Thats it!

After deleting and reinstalling the component it works. 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix login error “The username or password is incorrect”?
Press Windows key + I and navigate to the Update & Security. · Open Windows Update section and click Advanced options. · Disable...
Read more >
How to Fix the User Name or Password Is Incorrect
How to Fix the User Name or Password Is Incorrect · 1: Disable Automatic Sign-In Press the Windows Key + S and type...
Read more >
“Password incorrect” error - Google Account Help
On your device's browser, go to https://accounts.google.com/DisplayUnlockCaptcha. Enter your username and password, then enter the letters on the screen. Go ...
Read more >
Why do most websites say 'Incorrect username or ...
If it said “incorrect username”, or “incorrect password”, you could use this mechanism to check if a particular user name (usually an email...
Read more >
“Invalid Username or Password”: a useless security measure
Unfortunately this assumes that there's no other way for an attacker to discover whether a username/email address is registered for a service.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found