Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208071 - audacious-1.4* http proxy issues
Summary: audacious-1.4* http proxy issues
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL: http://bugzilla.atheme.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-29 17:42 UTC by Grant Goodyear (RETIRED)
Modified: 2008-04-20 16:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Goodyear (RETIRED) gentoo-dev 2008-01-29 17:42:56 UTC
Bug filed upstream (http://bugzilla.atheme.org/show_bug.cgi?id=149).  
Listed here so Gentoo users can find it.
The 1.4* series uses neon for transport instead of curl.  A
workaround is to downgrade to the 1.3* series.

I seem to be having http proxy issues, with audacious not sending
authentication info. 

feynman ~ > audacious -v
Audacious 1.4.5 [4012:d4ea353e4dfb]
feynman ~ > audacious
ERROR: neon: neon.c:881 (neon_aud_vfs_fread_impl): Buffer underrun, trying
rebuffering
ERROR: neon: neon.c:986 (neon_aud_vfs_fread_impl): Buffer still underrun,
fatal.
ERROR: neon: neon.c:986 (neon_aud_vfs_fread_impl): Buffer still underrun,
fatal.
MADPlug-Message: aud_vfs_fread failed @3 http://129.7.48.199:80/KUHF-HD1-128K
ERROR: neon: neon.c:986 (neon_aud_vfs_fread_impl): Buffer still underrun,
fatal.

Wireshark stream:

GET http://129.7.48.199/KUHF-HD1-128K HTTP/1.1

Host: 129.7.48.199

User-Agent: Audacious/1.4.0 neon/0.26.4

Connection: TE, close

TE: trailers

Range: bytes=0-

Icy-MetaData: 1



HTTP/1.1 407 Proxy Authentication Required

Date: Tue, 29 Jan 2008 16:23:06 GMT

Content-Length: 257

Content-Type: text/html

Server: NetCache appliance (NetApp/6.0.5)

Connection: close

Proxy-Authenticate: NTLM

Proxy-Authenticate: Basic realm="houprxy830"



<HTML>
<HEAD><TITLE>407 Proxy Authentication Required</TITLE></HEAD>
<BODY>
<H1>Proxy Authentication Required</H1>
<H4>
Unable to complete request:<P>
Access denied due to authentication failure.


</H4>
<HR>
</BODY>
</HTML>

I do have audacious configured to send proxy
authentication, but I'm not seeing it being sent in the tcp stream.

For whatever it's worth, http proxy worked fine prior to 1.4 (1.3.2,
to be precise).

Finally, the http proxy I'm behind is pretty stupid (I think).  The "NetCache
appliance" seems to expect an initial connection that will fail, and then a
subsequent connection that succeeds.

I just downgraded to 1.3.2, and here's the tcp stream.  An initial fail:

HEAD http://129.7.48.199:80/KUHF-HD2-128K HTTP/1.1

Proxy-Authorization: Basic ************************

Host: 129.7.48.199

Pragma: no-cache

Accept: */*

Proxy-Connection: Keep-Alive

Icy-MetaData: 1

User-Agent: Audacious/1.3.5 (curl transport)



HTTP/1.1 400 Bad Request

Date: Tue, 29 Jan 2008 17:33:08 GMT

Content-Type: text/html

Proxy-Connection: close

followed by success:


GET http://129.7.48.199:80/KUHF-HD2-128K HTTP/1.1

Proxy-Authorization: Basic ************************

Host: 129.7.48.199

Pragma: no-cache

Accept: */*

Proxy-Connection: Keep-Alive

Icy-MetaData: 1

User-Agent: Audacious/1.3.5 (curl transport)



HTTP/1.1 200 OK

Date: Tue, 29 Jan 2008 17:33:08 GMT

Content-Type: audio/mpeg

Proxy-Connection: close

icy-br:120

ice-audio-info: bitrate=120

icy-description:88.7 FM, KUHF-HD2

icy-genre:News/Classical

icy-name:88.7 FM, KUHF-HD2

icy-pub:1

Server: Icecast 2.3.1

icy-metaint:16000
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2008-02-15 13:42:29 UTC
Ralf Ertzinger has been working on this for you, could you drop this into your source tree:
http://hg.atheme.org/audacious-plugins/file/04a5792e0c0f/src/neon/neon.c

This is upstream neon.c from the 1.5 branch. If it does the trick, I'll ask to get it backported to 1.4
Could you comment here as well as on the upstream bug tracker please.
Comment 2 Grant Goodyear (RETIRED) gentoo-dev 2008-02-15 16:00:16 UTC
(In reply to comment #1)
> Ralf Ertzinger has been working on this for you, could you drop this into your
> source tree:
> http://hg.atheme.org/audacious-plugins/file/04a5792e0c0f/src/neon/neon.c
> 
> This is upstream neon.c from the 1.5 branch. If it does the trick, I'll ask to
> get it backported to 1.4
> Could you comment here as well as on the upstream bug tracker please.

Already tested.  See comment #11 of http://bugzilla.atheme.org/show_bug.cgi?id=149

Comment 3 Tony Vroon (RETIRED) gentoo-dev 2008-03-14 19:23:48 UTC
Grant, how's 1.5.0 for you please?
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2008-04-20 16:16:24 UTC
1.5.0 final should work, if not I need to know about it. Thanks.