The attached patch for get_network_proxies() function in fogger_lib/helpers.py fix the problem that we experience while we have the Proxy Settings set to 'none' but we have the http and https url and port set-up, but not active
Before return http and https host/port values we have to check the value of org.gnome.system.proxy mode
In fact mode can be
- 'none' ==> proxies must be empty
- 'manual' ==> proxies contains host/port values, like current implementation
- 'auto' ==> we should read the autoconfig-url value. IMPORTANT: now the function returns an empty proxies array, this should be fixed (I have no test network to try this)
The attached patch for get_network_ proxies( ) function in fogger_ lib/helpers. py fix the problem that we experience while we have the Proxy Settings set to 'none' but we have the http and https url and port set-up, but not active
Before return http and https host/port values we have to check the value of org.gnome. system. proxy mode
In fact mode can be
- 'none' ==> proxies must be empty
- 'manual' ==> proxies contains host/port values, like current implementation
- 'auto' ==> we should read the autoconfig-url value. IMPORTANT: now the function returns an empty proxies array, this should be fixed (I have no test network to try this)
From terminal do this command
giovanni@ trumpet- fish:/opt/ extras. ubuntu. com/fogger/ fogger_ lib$ gsettings list-recursively org.gnome. system. proxy system. proxy autoconfig-url '' system. proxy ignore-hosts ['localhost', '127.0.0.0/8'] system. proxy mode 'none' system. proxy use-same-proxy false system. proxy.ftp host 'ocs-sa-ubu01' system. proxy.ftp port 5865 system. proxy.http authentication- password '' system. proxy.http authentication-user '' system. proxy.http enabled false system. proxy.http host 'ubu01' system. proxy.http port 5865 system. proxy.http use-authentication false system. proxy.https host 'ubu01' system. proxy.https port 5865 system. proxy.socks host 'ubu01' system. proxy.socks port 5865 trumpet- fish:/opt/ extras. ubuntu. com/fogger/ fogger_ lib$
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
giovanni@