GNOME Bugzilla – Bug 321008
MusicBrainz backend should use gnome http proxy
Last modified: 2006-01-07 14:25:28 UTC
Please describe the problem: When a proxy with authentication is configured in Gnome, sound juicer cannot connect to musicbrainz, because it doesn`t support proxy authentication. Steps to reproduce: 1. configure a proxy in gnome-network-preferences with username and password. 2. open sound-juicer with MUSICBRAINZ_DEBUG=1 exported. Actual results: sound-juicer cannot connect to musicbrainz database. Expected results: It should use the username/password present in GCONF. Does this happen every time? always Other information: version 2.1.0 of libmusicbrainz support authenticated proxy. http://musicbrainz.org/docs/mb_client/2.1.0/mb__c_8h.html#a10 I think you should consider using it.
Created attachment 54498 [details] Authenticated proxy written in perl. Use this script for confirm the bug if you don`t have a proxy at hand :) You`ll need some non core modules. Only works if you have direct acess to internet or transparent proxy. usage: perl proxy-auth.pl port 25000 logmask 511
Annoyingly that change isn't actually in the released version of musicbrainz, despite being committed 20 months ago. I've most of the required code for this already so when I've a libmusicbrainz which has it, SJ will use it.
Created attachment 54500 [details] [review] Untested patch
Fixed in CVS. SJ checks at compile time for mb_SetProxyCreds, which isn't in any releases yet but hopefully will be soon.