• March 28, 2024, 11:54:45 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Not working - NIPCA commands resultcode=unauthorized or This File is Forbidden  (Read 14934 times)

gurbina93

  • Level 1 Member
  • *
  • Posts: 1

Hi all,

Hope you can help with this issue... about 5-6 months ago I bought a DCS8525LH-11A3 camera. I integrated it with MotionEye as soon as I got it up and running, basically all I had to do was:

-Reset camera
-Register the camera via myDlink app for Android (to connect it to my network)
-Go to my Router and give it a static IP (via DHCP reservation)

After this I was able to get the stream via NIPCA:

(HTTP) http://admin:<PIN>@CAMERAIP/video/mjpg.cgi
(VLC STREAM) http://admin:<PIN>@CAMERAIP/video/ACVS-H264.cgi?profileid=1

I was able to use all the NIPCA commands. I was even using the PTZ commands to move my camera based on scripts which are managed by sensors. (a script which makes an HTTP POST request with the NIPCA command)

Out of the blue now I cannot no longer connect (no updates, no nothing), it just stopped working altogether. Now I am unable to use HTTP for everything, I can partially use HTTPS to get at least a different message.

For example:
(HTTP) https://admin:<PIN>@CAMERAIP/video/mjpg.cgi -> CONNECTION REFUSED, mnothing loads
(HTTPS) https://admin:<PIN>@CAMERAIP/video/mjpg.cgi -> I get the following plain text response "resultcode=unauthorized" or "This file is forbidden... go back to home page"

Basically I cannot do anything at all. I can only access
 https://admin:<PIN>@CAMERAIP/common/info.cgi

And I get this over that command:
Code: [Select]
model=DCS-8525LH
product=Wireless Internet Camera
brand=D-Link
version=1.03
build=06
hw_version=A
nipca=1.9.7
name=DCS-8525LH
location=
macaddr=B0:C5:54:47:11:A3
ipaddr=192.168.0.50
netmask=255.255.255.0
gateway=192.168.0.1
wireless=yes
ptz=P,T
inputs=0
outputs=0
speaker=yes
videoout=no
pir=no
icr=yes
ir=yes
mic=yes
led=no
td=no
playing_music=no
whitelightled=no
mydlinkreg=yes
dauth=yes

I  have tried to reset it plenty of times, tried over WiFi and Ethernet, I gave it a new IP address, I tried POSTMAN request with BASIC and DIGEST always using ADMIN as user and the PIN code in the label of my camera.

Any ideas on what could be causing this error or if there's any solution?
I can only use my camera with the Android/iOS applications which make it an utterly useless 90 USD camera. I could have gotten a Xiaomi Xiaofang 1080P camera with exactly the same features and capabilities for 20 USD if I didn't mind sticking to an Android app.

Just to add on, I have NOT make any changes in my router configuration (or network topology). I have only added a new DCS-930L camera about a week earlier, I did remove it when I started having the issues described above. Other than that there has not been any other changes.
« Last Edit: April 16, 2019, 06:25:28 AM by gurbina93 »
Logged

GreenBay42

  • Administrator
  • Level 11 Member
  • *
  • Posts: 2752

I am shocked you got this to work. What firmware is currently on it?

This cameras is not supposed to support http/rtsp but the original release left a few holes in the firmware to allow some commands to work.
« Last Edit: April 17, 2019, 07:54:19 AM by GreenBay42 »
Logged

DCSCAM

  • Level 1 Member
  • *
  • Posts: 5

Same for me !! i don't understand why we need use MyDlink to use my cam !! the new firmware 1.03.06 updated this night, block any acces from my camera manager ! Mydlink it's an bad application very low, not optimized and absolutly not pratical, and i don't talk about alexa skill .... please someone have more information to unclock this situation ?

After searching i find this informations :

Source : https://tsd.dlink.com.tw/
Select DCS and 8525LH

