Bug 73739 - eclipse cannot handle proxy authentication requests during install/update
Summary: eclipse cannot handle proxy authentication requests during install/update
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Update-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 02:08 EDT by Raghuram CLA
Modified: 2007-07-24 05:50 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raghuram CLA 2004-09-13 02:08:44 EDT
Hi,

I am trying to install an update using Help->Software updates->Find and 
install.  But, when I type in the url of the site where the plugin is available 
(e.g., http://www.javaspider.org) I get an error message that says 'connection 
refused'.  I am connected to the internet via a proxy server.  I have made the 
necessary settings in Install/update setting under Windows->properties.  But, I 
think eclipse is not able to handle authentication requests from the server 
(un/pwd) and hence the error message.

-Raghu
Comment 1 Dorian Birsan CLA 2004-09-13 09:38:57 EDT
Maybe these are obvious, but just asking:
- did you enter the correct values for host and port? It is very easy to make 
a typo
- are you using NTLM? in that case you need to use at least JDK 1.4.2_03 and 
make sure the user is entered as domain\userid
Comment 2 Raghuram CLA 2004-09-14 00:10:11 EDT
- Yes, I am sure I entered the url and port number correctly (there are other 
applications that I use that require similar settings and they are working fine)

- I dont know what NTLM is and yes, I am using jdk 1.4.2_03.
Comment 3 Dorian Birsan CLA 2004-09-14 00:19:06 EDT
NTLM is Microsoft's proxy
Comment 4 Raghuram CLA 2004-09-14 02:08:14 EDT
Ok - but like you said, I am using jdk-1.4.2_05 (higher than 1.4.2_03) so 
shouldn't it take care of authentication properly?
Comment 5 Dorian Birsan CLA 2004-09-14 10:48:42 EDT
Just for completeness: 
- you are not running a proxy script (check your IE's network connections and 
see what the proxy settings are)
- you enter the correct host/port
- you're not behind a NTLM proxy

Everybody seems to be ok with regular proxies, the only scenario that is not 
supported is when a .pac script is run for setting up the proxy.
Comment 6 Raghuram CLA 2004-09-15 01:06:17 EDT
No, I am not using any script (pac).  IE settings are made with just the proxy 
url and port number.  Of course, the proxy server prompts me for a un/pwd when 
I first try to connect to any site.  I think eclipse is not able to handle this 
request from the proxy.  (I think it would have worked had the proxy not 
requested authentication and connected to the site directly)
Comment 7 Klaus Dicks CLA 2005-04-12 11:32:14 EDT
same problem with 3.1M6 on Linux GTK. I think it worked on 3.1M4.
Comment 8 Missing name CLA 2007-02-10 08:17:31 EST
open for years without reply (close?)
Comment 9 Dejan Glozic CLA 2007-07-04 15:36:35 EDT
Yes. Install/Update has moved to Eclipse Platform support for proxies. Many problems in this area should be fixed in 3.3 due to this move.
Comment 10 Evgeniy Karyakin CLA 2007-07-24 02:44:12 EDT
Running Eclipse 3.3 (build I20070625-1500), I'm still not able to use Update feature while sitting behind authenticating proxy (it's squid/2.6.STABLE4).
In preferences "Manual proxy configuration" is checked, proxy server name and port are set, "Enable proxy authentication" is checked and correct name/password are entered. Still, while trying to "Search for updates of the currently installed features", a window with name/password request continuously pop up, and filling that fields gains nothing. After ~20 popups I get an error window with "Unable to access site: http://xxxxxxxxx, server returned HTTP response code: 407 Proxy Authentication Required" line.
Bad proxy may be?
Comment 11 Evgeniy Karyakin CLA 2007-07-24 05:50:57 EDT
Hm, https://bugs.eclipse.org/bugs/show_bug.cgi?id=54961#c0 says that for non-NTLM proxies username must be prepended with AUTH-DOMAIN\ prefix, like DMN\username. This way Install/Update works good.