Issues with Netcam Studio

Hi Henrik,
There is a new problem. I shut down the computer while Netcam Studio was running. Now Netcam Studio server does not re-start.
See picture

Here is another picture with more errors -

I do not have the knowledge to tell what exactly is wrong, but an “unexpected” shot down of a real time system is always risky. However, in your situation and if ncs refuse to start again I would remove and install ncs again. The settings are not lost in this process. That is my simple solution for the moment to get it running again.

I suspect a problem in the file Moonware.Security.xml in the program files/netcam studio folder.

It’s the file that contains the user accounts / password and seems corrupted in your case

The only way to fix the above mentioned problem was to delete the Netcam Studio after uninstalling it, then re-installing Netcam Studio.
SSL does not work. I generated p12 certificate using OpenSSL (CA and p12) installed the certificates and followed the instructions from your website, but I cannot see the video stream on a webpage when I specify https as the source (my website does have SSL certificate as well just to be sure).
Any way to fix this issue? Does the extension of the personal information exchange needs to be pfx or extension ‘p12’ is just as good?

The Guide use pfx. Also, only in Netcam Studio X, Can not connect with mobile client on iPhone to Netcam Studio X web server with SSL
I will set up SSL myself as a test to learn how this works.

No it has fo be pfx (contains private key as well).

Part of the .bat in the tutorial thread the last part is converting to .pfx just be careful that the password is contained in the command so if you use the example as is it will work only with the default password (which is test if i remember) otherwise the .bat must be adjusted accordingly

p12 contains the private key the only difference is the extension of the file (you export it to xxx.pfx or you export it to xxx.p12)
I used the instructions that you can see in the following URL:

What do you meany by ‘only in Netcam Studio X’? Do you mean only in the 32 bit?

Netcam Studio X has its own .config file (covered in the tutorial) and Netcam Studio Service also has its own so it must be defined in both or at least in the one you’re using.

It will work in both 32 and 64-bit versions.

Netcam Studio over https does not work. I tested this on two different computers with two different networks and with different cameras.
The first test was with the ONVIF cameras and the openSSL generated keys. I could not connect to my camera from my website when I ran Netcam Studio server over https (it did work when I ran Netcam Studio server over http).

The second test was from a different computer/network using a USB camera. This time I used the 32bit version of Netcam Studio and I used your batch files to create the certificates. I did not change any value in those batch files so that I can be sure about the test.
I followed your instructions for using SSL (copied keys, changed values in the config files) still I could not connect over https.
Again, it does work when I run Netcam Studio server over http,
Can you please confirm that Netcam Studio server can stream the video over https to a webpage.

Hi, I have issue with web, I have multiple users and and 16 sources.
If I give permissions user view source 10-16 and view library, when this user try to view source 10, he get videos from source 0, source 11 videos from source 1.
How can I fix this? I’m now testing soft, going for 120+ cameras and 20 users, I realy need that only users supported to access can view videos.

Edit
Update version from dropbox link, now when try to open linbrary web asks for login, but non of my acconts can log in.

Hi! Thanks for this important info.
Yes, you are correct. When you are in the Library mode and have selected to view All Sources you get 10 and 0 and 11 and 1. When you select a specific source like source 11 it only shows the recordings for source 11. So it seems to be a problem when the option All Sources is selected in Library.
I will send this to the developers.

Regarding Edit:
Do not use the dropbox link. It is only for developing. Download from regular link on the web page!
Netcam Studio can start to ask for login if it has timed out and then you must start to reload the page and login again.

I just sent you a PM, but you do not have to answer.

Hi There,
Any updates on streaming over https?

Hi! No more update for the moment. I started to set up for https, but … Developer will respond.

Hi Menashay1!
Here are my results.
1.I followed the instructions in the guide with Microsoft SDK. Self signed certificates. I used a computer with Windows 7.
2.Running NCS X 64-bit. Connecting with:

  • windows client: no
  • web client (IE, Safari, Firefox, Chrome): yes
  • mobile web client (m.netc.am): yes. First connect using web client. Logout. Click on mobile client under the blue login to get m.netc.am and configure server for https.
  • connecting using Android App 3.4.7: no

3.Running NCS as a Service. Connecting using:

  • windows client: no
  • web client (IE, Safari, Firefox, Chrome): no
  • mobile web client (m.netc.am): no
  • connecting using Android App 3.4.7: no

According to the guide connecting with windows client have “partial support” for https. It did not work for me.

Android App and iOS app might not accept self signed certificate.

-Henrik

Hi Henrik,
Thank you for this update. I am not clear on the web client.
Using Netcam Studion X 64 bit, when you embed the HTML tags into a webpage can you see the live stream on your webpage?

Web client: https://ip-number-ncs-server:8100
That will start the SSL process and ask you (in IE) if you want to connect to this unsecure site since it is a self signed certificate. Other browsers will connect direct.

When I use the HTML generator the result will be a http://… Just change to https://… and you can embed this into a web page. The https must include the Token otherwise it will not work. https://serveripnumber:8100/Mjpeg/0?authToken=81f878c6-0e48-4ca0-8b31-edf581b2bfff
If I put this into a web browser I can see the live stream.

-henrik

Hi Henrik,
Did you use that same script to generate the SSL certificate and did you change values in that script?

Regards,

I used same scripts (2 .cmd files) and same values. I only changed the path to the exe-files.
-henrik