Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353316

Summary: discovery fails on 3.7 behind NTLM proxies
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact: Steffen Pingel <steffen.pingel>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.6.2   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Steffen Pingel CLA 2011-07-28 08:31:13 EDT
On 3.7 discovery falls back to the HttpClient based transport mechanism which does not support NTLM authentication.

java.io.IOException: Cannot download http://dist.springsource.com/release/STS/discovery/directory-2.8.xml: HTTP response 407
	at org.eclipse.mylyn.internal.discovery.core.util.HttpClientTransportService.stream(HttpClientTransportService.java:133)
	at org.eclipse.mylyn.internal.discovery.core.util.WebUtil.stream(WebUtil.java:161)
	at org.eclipse.mylyn.internal.discovery.core.util.WebUtil.readResource(WebUtil.java:95)
	at org.eclipse.mylyn.internal.discovery.core.model.RemoteBundleDiscoveryStrategy.performDiscovery(RemoteBundleDiscoveryStrategy.java:107)
	at org.eclipse.mylyn.internal.discovery.core.model.ConnectorDiscovery.performDiscovery(ConnectorDiscovery.java:115)
	at org.eclipse.mylyn.internal.discovery.ui.wizards.DiscoveryViewer$17.run(DiscoveryViewer.java:1489)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Comment 1 Steffen Pingel CLA 2011-08-17 18:20:53 EDT
Added fall-back to p2 Transport service that was introduced in Eclipse 3.7.
Comment 2 Steffen Pingel CLA 2011-08-17 18:20:56 EDT
Created attachment 201680 [details]
mylyn/context/zip