Browser cannot use system proxy settings

Bug #1452291 reported by Marcus Esser
98
This bug affects 21 people
Affects Status Importance Assigned to Milestone
Canonical System Image
High
David Barth
Oxide
Low
Unassigned
ubuntu-system-settings (Ubuntu)
Undecided
Unassigned
webbrowser-app (Ubuntu)
Undecided
Unassigned
webbrowser-app (Ubuntu RTM)
Undecided
Unassigned

Bug Description

While I can create successfully system proxy settings using

gsettings set org.gnome.system.proxy use-same-proxy false
gsettings set org.gnome.system.proxy mode "'manual'"
gsettings set org.gnome.system.proxy ignore-hosts "['localhost',
'127.0.0.0/8', '192.168.0.0/16', '::1']"
gsettings set org.gnome.system.proxy.ftp host "'192.168.112.1'"
gsettings set org.gnome.system.proxy.ftp port 800
gsettings set org.gnome.system.proxy.socks host "'192.168.112.1'"
gsettings set org.gnome.system.proxy.socks port 800
gsettings set org.gnome.system.proxy.http host "'192.168.112.1'"
gsettings set org.gnome.system.proxy.http port 800
gsettings set org.gnome.system.proxy.http use-authentication false
gsettings set org.gnome.system.proxy.http enabled true
gsettings set org.gnome.system.proxy.https host "'192.168.112.1'"
gsettings set org.gnome.system.proxy.https port 800

those settings are currently not being used by the browser app.
Accordingly I would like to request the addition of a feature to use the system proxy settings in the browser app.

I have tested this on an by Aquaris E4.5 with Ubuntu 14.10 (r21).

Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: New → Confirmed
Changed in oxide:
importance: Undecided → Low
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Is there any reason for an app to *not* use the system proxy settings? If not, this isn't a bug in the browser, it's a bug in network-manager. Expecting the developer of every Internet-using app to know and care about proxies, and test that they work, is not a credible approach.
<https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/545134/comments/5>

Revision history for this message
Gary.Wang (gary-wzl77) wrote :

Agree with mpt, we should be consider the system-wide proxy settings in network-manager instead of standalone proxy feature for each application.But for now, still can't find a way to configure the proxy in settings.

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

That System Settings currently has no UI for proxy settings is a separate problem from Network Manager not making it transparent when you set it with gsettings.

Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu):
status: New → Confirmed
Changed in webbrowser-app (Ubuntu RTM):
status: New → Confirmed
no longer affects: webbrowser-app
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Added a task for ubuntu-system-settings since there would need to be a panel implemented to change this on the phone.

FWIW, seems like the browser works if /etc/environment is modified, which is something that implementing a panel in system-settings might fix if it works similarly to the GNOME proxy settings (setting gsettings keys and PROXY environment variables in /etc/environment).

Revision history for this message
Ajinkya Dahale (ajinkyadahale) wrote :

Adding to #4, the entire system needs to be restarted for changes to take effect.

Changed in oxide:
status: New → Confirmed
Changed in ubuntu-system-settings (Ubuntu):
status: New → Confirmed
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Given the number of folks this affects priority should be higher?

Changed in canonical-devices-system-image:
assignee: nobody → David Barth (dbarth)
importance: Undecided → High
milestone: none → backlog
status: New → Confirmed
Revision history for this message
Marek Greško (mgresko8) wrote :

I would recommend not to have system-wide proxy settings, but proxy setting for every connection. Since there could be different proxy servers in different locations. Each WiFi AP should have his own proxy settings saved. This also implies gui setup for proxy.

Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

Problem still exists in the UBPorts image.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related blueprints