Page 1 of 1

passwords etc on vlc1.0.2

Posted: 27 Oct 2009 00:20
by just-do-it
a while ago now I was having trouble playing http://do-it.no-ip.org/MEDIA/arts/theat ... onplay.m3uin vlc which was resolved by obtaining the, now current, vlc 1.0.2 as seen in this postviewtopic.php?f=14&t=62797.
Unfortunatley, for various reasons, I have now put a password on [url]http://do.-it.no-ip.org/MEDIA/arts/theater/radio/radio4/AfternoonPlay/afternoonplay.m3u[/url].

Windows Media player will open the url once the user and password are provided but vlc1.0.2 will not.
Any idea what I could be doing wrong - I get a username/password dialog box into which I enter

Code: Select all

special
and

Code: Select all

ceragem
and then the dialog clears and another is presented to me - whats up?
Chris

Re: passwords etc on vlc1.0.2

Posted: 27 Oct 2009 15:33
by VLC_help
Open Tools -> Messages... (set Verbosity to 2) before trying to open the file. Messages should explain what went wrong.

Re: passwords etc on vlc1.0.2

Posted: 28 Oct 2009 08:42
by just-do-it
the output (verbosity 2) tells me (verbosly! :) ) that vlc could not gain access to the directory - 'dose can using the info I outline above - here is the message output-

Code: Select all

main debug: processing request item http://just-do-it.no-ip.org/MEDIA/arts/Music/Folk/incantation/incantation.m3u node Playlist skip 0 main debug: resyncing on http://just-do-it.no-ip.org/MEDIA/arts/Music/Folk/incantation/incantation.m3u main debug: http://just-do-it.no-ip.org/MEDIA/arts/Music/Folk/incantation/incantation.m3u is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'http://just-do-it.no-ip.org/MEDIA/arts/Music/Folk/incantation/incantation.m3u' main debug: thread (input) created at priority 1 (input/input.c:230) qt4 debug: IM: Setting an input main debug: thread started main debug: using timeshift granularity of 50 MBytes main debug: using timeshift path 'C:\DOCUME~1\RENAME~1\LOCALS~1\Temp' main debug: `http://just-do-it.no-ip.org/MEDIA/arts/Music/Folk/incantation/incantation.m3u' gives access `http' demux `' path `just-do-it.no-ip.org/MEDIA/arts/Music/Folk/incantation/incantation.m3u' main debug: creating demux: access='http' demux='' path='just-do-it.no-ip.org/MEDIA/arts/Music/Folk/incantation/incantation.m3u' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "http" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating access 'http' path='just-do-it.no-ip.org/MEDIA/arts/Music/Folk/incantation/incantation.m3u' main debug: looking for access module: 2 candidates access_http debug: http: server='just-do-it.no-ip.org' port=80 file='/MEDIA/arts/Music/Folk/incantation/incantation.m3u main debug: net: connecting to just-do-it.no-ip.org port 80 qt4 debug: Updating the geometry qt4 debug: size: 106 - 349 qt4 debug: sizeHint: 106 - 349 qt4 debug: Updating the geometry qt4 debug: size: 106 - 349 qt4 debug: sizeHint: 106 - 349 main debug: connection: Resource temporarily unavailable main debug: connection succeeded (socket = 688) access_http debug: protocol 'HTTP' answer code 401 access_http debug: Server: Microsoft-IIS/5.0 access_http debug: Authentication header: Negotiate access_http warning: Unknown authentication scheme: 'Negotiate' access_http debug: Authentication header: NTLM access_http warning: Unknown authentication scheme: 'NTLM' access_http debug: Authentication header: Basic realm="just-do-it.no-ip.org" access_http debug: Using Basic Authentication access_http debug: Connection: close access_http debug: this frame size=4033 access_http debug: Authentication header: Digest qop="auth", realm="just-do-it.no-ip.org", nonce="a2c914c6d1e37fcb225454200000c295025758f53771bf4ff0415152efa7" access_http debug: Using Digest Access Authentication access_http debug: Content-Type: text/html access_http debug: authentication failed for realm just-do-it.no-ip.org access_http debug: retrying with user=special main debug: net: connecting to just-do-it.no-ip.org port 80 main debug: connection: Resource temporarily unavailable main debug: connection succeeded (socket = 688) access_http debug: protocol 'HTTP' answer code 401 access_http debug: Server: Microsoft-IIS/5.0 access_http debug: Authentication header: Negotiate access_http warning: Unknown authentication scheme: 'Negotiate' access_http debug: Authentication header: NTLM access_http warning: Unknown authentication scheme: 'NTLM' access_http debug: Authentication header: Basic realm="just-do-it.no-ip.org" access_http debug: Using Basic Authentication access_http debug: Connection: close access_http debug: this frame size=4280 access_http debug: Authentication header: Digest qop="auth", realm="just-do-it.no-ip.org", nonce="6e6011f8938bc64d225454200000c07a1134cc7e0c2050e59a557fe5c7e0" access_http debug: Using Digest Access Authentication access_http debug: Content-Type: text/html access_http debug: authentication failed for realm just-do-it.no-ip.org main debug: net: connecting to just-do-it.no-ip.org port 80 main debug: connection: Resource temporarily unavailable main debug: connection succeeded (socket = 688) access_mms error: error: HTTP/1.1 401 Access Denied main warning: no access module matching "http" could be loaded main debug: TIMER module_need() : 81688.004 ms - Total 81688.004 ms / 1 intvls (Avg 81688.000 ms) main debug: waitpipe: object killed main error: open of `http://just-do-it.no-ip.org/MEDIA/arts/Music/Folk/incantation/incantation.m3u' failed: (null) main debug: thread ended main debug: dead input main debug: thread times: real 1m21.483608s, kernel 0m0.015625s, user 0m0.015625s main debug: changing item without a request (current 0/1) main debug: nothing to play qt4 debug: IM: Deleting the input qt4 debug: Updating the geometry qt4 debug: size: 106 - 349 qt4 debug: sizeHint: 106 - 349 qt4 debug: Updating the geometry qt4 debug: size: 106 - 349 qt4 debug: sizeHint: 106 - 349 main debug: Destroying the input for 'http://just-do-it.no-ip.org/MEDIA/arts/Music/Folk/incantation/incantation.m3u' main debug: TIMER input launching for 'http://just-do-it.no-ip.org/MEDIA/arts/Music/Folk/incantation/incantation.m3u' : 83513.004 ms - Total 83513.004 ms / 1 intvls (Avg 83513.000 ms)

Re: passwords etc on vlc1.0.2

Posted: 28 Oct 2009 12:02
by VLC_help
access_http debug: authentication failed for realm just-do-it.no-ip.org
So there is either bug in VLC or in the server setup you use.

Re: passwords etc on vlc1.0.2

Posted: 28 Oct 2009 14:52
by just-do-it
whatever the 'bug' is 'windows media player' manages to handle it...
just for fun I experimented with my server (IIS5 runing under w2k advanced server) and instead of a 'virtual directory' which

Code: Select all

http://just-do-it.no-ip.org/MEDIA/arts/theater/radio/radio4/classic_serial/outline.mp3
resides in I tried just a simple directory

Code: Select all

http://just-do-it.no-ip.org/test/penguine_cafe_1.m3u
the user/password I kept as special / ceragem as before and got the same result vis vlc(0.86d and 1.0.2) fails to authenticate the folder but 'dose media player sucseeds without problem.
then I tried real media to the protected directory above and it too failed :(

If any one wants to enlighten me about what, if anything, I am doing wrong then please do.
If any one wants me to set up anything on my server too that is fine - I would like to get vlc authenticating in protected directories.
I appologise in advance for being 'dosey - Why do I hear shouts of "get yourself a real web server (apache)!"? - oh welll

Re: passwords etc on vlc1.0.2

Posted: 29 Oct 2009 13:12
by VLC_help
If you know how to use Wireshark, you could compare what WMP and VLC do differently.

Re: passwords etc on vlc1.0.2

Posted: 29 Oct 2009 15:41
by just-do-it
thanks for that - I was going to use 'ethereal' but i will try 'wireshark'
thanks again.

chris

Re: passwords etc on vlc1.0.2

Posted: 30 Oct 2009 03:20
by just-do-it
ps
and after all the fun here is the result
http://do-it.no-ip.org/vlc/vlc_question ... tion02.htm

Re: passwords etc on vlc1.0.2

Posted: 30 Oct 2009 21:13
by VLC_help
Is it OK if I add your playlist to trac ticket?

Re: passwords etc on vlc1.0.2

Posted: 30 Oct 2009 21:22
by just-do-it
yes

Re: passwords etc on vlc1.0.2

Posted: 31 Oct 2009 18:01
by VLC_help
Ticket opened
trac.videolan.org/vlc/ticket/3134