where is proxy configured?

Asked by sabik

Where does indicator-weather get its proxy configuration, please?

The log says:
[MainThread] 2013-11-03 00:28:39,603 - DEBUG - ProxyMonitor: using simple proxy: legend:3128

I'm no longer behind that proxy, so I'd like to remove it... but I can't see where it's been set! It's not taking it from the System Settings, which now say "none", or from the environment...

indicator-weather 13.7.1

Question information

Language:
English Edit question
Status:
Solved
For:
Weather Indicator Edit question
Assignee:
No assignee Edit question
Solved by:
sabik
Solved:
Last query:
Last reply:
Revision history for this message
sabik (sabik) said :
#1

gconftool-2 tells me:

~$ gconftool-2 -a /system/http_proxy
 use_http_proxy = false
 authentication_password =
 host = legend
 port = 3128
 use_authentication = false
 ignore_hosts = [localhost,127.0.0.0/8]
 use_same_proxy = false
 authentication_user =

Revision history for this message
sabik (sabik) said :
#2

Ah, found a work-around: in dconf-editor, set /system/proxy/http/host to an empty string. This fails a sanity check somewhere and causes a fall-back to a direct connection:

[MainThread] 2013-11-03 12:25:10,314 - ERROR - ProxyMonitor: empty proxy host!
[MainThread] 2013-11-03 12:25:10,314 - DEBUG - ProxyMonitor: using direct connection

It'd still be good to find out where it's configured, but I guess it's working now, so no problem.

Revision history for this message
Joshua Tasker (jtasker) said :
#3

You can see & edit your current proxy settings one of three ways.

For those who prefer GUIs, you can use dconf-editor or gnome-control-center. The schema you are looking for in dconf-editor is 'org.gnome.system.proxy'

For those who prefer the command line, you can use gsettings. For example, to list them use this command:
  gsettings list-recursively org.gnome.system.proxy