D-Link Forums

The Graveyard - Products No Longer Supported => IP Cameras => DCS-2132L => Topic started by: umberto55 on February 07, 2015, 10:07:48 AM

Title: camera dcs-2121 and Java and motion detection
Post by: umberto55 on February 07, 2015, 10:07:48 AM
With recent updates of Java, it's impossible to open the camera image in "motion detection" So it is impossible to record or send shots. Anyone knows how to fix it? Thanks a lot
Title: Re: camera dcs-2121 and Java and motion detection
Post by: rcesarfs on February 25, 2015, 01:03:52 PM
Unfortunately the same is happening to me and I have 3 cameras. Could a good advise be given for anyone? Sheers!
Title: Re: camera dcs-2121 and Java and motion detection
Post by: FurryNutz on February 25, 2015, 01:22:50 PM
What Java version are you using?
What FW version is currently loaded on the DCS cameras?
What region are you located?

Did you clear the Java security prompts and also did you include the camera IP addresses into Javas security exceptions list?
Title: Re: camera dcs-2121 and Java and motion detection
Post by: JavaLawyer on February 25, 2015, 04:07:52 PM
What camera model do you have? The subject says "DCS-2121" and this is the DCS-2132L board.
Title: Re: camera dcs-2121 and Java and motion detection
Post by: koaschten on May 13, 2015, 12:39:04 PM
I am seeing the same issues as Umberto.

Using Java 8u45
(http://i.imgur.com/yIkO2Q4.png)

and IE11 on win7pro
(http://i.imgur.com/GUbYDfb.png)

setup the cam to be excepted from the security settings in java
(http://i.imgur.com/d8x7LII.png)

and no java window for configuring motion detection
(http://i.imgur.com/gUDTsUT.png)

same for privacy masking
(http://i.imgur.com/kKam95k.png)

Sadly the java console output is too long to post when trying to watch the live video. It easily exceeds the 2000 char limit before it starts repeating the same error message.

Code: [Select]
SendHTTPBySocket: java.security.AccessControlException: access denied ("java.net.SocketPermission" "192.168.1.117:8080" "connect,resolve")
SendHTTPBySocket: java.security.AccessControlException: access denied ("java.net.SocketPermission" "192.168.1.117:8080" "connect,resolve")

From my limited java knowledge, I'd say thats still some certificate issue or security crap. I know we run 7u72 at work because of similar issues, I might try downgrading to that and test again. But first I need to find my way around java.com ...
Title: Re: camera dcs-2121 and Java and motion detection
Post by: FurryNutz on May 18, 2015, 07:29:45 AM
Please review:
Links>mydlink and Browser FAQ (http://forums.dlink.com/index.php?board=261.0)
DCS Cloud (L) Series Camera Configuration and Mydlink.com (http://forums.dlink.com/index.php?topic=62395.0)
mydlink.com and Java Application FAQ (http://forums.dlink.com/index.php?topic=53725.0)

I am seeing the same issues as Umberto.

Using Java 8u45
(http://i.imgur.com/yIkO2Q4.png)

and IE11 on win7pro
(http://i.imgur.com/GUbYDfb.png)

setup the cam to be excepted from the security settings in java
(http://i.imgur.com/d8x7LII.png)

and no java window for configuring motion detection
(http://i.imgur.com/gUDTsUT.png)

same for privacy masking
(http://i.imgur.com/kKam95k.png)

Sadly the java console output is too long to post when trying to watch the live video. It easily exceeds the 2000 char limit before it starts repeating the same error message.

Code: [Select]
SendHTTPBySocket: java.security.AccessControlException: access denied ("java.net.SocketPermission" "192.168.1.117:8080" "connect,resolve")
SendHTTPBySocket: java.security.AccessControlException: access denied ("java.net.SocketPermission" "192.168.1.117:8080" "connect,resolve")

From my limited java knowledge, I'd say thats still some certificate issue or security ****. I know we run 7u72 at work because of similar issues, I might try downgrading to that and test again. But first I need to find my way around java.com ...
Title: Re: camera dcs-2121 and Java and motion detection
Post by: vantage on July 10, 2016, 12:43:40 PM
I too had this problem. Chrome and Opera browsers no longer support Java applets, so nothing you can do there I'm afraid. Firefox almost works but you cannot view the camera image and draw a motion detection area. The only way I did manage to get this working was to use Internet Explorer and add the website to the Compatibility View Settings. I tried this on Windows 10 and it worked just fine.
I'm not sure how long Microsoft will continue with this feature in Internet Explorer, so it might be worth looking into running IE7 or IE8 in a virtual machine by way of future-proofing (see https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ for free VMs from Microsoft with IE installed).
Title: Re: camera dcs-2121 and Java and motion detection
Post by: koaschten on July 10, 2016, 02:13:24 PM

The only way I did manage to get this working was to use Internet Explorer and add the website to the Compatibility View Settings. I tried this on Windows 10 and it worked just fine.
I'm not sure how long Microsoft will continue with this feature in Internet Explorer, so it might be worth looking into running IE7 or IE8 in a virtual machine by way of future-proofing (see https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ for free VMs from Microsoft with IE installed).

This is awesome, yes it works, I can draw Motion Detection areas with the Desktop App of IE10 using the compatibility view.
Title: Re: camera dcs-2121 and Java and motion detection
Post by: FurryNutz on July 10, 2016, 02:26:55 PM
I believe IE11 works as well in Windows 10...