Cannot play from HTTPS location

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
seemantshankar
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Aug 2013 08:27

Cannot play from HTTPS location

Postby seemantshankar » 14 Aug 2013 19:26

I have run into this peculiar problem. I am using the Windows Installation of VLC (Latest build) and I am trying to playback a file from an HTTPS location. The IP address is https://122.160.220.83/bharti/bharti/PREVIEW/sasural.ts

Whenever I hit play it gives me an error stating that it cannot playback the file and asks me to check the log file (Which I cannot find!). I even tried to install the .crt file from the server manually into my windows certificate repository but to no effect. Can you please let me know what I am doing wrong? Thanks!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Cannot play from HTTPS location

Postby Jean-Baptiste Kempf » 15 Aug 2013 16:25

Try VLC 2.1.0
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

seemantshankar
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Aug 2013 08:27

Re: Cannot play from HTTPS location

Postby seemantshankar » 15 Aug 2013 21:23

Thank you Jean, for your reply. I downloaded the build from http://nightlies.videolan.org/build/win ... -win32.zip and it worked! One question though...why did VLC remove this feature from its latest 2.2 build? I mean shouldn't it be progressively better than the previous versions?

Now what I need to do is to stream this file from this https:// location to a set top box that can only understand http://. The file would be accessed as a VoD asset and not as a live stream. Let me try to explain this problem...

I have this weird setup. I have a NAS which has the media files stored in it. The NAS can only accept https:// connections which means that all files that are in the NAS are accessible only via an https:// address. The Set Top Box that I am streaming to can only create http:// connections and does not support https://

Here is a list of my problems...

1) The Set Top Box work on plain HTTP Streaming which essentially means that all I need to give to it is the file location and it plays it back without the need of any streaming server in the middle.

2) As mentioned above, the files are stored in the NAS which can only accept https:// so the box cannot connect to those files. Unfortunately I cannot do anything to change the https status of the NAS (Some security condition).

Two addressable solutions to this problem would be...

1) Introduce an intermediate system which sits between the NAS and the STB. This system works on plain http:// and is accessed by the box when request media to be played (Yes, I need video on demand). This system would pick up the file from the NAS location via an https:// connection and simply push it to the STB over http:// in real time. For this I may require a streaming server which can pick up and send the packets as they are in real time from the NAS to the box.

2) Introduce an intermediate caching system which, when requested, will search for the file's availability in its local storage. if present, it will allow access to the file over http:// In case the file is not present in its local cache, it will 'download' the file from the NAS using https:// and then stream it out to the user. I am not sure whether the file can be delivered to the box while it is being downloaded. If not, the user will have to wait for the file to be transferred completely between the NAS and the intermediate system before it can be served to the box. Doing so will introduce an ugly 10 minute delay for files that are large (Like 1080p movies) which the user will curse at!

I wanted to know, is there a possibility of using VLC to perform the task mentioned in Solution #1 or #2 above? If so, how can we get that done?

I do not need to mux the file and have to use progressive download in plain http:// What would be the command line statement to do this?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Cannot play from HTTPS location

Postby Jean-Baptiste Kempf » 15 Aug 2013 22:58

Thank you Jean, for your reply. I downloaded the build from http://nightlies.videolan.org/build/win ... -win32.zip and it worked! One question though...why did VLC remove this feature from its latest 2.2 build? I mean shouldn't it be progressively better than the previous versions?
It is not removed. It is just not working on Win64.

And for your issue, yes VLC can read https and restream http.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

seemantshankar
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Aug 2013 08:27

Re: Cannot play from HTTPS location

Postby seemantshankar » 20 Aug 2013 12:57

Dear Jean:

I wished to run https from VLC in my uBuntu 12 series server OS. I downloaded the latest build 2.0.8 but it is giving me the same problem that I was earlier getting from the windows version. You recommended installing 2.1.0 for Windows but I cannot find that version for uBuntu. Can you please assist me in find the right version for uBuntu that will help me get my https streams to work? Thanks!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Cannot play from HTTPS location

Postby Jean-Baptiste Kempf » 20 Aug 2013 13:48

Take a PPA.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

seemantshankar
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Aug 2013 08:27

Re: Cannot play from HTTPS location

Postby seemantshankar » 20 Aug 2013 22:39

Dear Jean:

According to your suggestion (And feeling like a retard for a while as I did not know what PPA meant), I installed the PPA for VLC on uBuntu by using the following commands in the terminal...

1) sudo add-apt-repository ppa:n-muench/vlc2
2) sudo apt-get update
3) sudo apt-get install vlc

