Skip to content
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

Invalid session in request data (NVR) #6

Open
sbluhm opened this issue Nov 4, 2024 · 0 comments
Open

Invalid session in request data (NVR) #6

sbluhm opened this issue Nov 4, 2024 · 0 comments

Comments

@sbluhm
Copy link

sbluhm commented Nov 4, 2024

Hi,

running this on a Dahua NVR, I get this error:

dahua_rpc.RequestError: {'error': {'code': 287637505, 'message': 'Invalid session in request data!'}, 'result': False}

Steps to reproduce:

from dahua_rpc import DahuaRpc
dahua = DahuaRpc(host="nvr.example.com", username="admin", password="admin")
dahua.login()

print(dahua.current_time())

Issue happens on any request. I had a look at the JSON request but couldn't find anything obvious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant