This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268453 - Use System Proxy Settings does not seem to use no_proxy environment variable
Summary: Use System Proxy Settings does not seem to use no_proxy environment variable
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-10 15:20 UTC by kawas44
Modified: 2016-10-10 15:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kawas44 2016-10-10 15:20:31 UTC
In Java IDE, download source of a dependency does not work depending of your Proxy Settings method.

I have these environment variables defined for curl/wget
NO_PROXY=localhost,127.0.0.1,.myproxy.corp
no_proxy=localhost,127.0.0.1,.myproxy.corp

Fail case: Use System Proxy Settings
- Source download failed with proxy authentication required on a "no proxy" host.

Success case: Manual Proxy Settings
Set your "No Proxy Hosts" manually
- Source download works ok

Hypothesis:
It seems that "Use System Proxy Settings" does not take account of a no_proxy/NO_PROXY environment variable.


== Various infos ==

Description of Wget no_proxy
https://www.gnu.org/software/wget/manual/html_node/Proxies.html

Description of Curl NO_PROXY
https://curl.haxx.se/docs/manpage.html


Product Version: NetBeans IDE 8.2 (Build 201609300101)
Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14
System: Linux version 4.4.0-38-generic running on amd64; UTF-8; fr_FR (nb)