After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 321008 - MusicBrainz backend should use gnome http proxy
MusicBrainz backend should use gnome http proxy
Status: RESOLVED FIXED
Product: sound-juicer
Classification: Applications
Component: metadata
git master
Other All
: Normal normal
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-08 21:04 UTC by Welton Rodrigo Torres Nascimento
Modified: 2006-01-07 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Authenticated proxy written in perl. (1011 bytes, text/plain)
2005-11-08 21:19 UTC, Welton Rodrigo Torres Nascimento
  Details
Untested patch (1.60 KB, patch)
2005-11-08 21:29 UTC, Ross Burton
needs-work Details | Review

Description Welton Rodrigo Torres Nascimento 2005-11-08 21:04:43 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.
Comment 1 Welton Rodrigo Torres Nascimento 2005-11-08 21:19:11 UTC
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
Comment 2 Ross Burton 2005-11-08 21:27:05 UTC
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.
Comment 3 Ross Burton 2005-11-08 21:29:07 UTC
Created attachment 54500 [details] [review]
Untested patch
Comment 4 Ross Burton 2006-01-07 14:25:28 UTC
Fixed in CVS.  SJ checks at compile time for mb_SetProxyCreds, which isn't in any releases yet but hopefully will be soon.