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

Bug 318983

Summary: [Net] Native settings should not allow for values to be entered
Product: [Eclipse Project] Platform Reporter: Steffen Zschaler <steffen.zschaler>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: critical    
Priority: P3 CC: pascal, tjwatson
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Steffen Zschaler CLA 2010-07-06 05:28:14 EDT
Build Identifier: I20100608-0911

I've just downloaded Helios and am now trying to install additional plugins. I go to Help/Install New Software and try putting in any update site in the drop down at the top (this problem even occurs when I use "The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/3.6") Even before I do anything else, I get an error message saying HTTP Conflict In Request. I attach the detailed message to the end of this. When I take the URL (http://download.eclipse.org/eclipse/updates/3.6/content.xml ) and enter it into a web browser, I get a 404 file not found error.

Not sure if it matters, but I have to go through a HTTP proxy. I have set up Eclipse to use this in Preferences/Network. This has worked before (with older versions of Eclipse), so I don't expect this to be the source of the problem. Also, the same proxy is used when I use my browser.

org.eclipse.equinox.p2.core.ProvisionException: HTTP Conflict In Request: http://download.eclipse.org/eclipse/updates/3.6/content.xml
    at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:189)
    at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:66)
    at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:88)
    at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
    at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:747)
    at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:652)
    at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
    at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
    at org.eclipse.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:388)
    at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getMetadataRepository(MetadataRepositoryElement.java:120)
    at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getRepository(MetadataRepositoryElement.java:109)
    at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getQueryable(MetadataRepositoryElement.java:103)
    at org.eclipse.equinox.internal.p2.ui.QueryProvider.getQueryDescriptor(QueryProvider.java:54)
    at org.eclipse.equinox.internal.p2.ui.model.QueriedElement.fetchChildren(QueriedElement.java:102)
    at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.fetchChildren(MetadataRepositoryElement.java:72)
    at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:34)
    at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.ecf.filetransfer.BrowseFileTransferException: HttpClient connection error response code 409.
    at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:249)
    at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
    ... 1 more

Reproducible: Always

Steps to Reproduce:
1. Open Helios
2. Go to Help/Install New Software...
3. In the 'Work with:' drop down, select 'The Eclipse Project Updates...'
4. Eclipse tries to connect to the update site and reports the above errors (actually, they are reported twice.)
Comment 1 Steffen Zschaler CLA 2010-07-09 05:26:38 EDT
I changed the title and importance of this bug. I have recently found out that this is really related to the proxy setup that we have here. 

Apparently, I had setup the proxy wrongly. In Windows/Preferences/Network I had set all the necessary information for HTTP connections, but apparently this was being ignored by Eclipse because it was still in 'Native' rather than 'Manual' mode.

So, what remains is to make the use of proxies with Eclipse more intuitive: If 'Native' mode is selected, it should probably not be possible to enter changes to the proxy settings. If it is possible, Eclipse should issue a warning about them being ignored, unless 'Manual' is selected.
Comment 2 Pascal Rapicault CLA 2011-06-10 00:18:27 EDT
Raising severity because a lot of ppl are getting confused by this and it ends up in the p2 bucket.
Comment 3 Lars Vogel CLA 2019-11-14 03:18:41 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.