Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse Mars Install New Features/Update fails with HTTP Code 416
Eclipse Mars Install New Features/Update fails with HTTP Code 416 [message #1702881] Mon, 27 July 2015 07:46
Oliver Becker is currently offline Oliver BeckerFriend
Messages: 1
Registered: July 2015
Junior Member
Hi,
I'm currently trying to update my working Eclipse Luna (for Java and DSL
Developers) to the new Mars version (seperate fresh installation), but I keep getting an error, which I was unable to resolve.

The workstation has to use a corporate proxy and it was always a little bit tricky to get the Eclipse Marketplace and Install New Feature/Update working. My Luna Eclipse is configured (network settings) to use "Manual" as Active Provider, with the correct host + port + user + password combination. I also got the known bugs
https://bugs.eclipse.org/bugs/show_bug.cgi?id=281472 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=281384 , so I added the infamous "-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4"
option in the eclipse.ini. While this is working in Luna, I cannot use the Marketplace or Update features in Mars.

I can open the Marketplace and it actually shows all the plugins, I can select one for install and the plugin-dependency-tree is show, but the next step fails with the following message:

index.php/fa/22686/0/

eclipse.buildId=4.5.0.I20150603-2000
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.dsl.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.dsl.product

org.eclipse.equinox.p2.transport.ecf
Error
Mon Jul 27 09:41:12 CEST 2015
Unable to read repository at http://download.eclipse.org/technology/subversive/3.0/update-site/content.jar.

java.io.IOException: Server returned HTTP response code: 416 for URL: http://download.eclipse.org/technology/subversive/3.0/update-site/content.jar
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnectionRetrieveFileTransfer.getDecompressedStream(UrlConnectionRetrieveFileTransfer.java:552)
	at org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnectionRetrieveFileTransfer.openStreams(UrlConnectionRetrieveFileTransfer.java:322)
	at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:885)
	at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:146)
	at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:424)
	at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.readInto(FileReader.java:358)
	at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:101)
	at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:178)
	at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:219)
	at org.eclipse.equinox.internal.p2.repository.CacheManager.updateCache(CacheManager.java:402)
	at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:259)
	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:768)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:116)
	at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:344)
	at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:146)
	at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:394)
	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.epp.internal.mpc.ui.operations.AbstractProvisioningOperation.addRepositories(AbstractProvisioningOperation.java:92)
	at org.eclipse.epp.internal.mpc.ui.operations.ProfileChangeOperationComputer.computeInstallableUnits(ProfileChangeOperationComputer.java:385)
	at org.eclipse.epp.internal.mpc.ui.operations.ProfileChangeOperationComputer.run(ProfileChangeOperationComputer.java:165)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)



Check for Update shows the same result.

I tried googling for this kind of error, but it seems no one has reported this problem so far. I'm a little bit lost what to do now (apart from using Luna again), since exactly the same configuration is working in Luna, but is unusable for me in Mars. The network access seems to work because Mars can load the dependency tree of a Marketplace plugin. Every other combination in the network settings fails because of the corporate proxy.

So, any suggetions how to find the root cause? It's quite possible the corporate proxy is misconfigured, but I hope you can help me finding the difference between the working Luna and the (for me) broken Mars, so I know what has to be configured differently. Something seems to be changed in the way the packages are downloaded.

Thank you very much!
Previous Topic:Install new Software is not working in RCP application- Eclipse Indigo
Next Topic:CFEclipse plugin install confusion
Goto Forum:
  


Current Time: Mon Sep 23 09:02:58 GMT 2019

Powered by FUDForum. Page generated in 0.03693 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top