V1.03.06
1. Update mydlink agent to v 3.2.3-b01
2. Support mydlink APP rich notification feature
3. Support mydlink APP fw manual upgrade feature. -> (Where ?)
4. Support Micro SD cards up to 256GB.
5. PIN code as default password and setup by FW not factory. -> (what's FW ? Firmware ?)
6. Support D-Link NIPCA DCS Authentication and Password
Encryption_v1.2.pdf
-> (More information about encryption please ??)
7. Support D-Link Anti-Brute-Force Attack Mechanism_v04
8. Support WEP encryption
9. Set the PIN code as password after binding.
10.Support rtsp live stream over UDP, with Digest authertication

V1.02.02
1. Update mydlink agent to v3.0.0-b75
2. Support mydlink Requirements for IoT Agent Version 1.0.6

V1.01.03
1. Update mydlink agent to v3.0.0-b64.1
2. Change Video spec , 1080P up to 1.5M bitrate

i can't downgrade, i can't do anything with this cam !! on site i have this message :

Quote

This device works with the mydlink app. On your mobile device, download and install the mydlink app from the App Store or Google Play.


Unbelievable ... but it's true ... we can't manage this cam because on dlink App we can't do nothing too ....
« Last Edit: April 17, 2019, 08:20:38 AM by DCSCAM »
Logged

GreenBay42

  • Administrator
  • Level 11 Member
  • *
  • Posts: 2752

The dcs-8xxxLH series cameras were designed to be app-only cameras and will not have all the same features as most other D-Link cameras.

The new firmware got pushed out today in the US and should be out globally by tomorrow.

- #2 and 3 - mydlink app rich notification and manual upgrade features will be added to version 1.8 of the mydlink app (not out yet).

- Not really sure how to translate #5. The PIN number (located on the bottom of the camera) is uses as the default password for RTSP/3rd party.

- #6 not sure what that means. I will find out more.

- #10 - new to this camera (but FINALLY added). Will do some testing this week.
Logged

DCSCAM

  • Level 1 Member
  • *
  • Posts: 5

Before 1.03.06 i could connect with my 3rd partie sofware at the DCS8525LH camera from this link http://admin:<PIN>@CAMERAIP/video/flv.cgi (Video 60fps and sound). This feature was always available like gurbina93, but with this new firmware update, we can't any more ... I think it's the new encryption system... if you can just explain how we can use the new NIPCA when you'll has more information

Thanks
« Last Edit: April 18, 2019, 07:14:41 AM by DCSCAM »
Logged

jisri

  • Level 1 Member
  • *
  • Posts: 1

Same issue here It just stopped after the latest updates.
There is away to get a stream though. I am still experimenting.
Try the following url https://admin:pin@192.168.x.x/av2/mpegts.cgi?mp4
that will start saving a video file (copy it while it is saving then change the name to mp4 and you will be able to see the video).
Not sure how to embed that cgi as a video or how to use it but will keep trying.

 
Logged

GreenBay42

  • Administrator
  • Level 11 Member
  • *
  • Posts: 2752

I couldn't get anything to work.

I am still waiting for a response from the camera group. I resent an email today.
Logged

DCSCAM

  • Level 1 Member
  • *
  • Posts: 5

Thank for your report ;)  best regards
Logged

GreenBay42

  • Administrator
  • Level 11 Member
  • *
  • Posts: 2752

In the release notes, the statement (#10) regarding RTSP, this is for back-end only and integration with Alexa/Google. It still will not work with 3rd party apps/software. We have asked them to rephrase the release notes to specify back-end only (or not include it since it is confusing to all of us).

So officially from D-Link, the DCS-8000LH, 8010LH, 8300LH, 8525LH, and 8600LH cameras do NOT support HTTP/RTSP video streams to 3rd party software such as iSpy and Blue Iris, support direct streaming via HTML, or support direct URL commands via web browser.
Logged

DCSCAM

  • Level 1 Member
  • *
  • Posts: 5

We could use url before this last update and could use this camera with 3rd party too !! I want downgrade the firmware ! A camera without this feature is totally useless ! And it s just a nonsens. Before this update i never been informed about the limitation of this native option. If i was i would never have accepted this update ! How to restore my camera to 1.02.02 ? Thx
« Last Edit: May 10, 2019, 04:23:01 PM by DCSCAM »
Logged

DCSCAM

  • Level 1 Member
  • *
  • Posts: 5
Logged