Bug 565860 - Native HTTP proxy is not loaded properly from gnome
Summary: Native HTTP proxy is not loaded properly from gnome
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 4.16   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform Team Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-06 07:02 EDT by Martin Coufal CLA
Modified: 2020-08-07 08:08 EDT (History)
1 user (show)

See Also:


Attachments
HTTP native proxy settings remains unchanged. (38.93 KB, image/png)
2020-08-06 07:02 EDT, Martin Coufal CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Coufal CLA 2020-08-06 07:02:20 EDT
Created attachment 283806 [details]
HTTP native proxy settings remains unchanged.

Using -Dorg.eclipse.core.net.enableGnome, I am able to set my proxy using gsettings and see it changed in Eclipse settings. However, HTTP host and port setings stays the same as variable 'http_proxy' set in the environment. in contrast to HTTPS and SOCKS. But I am not actually sure if this is the problem of Eclipse, Gnome or my poor proxy configuration knowledge.

How to reproduce:
1. open terminal, set up proxy for HTTP, HTTPS and SOCKS using gsettings, e.g.
gsettings set org.gnome.system.proxy mode manual
gsettings set org.gnome.system.proxy.http enabled true
gsettings set org.gnome.system.proxy use-same-proxy false
gsettings set org.gnome.system.proxy.http host 1.1.1.1
gsettings set org.gnome.system.proxy.http port 1111
gsettings set org.gnome.system.proxy.https host 2.2.2.2
gsettings set org.gnome.system.proxy.https port 2222
gsettings set org.gnome.system.proxy.socks host 3.3.3.3
gsettings set org.gnome.system.proxy.socks port 3333
2. run eclipse with -vmargs -Dorg.eclipse.core.net.enableGnome
3. open Window -> Preferences -> General -> Network Connections

Note that native HTTPS and SOCKS are correct, but native HTTP corresponds to variable 'http_proxy' in the terminal. When using org.gnome.system.proxy use-same-proxy=true, HTTPS and SOCKS are set to org.gnome.system.proxy.http (i.e. 1.1.1.1:1111), but HTTP remains unchanged.

My environment:
Eclipse Platform 2020-06 (4.16), I20200604-0540
rhel-7, x86_64 / gtk 3.22.30
Gnome 3.28.2
Comment 1 Rolf Theunissen CLA 2020-08-06 12:56:55 EDT
These settings are handled in org.eclipse.core.internal.net.proxy.unix.UnixProxyProvider

Moving to 'Team' component.