rvi / ONVIFCamera

Pod and example on how to connect to an ONVIF camera
MIT License
88 stars 18 forks source link

Authentication issue .. #19

Open ReTheoden opened 1 year ago

ReTheoden commented 1 year ago

Hi, there is a problem with soap authentication despite I insert the right username e password. The soap response is that I'm not authorized. I suspect that the latest ONVIF specs have changed the authentication type so not plain text. Any suggestion ?

thanks Leo

rvi commented 1 year ago

Hi Leo, Yes it could be a change in the API, but it could also be that your camera doesn't accept remote connection? The unauthenticated SOAP methods should work, maybe try this? I don't have access to ONVIF cameras anymore, so I can't help you. Good luck!

ReTheoden commented 1 year ago

Hi Remy, in your code the soap request uses the correct digest auth so it should be fine but I cannot connect. Using python or windows, anyway, I can connect. Very strange. Anyway thanks !