GNOME Bugzilla – Bug 655728
Read proxy settings from GSettings since Gnome 3
Last modified: 2011-09-10 15:05:34 UTC
Since updating to Gnome 3 I have not been able to connect to an IMAP server through an HTTP proxy. All other programs I've tried (Firefox, Thunderbird, Epiphany, Empathy) follow the system proxy settings from network-manager and connect without a problem. Setting Evolution to follow the system proxy settings or to use manual proxy settings does not work If I run from a terminal, I occasionally get this warning/error: (evolution:5485): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory. This indicates a bug in someone's code. You must ensure an error is NULL before it's set. The overwriting error message was: The proxy host does not support SOCKS4 netstat shows: [brandon@brandon ~]$ netstat -pt | grep evolution tcp 0 0 WS098367.cm.xxxxx.e:41433 proxy.xxxxx.edu:http-alt ESTABLISHED 5690/evolution I'm unsure of the veracity of that error because the person sitting next to me is using Evolution on an older Ubuntu install (10.04?) and can connect fine via our proxy. I had also previously used it from this computer. After updating to Gnome 3, I decided to try Evolution again and I could never connect. I've since done a fresh install of Arch which is completely up-to-date and I continue to have the same problems.
Thanks for a bug report. The IMAP provider doesn't use HTTP proxy (as it is named in Evolution's Edit->Preferences->Network Preferences, it is using SOCKS proxy, the one the error claims about. It always was this way, maybe the only difference is that the proxy settings place changed in Gnome3, but evolution didn't adapt to this change. It used to be stored in GConf, in /system/proxy and /system/http_proxy keys, but in Gnome3 it's moved to GSettings, also under /system/proxy/..., but evolution doesn't search for it there. As a workaround, if you populate GConf keys for SOCKS proxy with values from the system preferences, then evolution may start working again.
Created attachment 195792 [details] [review] eds patch for evolution-data-server; Let EProxy know about GSettings values.
Created attachment 195793 [details] [review] evo patch for evolution; Let CamelSession know about SOCKS GSettings values.
Created commit 079197d in eds master (3.1.92+) Created commit 90d9555 in evo master (3.1.92+)
Yes, that fixed it. I just had to clear the SOCKS proxy settings in gconf-editor. Thanks!