HTTP authentication not working?

iOS, iPad, iPhone, tvOS specific usage questions
willmc
New Cone
New Cone
Posts: 3
Joined: 20 Apr 2015 05:47

HTTP authentication not working?

Postby willmc » 20 Apr 2015 06:07

Hello,

I have VLC serving up MPEG-TS via HTTP, and I then I have Nginx proxying that HTTP stream and adding SSL and HTTP authentication. So, I can point VLC on my Mac to the URL of the Nginx server and it will first prompt me to accept the self-signed certificate, then prompt for authentication, then show me the video stream as expected. However, if I point the current (2.5.1) version of VLC for iOS at the same URL, it will ask to accept the certificate but when I do, it states that "Your input can't be opened. VLC is unable to open the MRL '[redacted]'. Check the log for details."

Has anyone successfully used VLC for iOS with HTTP authentication? Since it works in VLC for OS X I suspect this is a bug but I wanted to check with the folks here before I filed one. Thanks for your help!

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: HTTP authentication not working?

Postby fkuehne » 21 Apr 2015 09:56

Does it work without SSL? Are you using a self-signed certificate?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

willmc
New Cone
New Cone
Posts: 3
Joined: 20 Apr 2015 05:47

Re: HTTP authentication not working?

Postby willmc » 16 May 2015 00:22

I apologize for the belated reply, I didn't have time to dig further into this issue until now. It appears that my issue is specific to using the self-signed certificate that I mentioned. Authentication over HTTP works, as does authentication over HTTPS with a CA-issued certificate, but if I use a self-signed certificate VLC for iOS gives the error I quoted after prompting to accept the certificate. VLC for OS X works fine with the same URL.

willmc
New Cone
New Cone
Posts: 3
Joined: 20 Apr 2015 05:47

Re: HTTP authentication not working?

Postby willmc » 14 Sep 2015 22:43

I've filed ticket 15461.

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: HTTP authentication not working?

Postby fkuehne » 15 Sep 2015 12:29

Thanks so much for the ticket :)
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 34 guests