Summary: | Native HTTP proxy is not loaded properly from gnome | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Martin Coufal <mcoufal> | ||||
Component: | Team | Assignee: | Platform Team Inbox <platform-team-inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | vkadlcik | ||||
Version: | 4.16 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=565891 | ||||||
Whiteboard: | |||||||
Attachments: |
|
These settings are handled in org.eclipse.core.internal.net.proxy.unix.UnixProxyProvider Moving to 'Team' component. |
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