I'm having an issue getting the snapshot.cgi request to work with my IP2M-842. Here's the complete model information...
Amcrest ProHD Outdoor 1080P WiFi Wireless IP Security Bullet Camera - IP67 Weatherproof, 1080P (1920TVL), IP2M-842 (Black)
Software version: 2.212.0000.2.R, build : 2016-01-24
I've tried the following two commands in a few different browsers/PCs: Chrome & Safari (MacOS) Internet Explorer (Windows 7) and Chrome (Ubuntu)
- http://10.0.1.147/cgi-bin/snapshot.cgi?channel=0
http://remote:remote@10.0.1.147/cgi-bin/snapshot.cgi?
http://remote:remote@10.0.1.147/cgi-bin ... ?channel=0
I've used the following two requests successfully, and the camera has responded correctly. The first one with a live image, and the second with a dump of the video options.
- http://10.0.1.147/cgi-bin/mjpg/video.cg ... &subtype=0
http://10.0.1.147/cgi-bin/configManager ... oInOptions
When I checked the log in the camera web interface, there were no messages logged.
Do you have any suggestions of other things to try? Is there a firmware update that I need to apply? (I wasn't able to find one on the Amcrest website)
Thank you so much for any help anyone can provide.
Below is the information from wireshark:
Code: Select all
69 10.999130 10.0.1.102 10.0.1.147 HTTP 471 GET /cgi-bin/snapshot.cgi?channel=0 HTTP/1.1
Frame 69: 471 bytes on wire (3768 bits), 471 bytes captured (3768 bits) on interface 0
Ethernet II, Src: Apple_0a:f1:ac (80:e6:50:0a:f1:ac), Dst: Zhejiang_f5:a2:9b (4c:11:bf:f5:a2:9b)
Internet Protocol Version 4, Src: 10.0.1.102, Dst: 10.0.1.147
Transmission Control Protocol, Src Port: 52225 (52225), Dst Port: 80 (80), Seq: 1, Ack: 1, Len: 405
Hypertext Transfer Protocol
GET /cgi-bin/snapshot.cgi?channel=0 HTTP/1.1\r\n
[Expert Info (Chat/Sequence): GET /cgi-bin/snapshot.cgi?channel=0 HTTP/1.1\r\n]
Request Method: GET
Request URI: /cgi-bin/snapshot.cgi?channel=0
Request Version: HTTP/1.1
Host: 10.0.1.147\r\n
Connection: keep-alive\r\n
Cache-Control: max-age=0\r\n
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\r\n
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36\r\n
Accept-Encoding: gzip, deflate, sdch\r\n
Accept-Language: en-US,en;q=0.8\r\n
\r\n
[Full request URI: http://10.0.1.147/cgi-bin/snapshot.cgi?channel=0]
[HTTP request 1/1]
[Response in frame: 71]
71 11.007590 10.0.1.147 10.0.1.102 HTTP 177 HTTP/1.1 401 Unauthorized
Frame 71: 177 bytes on wire (1416 bits), 177 bytes captured (1416 bits) on interface 0
Ethernet II, Src: Zhejiang_f5:a2:9b (4c:11:bf:f5:a2:9b), Dst: Apple_0a:f1:ac (80:e6:50:0a:f1:ac)
Internet Protocol Version 4, Src: 10.0.1.147, Dst: 10.0.1.102
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 52225 (52225), Seq: 1, Ack: 406, Len: 111
Hypertext Transfer Protocol
HTTP/1.1 401 Unauthorized\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 401 Unauthorized\r\n]
Request Version: HTTP/1.1
Status Code: 401
Response Phrase: Unauthorized
WWW-Authenticate: Basic realm="Device_CGI"\r\n
CONNECTION: close\r\n
CONTENT-LENGTH: 0\r\n
\r\n
[HTTP response 1/1]
[Time since request: 0.008460000 seconds]
[Request in frame: 69]
86 11.927420 10.0.1.102 10.0.1.147 HTTP 514 GET /cgi-bin/snapshot.cgi?channel=0 HTTP/1.1
Frame 86: 514 bytes on wire (4112 bits), 514 bytes captured (4112 bits) on interface 0
Ethernet II, Src: Apple_0a:f1:ac (80:e6:50:0a:f1:ac), Dst: Zhejiang_f5:a2:9b (4c:11:bf:f5:a2:9b)
Internet Protocol Version 4, Src: 10.0.1.102, Dst: 10.0.1.147
Transmission Control Protocol, Src Port: 52224 (52224), Dst Port: 80 (80), Seq: 1, Ack: 1, Len: 448
Hypertext Transfer Protocol
GET /cgi-bin/snapshot.cgi?channel=0 HTTP/1.1\r\n
[Expert Info (Chat/Sequence): GET /cgi-bin/snapshot.cgi?channel=0 HTTP/1.1\r\n]
Request Method: GET
Request URI: /cgi-bin/snapshot.cgi?channel=0
Request Version: HTTP/1.1
Host: 10.0.1.147\r\n
Connection: keep-alive\r\n
Cache-Control: max-age=0\r\n
Authorization: Basic cmVtb3RlOnJlbW90ZQ==\r\n
Credentials: remote:remote
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\r\n
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36\r\n
Accept-Encoding: gzip, deflate, sdch\r\n
Accept-Language: en-US,en;q=0.8\r\n
\r\n
[Full request URI: http://10.0.1.147/cgi-bin/snapshot.cgi?channel=0]
[HTTP request 1/1]
[Response in frame: 135]
135 27.275119 10.0.1.147 10.0.1.102 HTTP 142 HTTP/1.1 500 Internal Server Error
Frame 135: 142 bytes on wire (1136 bits), 142 bytes captured (1136 bits) on interface 0
Ethernet II, Src: Zhejiang_f5:a2:9b (4c:11:bf:f5:a2:9b), Dst: Apple_0a:f1:ac (80:e6:50:0a:f1:ac)
Internet Protocol Version 4, Src: 10.0.1.147, Dst: 10.0.1.102
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 52224 (52224), Seq: 1, Ack: 449, Len: 76
Hypertext Transfer Protocol
HTTP/1.1 500 Internal Server Error\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 500 Internal Server Error\r\n]
Request Version: HTTP/1.1
Status Code: 500
Response Phrase: Internal Server Error
CONNECTION: close\r\n
CONTENT-LENGTH: 0\r\n
\r\n
[HTTP response 1/1]
[Time since request: 15.347699000 seconds]
[Request in frame: 86]