Hikvision intercom digest auth - possible issue due to pull/2463 #2549
Replies: 6 comments 17 replies
-
Ref #2463 |
Beta Was this translation helpful? Give feedback.
-
Should I raise an issue in order to proceed with this? |
Beta Was this translation helpful? Give feedback.
-
Unfortunately there is not that much info with the log level set:
I'll try to find more data with wireshark. |
Beta Was this translation helpful? Give feedback.
-
I have some ISAPi documents, can share later |
Beta Was this translation helpful? Give feedback.
-
Here is the link to all ISAPi docs from Hikvision that I also share on Home Assistant forum.. it's for all hardware... |
Beta Was this translation helpful? Give feedback.
-
package com---------------------; import org.apache.http.HttpEntity; import java.io.IOException; import java.io.File; public class DigestAuthISAPI {
// String responseBody = EntityUtils.toString(entity);
} |
Beta Was this translation helpful? Give feedback.
-
I'm using httpx to get to Hikvision intercom API, which uses digest auth. It accepts the
WWW-Authenticate
token once, later it just spams with Unauthorized responses.Python code I used to test it:
Wireshark also shows the same, I can provide the dump but overall it's the same - httpx uses the same
nonce
token and it is rejected.I observed this behavior with Hikvision intercom API but possibly this is more broad issue.
Beta Was this translation helpful? Give feedback.
All reactions