Closed rhdgkr001 closed 3 years ago
Does the password/username include by any chance the character \
? The Python interpreter is sometimes weird with these types of strings.
No, \characters are not included. Is it an error caused by a mismatch in the password? I.D : admin P.W : 1234
(I checked that the account is logged in through the i-vms program)
That's what I think it could be. But I am not sure at the moment.
On Mon, May 31, 2021, 07:34 rhdgkr001 @.***> wrote:
No, \characters are not included. Is it an error caused by a mismatch in the password? I.D : admin P.W : 1234
(I checked that the account is logged in through the i-vms program)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Tedyst/HikLoad/issues/7#issuecomment-851163625, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIBP53SOYGRBJ6OCYN5HM3TQMGT3ANCNFSM452CQDEA .
Oh, I don't use docker, is it because of that?
Shouldn't really be a problem, but you could try. In a few hours I will have time to check the code where this issue occurs specifically.
By looking at the ISAPI pdf, I found that a 401 response means that the Authorization headers are not being sent in the request. I am not sure what causes this, but I am still looking into it.
Thanks to your advice that it's like an account problem, I had to create a new user on the camera using an operator role and selecting the roles. Then response was converted to [200]!
I still don't know why I can't access my 'admin' account, but I succeeded in moving on to the next line. Thank you for helping me.
After modifying config.py, I ran main.py, but the following error occurred. Would you give me a hand?
ERROR:root:Got the response: OrderedDict([('userCheck', OrderedDict([('statusValue', '401'), ('statusString', 'Unauthorized')]))])