Skip to content

ONVIF Camera Authentication Fails After Some Time #44

@stoex

Description

@stoex

I am using the Onvif.Core library in a .NET 6 application to communicate with an ONVIF-compatible camera (AXIS M5525-E). Initially, everything works fine, but after some time, all requests fail with the following SOAP response:

The action requested requires authorization and the sender is not authorized.

Could this be due to the fact that the library uses WS-Security with PasswordDigest authentication and that after a certain period, the timestamp for authentication is no longer valid?

Can a keep-alive mechanism be added to the library, or would I need to manually renew the camera object?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions