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 552140 - [soup] use libsoup-gnome for proxy configuration if available
[soup] use libsoup-gnome for proxy configuration if available
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal normal
: 0.10.14
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-13 16:57 UTC by William
Modified: 2009-02-02 17:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fairly simple patch (2.88 KB, patch)
2009-01-25 12:57 UTC, Jonathan Matthew
committed Details | Review
trivial fix (571 bytes, patch)
2009-02-02 13:43 UTC, Jonathan Matthew
committed Details | Review

Description William 2008-09-13 16:57:31 UTC
Please describe the problem:
On my network, all traffic must go through the proxy. I can see the last.fm radio suggestions, but when I actually play a track, it fails on every track and does not allow me to stop playback, forcing me to kill rhythmbox.

If I run rhythmbox from the command line with the http_proxy variable set, it works properly.

Steps to reproduce:
1. Block all outbound traffic on port 80 except through proxy.
2. Play a last.fm radio stream
3. 


Actual results:
Rhythmbox keeps scrolling through the tracks and marking them as unplayable, until I kill it.

Expected results:
Rhythmbox should pick up the proxy settings from gconf and play the music.

Does this happen every time?
Yes

Other information:
Ubuntu Intrepid Ibex, RB 0.11.6. AMD64.
Comment 1 Jonathan Matthew 2009-01-25 12:56:38 UTC
This can be fixed pretty easily by using libsoup-gnome in souphttpsrc.
Comment 2 Jonathan Matthew 2009-01-25 12:57:36 UTC
Created attachment 127199 [details] [review]
fairly simple patch
Comment 3 Sebastian Dröge (slomo) 2009-01-26 08:55:43 UTC
commit 5a0e94b8a75be2e59617af31326bd5defaab0ac5
Author: Jonathan Matthew <jonathan@d14n.org>
Date:   Mon Jan 26 09:51:36 2009 +0100

    Use libsoup-gnome for proxy configuration if available
    
    If libsoup-gnome is found use this as it will give us
    the GNOME proxy configuration. Otherwise use normal
    libsoup.
    
    The GNOME proxy configuration will only be used if
    the proxy properties are not set on souphttpsrc
    and if the http_proxy environment variable is not
    set.
    
    Fixes bug #552140.
Comment 4 Jonathan Matthew 2009-02-02 13:42:00 UTC
Sorry, I somehow attached the wrong version of the patch.  It should use SOUP_SESSION_ADD_FEATURE_BY_TYPE instead of SOUP_SESSION_ADD_FEATURE.
Comment 5 Jonathan Matthew 2009-02-02 13:43:16 UTC
Created attachment 127763 [details] [review]
trivial fix
Comment 6 Sebastian Dröge (slomo) 2009-02-02 17:40:04 UTC
commit 9218eae98bcb31bab78602c5c26813ac09623d9c
Author: Jonathan Matthew <notverysmart@gmail.com>
Date:   Mon Feb 2 18:37:35 2009 +0100

    Use correct flag for the GNOME proxy configuration
    
    Fixes bug #552140.