-
-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Amcrest camera sometimes has login error #85859
Comments
Hey there @flacjacket, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) amcrest documentation |
I'm also affected, here are some debug logs:
The release of httpx 0.23.2 (see changelog https://github.com/encode/httpx/releases) mentions digest auth changes, which was added recently to HA: https://github.com/home-assistant/core/pull/85023/files There is now a newer version of httpx that could resolve this issue. |
Adding a comment here rather than adding another issue. @llamafilm Did your password contain special characters? I ask as my initial password contained a exclamation point and tried another with an asterisk and both produced a Login Error. I switched to alphanumeric and can stream in HA. If special characters are not your issue, I will open separate issue as they should be supported. |
Mine does not. Separate issue. |
Mine does, but it was working fine on older releases and continues to work besides the occasional login error. |
I’m seeing more Amcrest errors over the past few days. I never saw this behavior before so maybe it’s caused by a recent update. Some examples:
|
This fixed my issue. The integration couldn't complete the auth process and retrieve data from the camera until I took the "$" out of my password. Everything is working as it was before it broke maybe 6-8 months ago for me. |
I've removed the special chars from password and the problem persists. Here is the log in case it helps:
|
Following as I get intermittent login errors and notifications that the AD410 is offline. Blue Iris shows it doesn't disconnect. I do have an exclamation point in the password but the integration is able to log in. It just throws a login error every so often.
|
I'm experiencing the same issue, and I'm also not seeing the camera go offline when checking against Synology Surveillance Station:
Edit: Fixed formatting. |
I am running into the same issue. I switched my password to alphanumeric and tried all sorts of configurations. But the camera always reported a timeout. I am able to connect via the Home Assistant Generic Camera Integration with: rtsp:https://10.0.1.163:554/cam/realmonitor?channel=1&subtype=0 Amcrest ASH22-W with firmware version 2.680.00AC000.0.R.201013 |
I finally got tired of the log filling with connected/disconnected messages and I’m giving the Dahua integration a shot. So far it at least doesn’t tell me that it can’t connect. |
I was also encountering this, and whenever it would happen, my video stream would become unavailable for a while. At some points, my AD410 seemed overwhelmed with API requests and would require a restart to get the stream going again. I think that there were too many streaming connections opening and closing between multiple clients. I ended up enabling the following option to preload the camera stream, and now I'm not encountering any issues anymore: Preload camera stream I haven't had any more issues with the stream from repeated open/close streaming requests, and I haven't had to reboot the camera in over a week (when I enabled the setting). I hope this helps someone else. |
I ended up using the Generic Camera to connect my Amcrest ASH22-W: https://www.home-assistant.io/integrations/generic Interesting sidenote: my Synology Surveillance Station also would not work with the Amcrest preset. I ended up using the user defined preset and the rtsp:https:// url above. It worked great. (I also had to switch my Amcrest camera from h.265 to h.264 using the Amcrest IP Config Mac app). |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
I'm using the Amcrest integration with 2 cameras. Sometimes I get an error in the log like this:
It always resolves itself immediately, so this isn't a big deal, I just want to flag it as a false error. It's weird that this error only ever happens on the "Front Yard" camera, even though the Back Yard is configured exactly the same. My config is like this:
What version of Home Assistant Core has the issue?
2023.1.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Amcrest
Link to integration documentation on our website
https://www.home-assistant.io/integrations/amcrest/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: