Bug 204563 - [Proxy] proxy internet connection with automatic configuration script
Summary: [Proxy] proxy internet connection with automatic configuration script
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows 2000
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Pawel Pogorzelski CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
: 78272 210562 216638 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-25 11:35 EDT by Robert Peake CLA
Modified: 2009-03-02 08:56 EST (History)
13 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Peake CLA 2007-09-25 11:35:38 EDT
My network uses an automatic configuration script to assign a proxy server and port.  Manually entering the assigned ip address and port and enabling network authentication (by entering user name and password) does not result in a connection being established.  Thus, I cannot access product updates or use the built-in bug reporting tool.

Is there any way to configure Eclipse to use an automatic configuration script (as can be done in FireFox or Internet Explorer)?  If not, please consider this a product enhancement suggestion.  Many thanks.
Comment 1 Krzysztof Michalski CLA 2007-10-01 08:08:34 EDT
I think it's a good idea. We could add next checkbox section named: "Automatic proxy configuaration URL" containing a field for URL and a button to reload script (similar to the one from Firefox). 
Contributions are welcome.
Comment 2 Pascal Rapicault CLA 2007-10-01 21:16:22 EDT
*** Bug 78272 has been marked as a duplicate of this bug. ***
Comment 3 Pascal Rapicault CLA 2007-10-01 21:25:59 EDT
Here are some information about .pac files:
http://www.icesoft.com/developer_guides/icebrowser/htmlguide/protocol12.html#344135
http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html

I really wonder if this requires a full blown javascript interpreter.
Comment 4 Pascal Rapicault CLA 2007-11-21 13:49:33 EST
*** Bug 210562 has been marked as a duplicate of this bug. ***
Comment 5 Szymon Brandys CLA 2008-01-29 09:06:46 EST
*** Bug 216638 has been marked as a duplicate of this bug. ***
Comment 6 Dominik Wagenknecht CLA 2008-02-26 05:46:37 EST
Additionally there should be a new "Use System default" proxy setting set as DEFAULT. Under Windows this information is provided in Internet Configuration under OS X in network configuration...

This is one of the major shortcomings in daily corporate life with desktop java. Most .net applications (even small ones like say tudumo) automatically work while I have to configure every rcp app manually... (and adjust according to the current location ;-) )
Comment 7 Szymon Brandys CLA 2008-02-26 05:57:12 EST
(In reply to comment #6)
> Additionally there should be a new "Use System default" proxy setting set as
> DEFAULT. Under Windows this information is provided in Internet Configuration
> under OS X in network configuration...

There is already a bug for this. See bug 180921.
Comment 8 Pawel Pogorzelski CLA 2008-11-20 07:45:40 EST
Eclipse 3.4 introduced native proxy providers as Szymon mentioned in the comment 7. The provider implemented on the top of Microsoft Windows HTTP Services can handle PAC files.

IMO that is OS responsibility to provide proxy settings infrastructure to applications. Right now Eclipse can consume this and handle dynamic proxy settings if they are specified on the OS level.

So according to the changes introduced in bug 180921 this one is no longer valid for me. Robert, what do you think about it? Did you use dynamic proxy settings in Windows and 'use system settings' in Eclipse?
Comment 9 Dominik Wagenknecht CLA 2008-11-20 09:01:01 EST
For me since Eclipse 3.4 everything works fine, even in our strange company network (with PAC files). Thank you!

Now I'm waiting for several plugins to adopt eclipse preferences (e.g. I still have to configure maven instances manually -- personally I think this hole thing should be pushed to Java SE) :-)
Comment 10 Pawel Pogorzelski CLA 2008-11-20 09:26:52 EST
Dominik, thanks for the reply. Actually proxy settings are available through ProxySelector class in Java SE 5.0. For now we have to stick with Java 1.4 though.
Comment 11 Pawel Pogorzelski CLA 2008-11-24 04:36:01 EST
Closing the bug as INVALID as explained in comment 8.