Page 1 of 1

HTTP authentication not working?

Posted: 20 Apr 2015 06:07
by willmc
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!

Re: HTTP authentication not working?

Posted: 21 Apr 2015 09:56
by fkuehne
Does it work without SSL? Are you using a self-signed certificate?

Re: HTTP authentication not working?

Posted: 16 May 2015 00:22
by willmc
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.

Re: HTTP authentication not working?

Posted: 14 Sep 2015 22:43
by willmc
I've filed ticket 15461.

Re: HTTP authentication not working?

Posted: 15 Sep 2015 12:29
by fkuehne
Thanks so much for the ticket :)