[MPlayer-users] redirect issues with proxy

stwin at gmx.de stwin at gmx.de
Tue Jul 3 22:15:00 CEST 2012


On Sun, 1 Jul 2012 20:04:18 +0200 Reimar Döffinger wrote:
> This is strange, since the above URL it tries to play still contains the
> proxy authentication data.
> Could you add -v to make MPlayer also print the headers it sends?
> I suspect it works if you use the URL it prints here directly?
> Also, would you happen to be able to test if the same issue appears when
> running on Linux?

I built 1.1 under Ubuntu today and tried, same behavior. The only difference in the output I see is some IPv6 messages from Win (and the build flags). Below is the output for both Win and Ubuntu with -v option (names and addresses were changed to protect the guilty).

With the URL I'm trying to play, there seem to be 2 redirects going on, first one from www.archive.org to archive.org, then from archive.org to ia<some-number>.us.archive.org. If I play either www.archive.org or archive.org it times out, only if I play ia###.archive.org directly it works.


----- BEGIN mplayer -v win32 log -----
MPlayer Redxii-SVN-r34835-4.6.2 (C) 2000-2012 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 5
CPU: AMD Phenom(tm) 8750B Triple-Core Processor (Family: 16, Model: 2, Stepping: 3)
extended cpuid-level: 26
extended cache-info: 33587520
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
Setting PATH to C:\BCIHomeSystemFiles\BCIAddons\smplayer-portable\mplayer\codecs
get_path('codecs.conf') -> 'C:/BCIHomeSystemFiles/BCIAddons/smplayer-portable/mplayer/mplayer/codecs.conf'
Reading optional codecs config file C:/BCIHomeSystemFiles/BCIAddons/smplayer-portable/mplayer/mplayer/codecs.conf: 192 audio & 399 video codecs
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 'C:/BCIHomeSystemFiles/BCIAddons/smplayer-portable/mplayer/mplayer/fonts'
Configuration: --extra-cflags=-I/E/Buildsys/MinGW/msys/home/Joshua/mplayer/live -DFRIBIDI_ENTRY= --prefix=e:/buildsys/release/mplayer-r34835 --enable-static --enable-runtime-cpudetection --codecsdir=codecs --enable-mng --disable-mp3lib --disable-libmpeg2-internal --disable-tv --disable-vidix --disable-faac-lavc
CommandLine: '-v' 'http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3'
Using Windows native timing
get_path('input.conf') -> 'C:/BCIHomeSystemFiles/BCIAddons/smplayer-portable/mplayer/mplayer/input.conf'
Parsing input config file C:/BCIHomeSystemFiles/BCIAddons/smplayer-portable/mplayer/mplayer/input.conf
Input config file C:/BCIHomeSystemFiles/BCIAddons/smplayer-portable/mplayer/mplayer/input.conf parsed: 92 binds
get_path('chansonautomne_verlaine_04ezwa_64kb.mp3.conf') -> 'C:/BCIHomeSystemFiles/BCIAddons/smplayer-portable/mplayer/mplayer/chansonautomne_verlaine_04ezwa_64kb.mp3.conf'

Playing http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3.
get_path('sub/') -> 'C:/BCIHomeSystemFiles/BCIAddons/smplayer-portable/mplayer/mplayer/sub/'
WINSOCK2 init: 0
Filename for url is now http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Filename for url is now http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Using HTTP proxy: http://server.proxy.org:3128
STREAM_HTTP(1), URL: http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Filename for url is now http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
IPv6 not supported for winsock2
Resolving server.proxy.org for AF_INET...
Connecting to server server.proxy.org[127.0.0.1]: 3128...

--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [302]
reason phrase:      [Moved Temporarily]
body size:          [161]
Fields:
 0 - Server: nginx/0.8.54
 1 - Date: Tue, 03 Jul 2012 15:34:53 GMT
 2 - Content-Type: text/html
 3 - Content-Length: 161
 4 - Location: http://archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
 5 - Expires: Tue, 03 Jul 2012 21:34:53 GMT
 6 - Cache-Control: max-age=21600
 7 - X-Cache: MISS from server.proxy.org
 8 - X-Cache-Lookup: MISS from server.proxy.org:3128
 9 - Via: 1.0 server.proxy.org:3128 (squid/2.6.STABLE21)
 10 - Proxy-Connection: close
--- HTTP DEBUG HEADER --- END ---
Filename for url is now http://archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
IPv6 not supported for winsock2
Resolving archive.org for AF_INET...
Connecting to server archive.org[207.241.224.2]: 80...

connection timeout
WINSOCK2 init: 0
Filename for url is now http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Filename for url is now http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Using HTTP proxy: http://server.proxy.org:3128
STREAM_ASF, URL: http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Trying ASF/HTTP...
IPv6 not supported for winsock2
Resolving server.proxy.org for AF_INET...
Connecting to server server.proxy.org[127.0.0.1]: 3128...

Filename for url is now http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Server returned 407:Proxy Authentication Required
Failed to parse header.
  ===> ASF/HTTP failed
Failed, exiting.
WINSOCK2 init: 0
Filename for url is now http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Filename for url is now http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Using HTTP proxy: http://server.proxy.org:3128
STREAM_HTTP(2), URL: http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Filename for url is now http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
IPv6 not supported for winsock2
Resolving server.proxy.org for AF_INET...
Connecting to server server.proxy.org[127.0.0.1]: 3128...

--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [302]
reason phrase:      [Moved Temporarily]
body size:          [161]
Fields:
 0 - Server: nginx/0.8.54
 1 - Date: Tue, 03 Jul 2012 15:34:53 GMT
 2 - Content-Type: text/html
 3 - Content-Length: 161
 4 - Location: http://archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
 5 - Expires: Tue, 03 Jul 2012 21:34:53 GMT
 6 - Cache-Control: max-age=21600
 7 - Age: 32
 8 - X-Cache: HIT from server.proxy.org
 9 - X-Cache-Lookup: HIT from server.proxy.org:3128
 10 - Via: 1.0 server.proxy.org:3128 (squid/2.6.STABLE21)
 11 - Proxy-Connection: close
--- HTTP DEBUG HEADER --- END ---
Filename for url is now http://archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
IPv6 not supported for winsock2
Resolving archive.org for AF_INET...
Connecting to server archive.org[207.241.224.2]: 80...

No bind found for key '0       '.
connection timeout
No stream found to handle url http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3


Exiting... (End of file)
----- END mplayer -v win32 log -----



----- BEGIN mplayer -v linux log -----
MPlayer 1.1-4.5.2 (C) 2000-2012 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 5
CPU: AMD Phenom(tm) II X4 B95 Processor (Family: 16, Model: 4, Stepping: 2)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 CMOV
get_path('codecs.conf') -> '/home/stefan/.mplayer/codecs.conf'
Reading optional codecs config file /home/stefan/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /usr/local/etc/mplayer/codecs.conf: No such file or directory
Using built-in default codecs.conf.
get_path('font/font.desc') -> '/home/stefan/.mplayer/font/font.desc'
font: can't open file: /home/stefan/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Configuration: --yasm=
CommandLine: '-v' 'http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3'
Using nanosleep() timing
get_path('input.conf') -> '/home/stefan/.mplayer/input.conf'
Reading optional input config file /home/stefan/.mplayer/input.conf: No such file or directory
Reading optional input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('chansonautomne_verlaine_04ezwa_64kb.mp3.conf') -> '/home/stefan/.mplayer/chansonautomne_verlaine_04ezwa_64kb.mp3.conf'

Playing http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3.
get_path('sub/') -> '/home/stefan/.mplayer/sub/'
Filename for url is now http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Filename for url is now http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Using HTTP proxy: http://server.proxy.org:3128
STREAM_HTTP(1), URL: http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Filename for url is now http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Resolving server.proxy.org for AF_INET6...

Couldn't resolve name for AF_INET6: server.proxy.org
Resolving server.proxy.org for AF_INET...
Connecting to server server.proxy.org[127.0.0.1]: 3128...

--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [302]
reason phrase:      [Moved Temporarily]
body size:          [161]
Fields:
 0 - Server: nginx/0.8.54
 1 - Date: Tue, 03 Jul 2012 19:18:07 GMT
 2 - Content-Type: text/html
 3 - Content-Length: 161
 4 - Location: http://archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
 5 - Expires: Wed, 04 Jul 2012 01:18:07 GMT
 6 - Cache-Control: max-age=21600
 7 - Age: 1002
 8 - X-Cache: HIT from server.proxy.org
 9 - X-Cache-Lookup: HIT from server.proxy.org:3128
 10 - Via: 1.0 server.proxy.org:3128 (squid/2.6.STABLE21)
 11 - Proxy-Connection: close
--- HTTP DEBUG HEADER --- END ---
Filename for url is now http://archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Resolving archive.org for AF_INET6...

Couldn't resolve name for AF_INET6: archive.org
Resolving archive.org for AF_INET...
Connecting to server archive.org[207.241.224.2]: 80...

connection timeout
Filename for url is now http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Filename for url is now http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Using HTTP proxy: http://server.proxy.org:3128
STREAM_ASF, URL: http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Trying ASF/HTTP...
Resolving server.proxy.org for AF_INET6...

Couldn't resolve name for AF_INET6: server.proxy.org
Resolving server.proxy.org for AF_INET...
Connecting to server server.proxy.org[127.0.0.1]: 3128...

Filename for url is now http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Server returned 407:Proxy Authentication Required
Failed to parse header.
  ===> ASF/HTTP failed
Failed, exiting.
Filename for url is now http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Filename for url is now http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Using HTTP proxy: http://server.proxy.org:3128
STREAM_HTTP(2), URL: http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Filename for url is now http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Resolving server.proxy.org for AF_INET6...

Couldn't resolve name for AF_INET6: server.proxy.org
Resolving server.proxy.org for AF_INET...
Connecting to server server.proxy.org[127.0.0.1]: 3128...

--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [302]
reason phrase:      [Moved Temporarily]
body size:          [161]
Fields:
 0 - Server: nginx/0.8.54
 1 - Date: Tue, 03 Jul 2012 19:18:07 GMT
 2 - Content-Type: text/html
 3 - Content-Length: 161
 4 - Location: http://archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
 5 - Expires: Wed, 04 Jul 2012 01:18:07 GMT
 6 - Cache-Control: max-age=21600
 7 - Age: 1034
 8 - X-Cache: HIT from server.proxy.org
 9 - X-Cache-Lookup: HIT from server.proxy.org:3128
 10 - Via: 1.0 server.proxy.org:3128 (squid/2.6.STABLE21)
 11 - Proxy-Connection: close
--- HTTP DEBUG HEADER --- END ---
Filename for url is now http://archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3
Resolving archive.org for AF_INET6...

Couldn't resolve name for AF_INET6: archive.org
Resolving archive.org for AF_INET...
Connecting to server archive.org[207.241.224.2]: 80...

connection timeout
No stream found to handle url http_proxy://user:pass@server.proxy.org:3128/http://www.archive.org/download/poeme_du_mois_1012.poem_librivox/chansonautomne_verlaine_04ezwa_64kb.mp3


Exiting... (End of file)
----- END mplayer -v linux log -----


More information about the MPlayer-users mailing list