Quite interesting, I tried Amcrest_IPC-AWXX_Eng_N_V2.420.AC00.18.R.20170521.bin on my IP2M-841 with settings reset to defaults as instructed and it still doesn’t seem to work with Vera Edge running firmware 1.7.2931. This 18.R Amcrest version certainly tries to do HTTP Digest Authentication like 17.R
Actually the snapshot URL doesn’t work with anything anymore in 18.R…not Firefox, Crome or linux tools like curl.
root@MiOS_xxxx:~# curl -v --digest http://vera:password@192.168.15.10/cgi-bin/snapshot.cgi
GET /cgi-bin/snapshot.cgi HTTP/1.1
User-Agent: curl/7.38.0
Host: 192.168.15.10
Accept: /
< HTTP/1.1 401 Unauthorized
< WWW-Authenticate: Digest realm=“Login to AMC”,qop=“auth”,nonce=“445233875”,opaque=“3f4a9ea877eade28d7a3ee3bd098d10ab29b8831”
< Connection: close
< CONTENT-LENGTH: 0
<
GET /cgi-bin/snapshot.cgi HTTP/1.1
Authorization: Digest username=“vera”, realm=“Login to AMC”, nonce=“445233875”, uri=“/cgi-bin/snapshot.cgi”, cnonce=“MGE5YjY5OTYwZDQxZWMyYTVkN2UzYjljMzVlNWRhMTk=”, nc=00000001, qop=auth, response=“bcfc902e6e02bdef7631e73c8ff5a905”, opaque=“3f4a9ea877eade28d7a3ee3bd098d10ab29b8831”
User-Agent: curl/7.38.0
Host: 192.168.15.10
Accept: /
- Empty reply from server
curl: (52) Empty reply from server
Same thing will happen with URL
curl -v -uvera:password --digest http://192.168.15.10/cgi-bin/snapshot.cgi
The live stream will work even over HTTP, so there is something fishy in the cgi-interface of 18.R.
root@MiOS_xxx:~# curl -v -uvera:password --digest http://192.168.15.10/cgi-bin/mjpg/video.cgi?channel=0\&subtype=1 -O /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0> GET /cgi-bin/mjpg/video.cgi?channel=0&subtype=1 HTTP/1.1
User-Agent: curl/7.38.0
Host: 192.168.15.10
Accept: /
< HTTP/1.1 401 Unauthorized
< WWW-Authenticate: Digest realm=“Login to AMC”,qop=“auth”,nonce=“180909467”,opaque=“3f4a9ea877eade28d7a3ee3bd098d10ab29b8831”
< Connection: close
< CONTENT-LENGTH: 0
<
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
GET /cgi-bin/mjpg/video.cgi?channel=0&subtype=1 HTTP/1.1
Authorization: Digest username=“vera”, realm=“Login to AMC”, nonce=“180909467”, uri=“/cgi-bin/mjpg/video.cgi?channel=0&subtype=1”, cnonce=“MGEyOTFhNDYyOTUxOTJjYjFhZGI0ODQ5MjVkZmQ3YTM=”, nc=00000001, qop=auth, response=“dead74a927d0e4226f998f6d861bfed1”, opaque=“3f4a9ea877eade28d7a3ee3bd098d10ab29b8831”
User-Agent: curl/7.38.0
Host: 192.168.15.10
Accept: /
< HTTP/1.1 200 OK
< Cache-Control: no-cache
< Pragma: no-cache
< Expires: Thu, 01 Dec 1994 16:00:00 GMT
< Connection: close
< Content-Type: multipart/x-mixed-replace; boundary=myboundary
<
{ [data not shown]
100 70585 0 70585 0 0 49739 0 --:–:-- 0:00:01 --:–:-- 76409^C
root@MiOS_xx:~#
Edit : later I actually figured out the issue with the snapshot.cgi, the storage destination option for snapshots had gotten cleared in the camera settings, most likely due to resetting to defaults.
I started wondering what is wrong as snapshot.cgi would not work even in the 16.R anymore…
Anyways, I rolled back to 16.R for now.