I also made sure that I uninstalled VLC before I ran these commands. Everything installed fine after making my screen look like that from the Matrix ;)

I went back to my desktop (Yeah, I use a GUI) and ran VLC and did the following steps...

1) Open Network Stream
2) https://122.160.220.83/bharti/bharti/PREVIEW/sasural.ts

I was greeted by the error stating that VLC cannot open the MRL and insisting that I check the log files for details (Lord only knows where the log files is!)

In a nutshell: Taking a PPA did not work :( I am using VLC version 2.0.9 TwoFlower for uBuntu 12.04.2 Need your expert assistance to making my video work again.

seemantshankar
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Aug 2013 08:27

Re: Cannot play from HTTPS location

Postby seemantshankar » 20 Aug 2013 22:44

BTW: I got the instruction for installing the PPA from http://www.webupd8.org/2013/06/install- ... a-ppa.html

Looking at the June 2013 date, I felt assured that the article is latest.

Ludrax
Big Cone-huna
Big Cone-huna
Posts: 568
Joined: 07 Jul 2010 14:28

Dear John

Postby Ludrax » 21 Aug 2013 11:17

BTW: I got the instruction for installing the PPA from http://www.webupd8.org/2013/06/install- ... a-ppa.html

Looking at the June 2013 date, I felt assured that the article is latest.
Nate Muench mantains another PPA with the latest VLC media player backported from Debian, for Ubuntu 12.10 and 12.04.
that's the problem:
I DO NOT TAKE REQUESTS on what is put in my Repos.
I was greeted by the error stating that VLC cannot open the MRL and insisting that I check the log files for details (Lord only knows where the log files is!)
one more example that shows some balloon message is needed...
An' if ain't broke, then don't try to fix it...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Cannot play from HTTPS location

Postby Jean-Baptiste Kempf » 21 Aug 2013 12:04

Sorry, but if you cannot install VLC, wait for the release.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Ludrax
Big Cone-huna
Big Cone-huna
Posts: 568
Joined: 07 Jul 2010 14:28

Re: Cannot play from HTTPS location

Postby Ludrax » 21 Aug 2013 12:31

An' if ain't broke, then don't try to fix it...

seemantshankar
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Aug 2013 08:27

Re: Cannot play from HTTPS location

Postby seemantshankar » 21 Aug 2013 13:08

Gentlemen! I am totally confused now!!

What am I supposed to do? Which release is Jean talking about? And, what is Ludrax is trying to tell us??

I have tried to go to the nightly builds but I can only see version 2.2.0 there. Also, I took an error log and here is what I got..

- gnutls warning: cannot access x509 in /home/flo2go/.local/share/vlc/ssl/certs: No such file or directory
- gnutls warning: cannot access x509 in /home/flo2go/.local/share/vlc/ssl/private: No such file or directory
- gnutls error: TLS session: access denied
- gnutls error: Certificate could not be verified
- gnutls error: Certificate's signer was not found
- main error: TLS client session handshake error
- access_http error: cannot establish HTTP/TLS session
- main error: open of 'https://122.160.220.83/bharti/bharti/PREVIEW/sasural.ts' failed

Looking at the list of warnings above, I decided to manually create the directory structure /home/flo2go/.local/share/vlc/ssl/certs and manually copy-pasted the .crt files that I exported from Google Chrome to the directory. This time around I got the following logs...

- gnutls warning: cannot access x509 in /home/flo2go/.local/share/vlc/ssl/certs: No such file or directory
- gnutls warning: cannot access x509 in /home/flo2go/.local/share/vlc/ssl/private: No such file or directory
- gnutls error: TLS session: access denied
- gnutls error: Certificate could not be verified
- gnutls error: unknown certificate error (you found a bug in VLC)
- main error: TLS client session handshake error
- access_http error: cannot establish HTTP/TLS session
- main error: open of `https://122.160.220.83/bharti/bharti/PREVIEW/sasural.ts' failed

I tried everything in the book to get it to work. It worked fine in version 2.1.0 in windows but uBuntu is totally tripping me off! I understand there is a huge feature and release war going on inside VideoLAN but I am simply looking for a simple way to get this crappy certificate to work. Somehow I should get VLC to trust it. I dont understand why was it working so well in VLC 2.1.0 in Windows? Its was simple, it issued a warning and gave me an option to trust or not trust the certificate. As long as you understand the risks, why should VLC stop you?

BTW: I am using a 32bit ubuntu on a 32 bit machine!

Rémi Denis-Courmont
Developer
Developer
Posts: 15318
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Cannot play from HTTPS location

Postby Rémi Denis-Courmont » 21 Aug 2013 18:19

Use VLC 2.1 or later if you want to trust certificates manually. It is not supported in previous versions, period.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

seemantshankar
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Aug 2013 08:27

Re: Cannot play from HTTPS location

Postby seemantshankar » 22 Aug 2013 00:18

I got the certificates to work after following the nightly builds link posted above. The stream worked fine but it keeps asking me to accept the certificates even though I selected accept permanently. Does anybody know why this is happening and how to stop asking me to accept certificates every time? I am planning to use this system as a VoD server therfore manually clicking on accept permanently every time is not possible. VLC for Windows does not do this.

Rémi Denis-Courmont
Developer
Developer
Posts: 15318
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Cannot play from HTTPS location

Postby Rémi Denis-Courmont » 22 Aug 2013 18:35

You may need to update GnuTLS and recompile VLC with the newer version.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

seemantshankar
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Aug 2013 08:27

Re: Cannot play from HTTPS location

Postby seemantshankar » 22 Aug 2013 19:27

Thanks Remi for your response. A couple of questions...

1) How do you update GNUTls?
2) Do you really need to recompile VLC in uBuntu or can you simple update and install to the latest nightly build using PPA?

Can you please point me to the various links that I can go to so that I can learn how to perform the above tasks?

seemantshankar
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Aug 2013 08:27

Re: Cannot play from HTTPS location

Postby seemantshankar » 24 Aug 2013 14:18

Since I did not get a reply I tried running the command

Code: Select all

sudo apt-get install gnutls-bin
and it told me that the gnuTLS is already the latest version. So now I am confused about how to get the VLC to accept the certificates permanently. By the way I am getting the following warning / error in my log file...

gnutls error: cannot load trusted Certificate Authorities: An unimplemented or disabled feature has been requested.
gnutls error: Certificate verification failure (0x0042)
gnutls error: * Certificate not verified
gnutls error: * Signer not found
gnutls error: cannot store X.509 certificate: An unimplemented or disabled feature has been requested.
gnutls error: Certificate does not match "10.0.161.77"
gnutls error: cannot store X.509 certificate: An unimplemented or disabled feature has been requested.


Does anybody know why this is happening? Your help will be appreciated!

Ludrax
Big Cone-huna
Big Cone-huna
Posts: 568
Joined: 07 Jul 2010 14:28

Re: Cannot play from HTTPS location

Postby Ludrax » 25 Aug 2013 17:10

and it told me that the gnuTLS is already the latest version
Backports
I have a high end (8 CPU & 8 GB RAM) server installed with uBuntu. When I try to play a .MP4 video I can see that the progress bar in the bottom is moving but I cannot see or hear anything.
check CPU usage with different video output modules
I have manually installed and trusted the certificate within uBuntu
play it locally first?
An' if ain't broke, then don't try to fix it...

seemantshankar
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Aug 2013 08:27

Re: Cannot play from HTTPS location

Postby seemantshankar » 25 Aug 2013 21:19

Dear Ludrax:

Thank you for the support. I wished to understand how to test CPU performance using different video outputs. I tried playing a .ts file wish had a low bitrate and it was being displayed. Are there any decoding drivers that are missing? Had that been the case VLC should have given me a missing driver message right?

Really need your help in solving this problem. Thanks!

PS: The link you attached on using different video outputs is not telling me much. It's there something I missed?

seemantshankar
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Aug 2013 08:27

Re: Cannot play from HTTPS location

Postby seemantshankar » 28 Aug 2013 16:01

I am looking for a nox version for VLC 2.1 an above for uBuntu Server 12.04. Where can I download that from? Also I am planning to use my server as a video on demand streaming machine running strictly over command line. What are the packages that I will need for solve this purpose?

Also, can I use VLC for a production grade product where I may have about 1000 concurrent streams or more? What I wish to know is that can VLC be used as a reliable streaming server for a production grade video on demand product like Netflix?

Thanks!

Rémi Denis-Courmont
Developer
Developer
Posts: 15318
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Cannot play from HTTPS location

Postby Rémi Denis-Courmont » 28 Aug 2013 17:45

This is the Windows forum. This is really out of topic.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

seemantshankar
Blank Cone
Blank Cone
Posts: 22
Joined: 13 Aug 2013 08:27

Re: Cannot play from HTTPS location

Postby seemantshankar » 28 Aug 2013 23:03

Oh I am sorry! I have reposted this question in the Linux category. Will you be able to provide me with a solution there?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 102 guests