Bug 118288 - "Fill-In Tags Using MusicBrainz" doesn't work with a http proxy
Summary: "Fill-In Tags Using MusicBrainz" doesn't work with a http proxy
Status: RESOLVED INTENTIONAL
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.4.6
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 00:29 UTC by Moritz Caspar
Modified: 2008-08-05 23:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Caspar 2005-12-14 00:29:44 UTC
Version:            (using KDE KDE 3.4.3)
Installed from:    Compiled From Sources
Compiler:          gcc-4.0.2 
OS:                Linux

Hej!
I installed/compiled amarok by using amarok-svn.sh on Ubuntu Breezy. Sound-engine:xine
To get musicbrainz working I got furthermore an mp3 enable libtunepimp.

At my place I can only access the internet on port 80 by using a proxy. The proxy is set in the Gnome Network-Proxy settings and also echoed from $http_proxy in a terminal.
In Amarok everything that tries to connect to webpages like e.g. lyrics or wikipedia-info works fine, but when I try to search for tags with musicbrainz it creates the audio-fingerprint and then nothing happens. 
(After a minute or two amarok always reports that the song isn't found in musicbrainz data.)

By using netstat I can see that amarok tries to connect directly to rdns.152.240.218.21:www which can not be succesful in my network.

So I suppose the proxy support is missing a that point.

Would be great if you could fix this.
Comment 1 Alexandre Oliveira 2006-02-16 22:29:02 UTC
amaroK is a KDE application, so we use the proxy that's set for KDE. Configure the proxy using kcontrol.
Comment 2 Patrick ALLAERT 2006-06-23 11:18:49 UTC
Please, REOPEN this bug, my proxy is well configured in kcontrol and every application that needs it works correctly except "Fill-In Tags Using MusicBrainz"!

Lyrics and Artist tabs are OK, Last.fm is also OK

This is the result of "netstat -Wt" when I surf the web with konqueror while listening music with amaroK with last.fm profile and clicking Lyrics and Artist tabs:

Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 avalon:49070            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49077            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49076            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49079            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49078            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49081            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49080            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49083            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49085            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49084            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:33808            172.24.3.1:3128         ESTABLISHED

And now, the same output just after clicking the MusicBrainz button:

Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      1 avalon:59563            bender.musicbrainz.org:http SYN_SENT
tcp        0      0 avalon:49070            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49077            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49076            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49079            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49078            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49081            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49080            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49083            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49085            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:49084            172.24.3.1:3128         ESTABLISHED
tcp        0      0 avalon:33808            172.24.3.1:3128         ESTABLISHED

This shows that MusicBrainz is NOT using my proxy settings that are:
host: 172.24.3.1
port: 3128

Version of amaroK:
amaroK 1.3.8 (Using KDE 3.5.3)

My system (Gentoo) information:

Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"
LDFLAGS="-Wl,-O1"
LINGUAS="en fr eo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X Xaw3d aac acpi alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cli crypt cups curl directfb dri dvd emboss encode esd ffmpeg foomaticdb fortran ftp gd gdbm gif gimpprint gpm gstreamer gtk2 hal idn ieee1394 imagemagick imlib innodb isdnlog java javascript jpeg kde kdeenablefinal lcms ldap libg++ libwww mad matroska mikmod mmx mng motif mozdevelop mozilla mp3 mpeg mplayer msn musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl oss pam pcmcia pcre pdflib perl php pic png ppds pppd python qt qt4 quicktime readline reflection samba sdl session simplexml soap spell spl sqlite sse sse2 ssl svg tcpd tetex tidy tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vhosts vim-with-x vorbis win32codecs wmf xcomposite xine xinerama xml xml2 xmms xorg xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_fr linguas_eo userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Ian M 2007-07-27 18:18:06 UTC
I can confirm this behaviour running amarok 1.4.6 using KDE 3.5.6 on Ubuntu Feisty (installed from ubuntu-backports). libtunepimp5 (0.5.2-1ubu) and libtunepimp5-mp3 (same version) are both installed. My proxy is correctly configured in kcontrol and just like Patrick, every part of amarok except for fill in tags using musicbrainz works through the proxy.
Comment 4 Harald Sitter 2007-07-28 01:49:02 UTC
reopen due to request -> libmusicbrainz needs to be informed about the proxy settings, which probably isn't done right now
Comment 5 Lydia Pintscher 2008-08-05 23:43:42 UTC
I am sorry but this will not get fixed in Amarok 1.4 as we are focused on Amarok 2 now. There is no support for MusicBrainz in Amarok 2 yet.

Thank you for your report.