thephez / onvif-interface

An ONVIF interface for connecting to and controlling cameras
MIT License
35 stars 7 forks source link

'Digest' authentication problem #2

Open TomRyu opened 1 year ago

TomRyu commented 1 year ago

First of all, I sincerely thank you for taking the time to do the coding for me. However, I have a problem and I would like to ask for your help.

When I click the "subscribe" button, I met error at the following code

string[] result = eptc.GetEventProperties(out fixedTopicSet, out tst, out topicExpDialect, out msgContentFilter, out producerProperties, out msgContentSchema, out any);

error is as followings.

System.ServiceModel.Security.MessageSecurityException: 'HTTP request is not authenticated with client authentication scheme 'Digest'. The authentication headers received from the server are 'Digest realm="iPolis", qop="auth", nonce="6540f315ca6b2e5fd9fd", opaque="60bf14eb"'.

Could you please help me more?

thephez commented 1 year ago

Unfortunately it has been a number of years since I worked on this and I'm not able to look into this. The error is authentication related and it's possible the onvif standard has deprecated something that I used when creating the tool or is requiring a new authentication scheme that I didn't implement.