| Summary: | [net] Proxy Authentication is not working | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Anirban Dutta Choudhury <anirban.duttachoudhury> | ||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||
| Status: | RESOLVED INVALID | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | contact, dstevens, ed, josechillan, overholt, pascal, pierre.gaufillet, remy.suen, slewis, Stefan.Liebig, Szymon.Brandys | ||||
| Version: | 3.4 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Can you give details on how you have configured Eclipse to use proxies on the General > Network Connections preference page? Are you using system proxy settings, or are you setting the proxy information inside Eclipse? (In reply to comment #1) > Can you give details on how you have configured Eclipse to use proxies on the > General > Network Connections preference page? Are you using system proxy > settings, or are you setting the proxy information inside Eclipse? > An additional question: can you use Eclipse 3.3's install/update with your proxy configuration? If so, would you describe the configuration (i.e. where/how your username and password are specified) that works for Eclipse 3.3? (In reply to comment #0) > Created an attachment (id=106300) [details] > screenshot of the proxy authentication window which is coming back. > > Build ID: I20080617-2000 > > Steps To Reproduce: > 1. Eclipse SDK Version: 3.4.0 downloaded in Ubuntu Gutsy > 2. Working under a proxy > 3. Trying to update thru' Help -> Software Updates > > > More information: > 1. The proxy username and password is coming back even after typing the user > name and password. And finally its not connecting. > 2. No other version of ecipse is installed in the system. > 3. no problem with proxy as the other application are getting connected to the > internet perfectly. > 4. Also tried the version latest in Synaptic but in vain. > (In reply to comment #1) > Can you give details on how you have configured Eclipse to use proxies on the > General > Network Connections preference page? Are you using system proxy > settings, or are you setting the proxy information inside Eclipse? > I have put the HTTP proxy name and port and then I ticked the "enable proxy authentication" button and the supplied the proxy username and password. I also tried to work with the System Proxy Configuration and when I do that, a login window pops up everytime I try to update. But the username and password are not accepted and the login window comes back again and again. (In reply to comment #2) > (In reply to comment #1) > > Can you give details on how you have configured Eclipse to use proxies on the > > General > Network Connections preference page? Are you using system proxy > > settings, or are you setting the proxy information inside Eclipse? > > > > An additional question: can you use Eclipse 3.3's install/update with your > proxy configuration? If so, would you describe the configuration (i.e. > where/how your username and password are specified) that works for Eclipse 3.3? > No version of eclipse I tried so far is able to get thru' this proxy authentication problem .. I tried the latest one (where I have to download and store in a local folder the eclipse directory in ubuntu).. and also I tried the Synaptic version (which is version 3.2.2) - where eclipse get installed in the system folders instead of home folder .. I supplied this information 'coz I had a thought that may be it's trying to connect internet so it needs the root/su login .. but in vain! Another info: while goin thri internet, I found other users reporting the same problem .. e.g. http://www.eclipsezone.com/eclipse/forums/t98845.html represents exactly the same problem with eclipse 3.3 though the solution provided did not come handy. Stefan, I recall that you had access to some setup where proxy authentication was required. Do you still have access to those? Would you be able to help diagnose what is going on here? (In reply to comment #4) First, thanks Anirban for the information about your proxy configuration. <stuff deleted> > > An additional question: can you use Eclipse 3.3's install/update with your > > proxy configuration? If so, would you describe the configuration (i.e. > > where/how your username and password are specified) that works for Eclipse 3.3? > > > > No version of eclipse I tried so far is able to get thru' this proxy > authentication problem .. Do you happen to know of *any* JRE-based application (i.e. one that uses the some version of the Java virtual machine) that is able to work (to retrieve some URL-based resource) with this proxy configuration? If so, could you report it here (along with info about the JRE vendor/version, and how the proxy, username/password info is provided to the application?) Again, thanks. (In reply to comment #6) I think you may have narrowed down the problem .. Yes I know JRE running under the proxy and being able to connec to internet .. firefox is working .. I have tested java in firefox .. But in the configuration, for the 1st website (check the list below) along with login and password I also have to specify the domain name .. Without which the test fails .. I used the following website to check the java compatibility : http://www.javatester.org/enabled.html http://conceptualeclipse.googlepages.com/pressuresimulation http://www.java.com/en/download/help/testvm.xml http://www.java.com/en/download/installed.jsp The version I'm using is SUN java 1.6.0_03 (though the latest version is the _06 update, could it be problem ? .. eclipse website doesn't say so ..) Let me know what do you think .. > > Do you happen to know of *any* JRE-based application (i.e. one that uses the > some version of the Java virtual machine) that is able to work (to retrieve > some URL-based resource) with this proxy configuration? If so, could you > report it here (along with info about the JRE vendor/version, and how the > proxy, username/password info is provided to the application?) > > Again, thanks. > I have access to a machine that is behind a proxy (squid3) that uses NTLM. The machine runs WinXP Pro and the jre used has the version 1.6.0_03. I tried to access the internet with both Eclipse (Software Update, CVS) and jEdit for consistency checks. For both Eclipse and jEdit I have never been asked to enter a userid and password for proxy authentication. I just entered the proxies name and port for manual proxy configuration. It even worked with ´use system proxy configuration´ enabled. In Eclipse it worked with and without enabling proxy authentication. It worked even with wrong userids and passwords entered in the preferences for both Eclipse and jEdit. I think that Sun´s jvm first attempts to use NTLM authentication by trying to get this information in an OS specific way and if that fails it requests that information from the user. Anything I can do? I see that other people cc'ed themselves to the bug recently (e.g. Pierre and Benjamin). Are you cc'ed because you are curious or because you are encountering the same problem? If you see the "same" problem a detailed description of your setup would be really helpful. Stefan, would you have access to a similar environment from a Linux box? The problem maybe linux specific. Also could you write a small test app (based on p2 code) that would try connecting on a file at the foundation (e.g. content.jar on ganymede) and would help us diagnose what is wrong. Anirban, could you provide us with more details about your proxy setup? Hi Pascal, using our Linux platforms (redhat EL4 and a sun jvm 1.5.0_15), we are not able to connect to any external repository through our firewall / proxies. We also have this problem with Eclipse 3.3 (seen on windows 2000, linux rhel4 and solaris 8 with a sun jvm 1.5.0_12). I will send technical details a little later. Pierre Thx Pierre. Also if you have the possibility to test from a windows box that would be great. Here is the error I got when trying to connect to Ganymede repository : no repository found at http://download.eclipse.org/releases/ganymede Error reading update site http://download.eclipse.org/releases/ganymede. Server redirected too many times (20). Of course, I configured with the usual information the http proxy preferences in the network page. I will give a try with a Windows box on monday. (In reply to comment #9) > I see that other people cc'ed themselves to the bug recently (e.g. Pierre and > Benjamin). Are you cc'ed because you are curious or because you are > encountering the same problem? If you see the "same" problem a detailed > description of your setup would be really helpful. > > Stefan, would you have access to a similar environment from a Linux box? The > problem maybe linux specific. Also could you write a small test app (based on > p2 code) that would try connecting on a file at the foundation (e.g. > content.jar on ganymede) and would help us diagnose what is wrong. > > Anirban, could you provide us with more details about your proxy setup? > It would have been easier if you had specified what exactly do you mean by "details" .. well, there is a user name, password and domain name. I don't need the domain name necessarily for connecting to the internet, but some applications need it(like I already mentioned). But all the Ubuntu applications are running. Probably one solution rather work-around could be if there is anyway to set the proxy globally for ubuntu and then use the normal connection .. By details, I mean anything that can help us figure out what the problem is :). But more specifically, do you know which proxy software is being used and also how it is configured, and where the information is obtained from. Also would you have access to a windows box where you can try to see if the same problem occurs. (In reply to comment 9) Pascal, I found a Linux machine with Ubuntu 7.04 and jre 1.6.0_02 and squid3 proxy with NTLM support. Passing the proxy worked when I entered the userid with the domain, e.g. domain\sli. With that provisioning/updating/downloading works. If the proxy userdid/password is not given within the preferences a dialog pops up requesting userid/password until you enter the correct userid/password or give up. That is ok. But if you enter a wrong userid/password within the preferences nothing happens when you try to provision. There is no error message/dialog and no entry within the error log. (In reply to comment #15) > (In reply to comment 9) > > Pascal, I found a Linux machine with Ubuntu 7.04 and jre 1.6.0_02 and squid3 > proxy with NTLM support. > Passing the proxy worked when I entered the userid with the domain, e.g. > domain\sli. With that provisioning/updating/downloading works. > If the proxy userdid/password is not given within the preferences a dialog pops > up requesting userid/password until you enter the correct userid/password or > give up. That is ok. But if you enter a wrong userid/password within the > preferences nothing happens when you try to provision. There is no error > message/dialog and no entry within the error log. > Thanks .. Worked like a charm ! .. "domain\proxy_login" is the catch .. for other software (e.g. firefix, synaptic etc.) domain name was not a necessity .. So I felt no necessity to supply it ... And for the previous question, I'm also using NTLM .. Still does not work for me on our Linux machines... Pierre, do you know which proxy you have and if it supports NTLM? And as Pascal already asked, does it work from a Windows box? Yes, it works from a windows box. With and without userid/password in the preference page. I check regarding the proxy type. Reopening because not everybody is in a working state, and there maybe things to do to make it easy for ppl to use. Hi, I have the same problem. I am behind a proxy requiring authentication and no NTLM. - When I set up in my Network Connection on "Manual proxy configuration" and I check "Enable proxy Connection" and I define a user name and password, the "Apply" has no effect. When I reopen the "Preferences" dialog, the option is still checked but the User Name and Password have been lost. - The first time I need to connection on the internet (Update, download a XML Schema, ...), a dialog appear TWICE to ask for user name and password. It is only when I give twice the good user name and password that Eclipse works properly, as long as I don't quit. For each launch, I have the same concern which is a pain (for example, after a feature install...). This wasn't working in 3.3.2 for different reasons (I checked the code and it appears that nowhere the user name and password were used for proxy authentication). Sorry, but anyway, it looks like this functionnality lacks testing. (In reply to comment #21) > Hi, > > I have the same problem. I am behind a proxy requiring authentication and no > NTLM. > - When I set up in my Network Connection on "Manual proxy configuration" and I > check "Enable proxy Connection" and I define a user name and password, the > "Apply" has no effect. When I reopen the "Preferences" dialog, the option is > still checked but the User Name and Password have been lost. Jose a question: Do the preferences get lost/not saved even when you simply close the preferences dialog and then immediately reopen? (I know this is what you say above, but I want to verify that you don't exit Eclipse session before Preferences reopen). What OS is this on (the Eclipse/client process)? Are others seeing this as well? On all OSes? I have just reported something rather similar for CVS under Windows as bug 240270 since bug 235661 addressing the CVS issue had been 'resolved' in RC4. the initial bug I reported was solved using the domain name in front of the user name .. Changing resolution because no change was made in p2. |
Created attachment 106300 [details] screenshot of the proxy authentication window which is coming back. Build ID: I20080617-2000 Steps To Reproduce: 1. Eclipse SDK Version: 3.4.0 downloaded in Ubuntu Gutsy 2. Working under a proxy 3. Trying to update thru' Help -> Software Updates More information: 1. The proxy username and password is coming back even after typing the user name and password. And finally its not connecting. 2. No other version of ecipse is installed in the system. 3. no problem with proxy as the other application are getting connected to the internet perfectly. 4. Also tried the version latest in Synaptic but in vain.