Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Proxy Athentification Problem
Proxy Athentification Problem [message #1861673] Thu, 26 October 2023 15:53 Go to next message
Sebastian Heinrich is currently offline Sebastian HeinrichFriend
Messages: 28
Registered: July 2018
Junior Member
Up to now the oomph installer did run behind a company proxy and this worked very well.

Yesterday (2023-25-10) I updated Oomph to its latest version and now it is not able to athentificate properly at the proxy.
Directly after start, even before the UI shows up, I get questions
"Saved login details were not accepted. Please provide login details for http://proxy_url:proxy_port

Since this is relatively new and worked in previous versions:
Did you change something in the authentification part of Oomph?
Is there something to consider now that I am not aware of?
Is this maybe simply a bug?

Any help is highly appreciated.

Re: Proxy Athentification Problem [message #1861674 is a reply to message #1861673] Thu, 26 October 2023 16:26 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
Yes, p2 has moved to a new ECF http client implementation so Oomph pretty much forced to use that too for everything, including for loading the catalogs.

I have expressed my concerns at the Planning Council that the proxy support will be broken for the new implementation. You can find details and links from the meeting.

https://github.com/eclipse-simrel/.github/blob/main/wiki/Planning_Council/2023-10-04.md

Here are some direct links:

https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/pull/1389#issuecomment-1734270639
https://github.com/eclipse-equinox/p2/issues/205

I have also strongly recommended that the IDE Working Group fund the necessary work to make the new ECF http client implementation work properly with proxies. This has not found significant traction yet.

I would highly recommend that you reproduce the problem ASAP with an I-Build from here:

https://download.eclipse.org/eclipse/downloads/index.html

I.e., is it possible install anything from anywhere into this IDE through your proxy? I kind of doubt it. In that case, please open an issue here with details about the settings you're trying and the behavior you are seeing:

https://github.com/eclipse-equinox/p2


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Proxy Athentification Problem [message #1861818 is a reply to message #1861674] Mon, 06 November 2023 15:40 Go to previous message
Sebastian Heinrich is currently offline Sebastian HeinrichFriend
Messages: 28
Registered: July 2018
Junior Member
Hello Ed

First of all sorry for the long delay!
I read through the issue discussions in github - it's interesting.

I did as suggested and downloaded the I-Build I20231105-1800 : https://download.eclipse.org/eclipse/downloads/drops4/I20231105-1800/
And as you already assumed I was not able to even see the content of an p2 update site. I tried with https://download.eclipse.org/eclipse/updates/4.30 and https://download.eclipse.org/releases/2023-12.
Eclipse immediately throws Exception - see below.

I created an Issue here: https://github.com/eclipse-equinox/p2/issues/381
Hope that I did correct?

org.eclipse.equinox.p2.core.ProvisionException: HTTP Proxy Authentication Required: https://download.eclipse.org/releases/2023-12/content.xml
at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:250)
at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:69)
at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:89)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:63)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:791)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:689)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
at org.eclipse.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:498)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getMetadataRepository(MetadataRepositoryElement.java:138)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getRepository(MetadataRepositoryElement.java:127)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getQueryable(MetadataRepositoryElement.java:120)
at org.eclipse.equinox.internal.p2.ui.QueryProvider.getQueryDescriptor(QueryProvider.java:92)
at org.eclipse.equinox.internal.p2.ui.model.QueriedElement.fetchChildren(QueriedElement.java:104)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.fetchChildren(MetadataRepositoryElement.java:86)
at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:38)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:219)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.eclipse.ecf.filetransfer.BrowseFileTransferException: Proxy Authentication Required
at org.eclipse.ecf.provider.filetransfer.httpclientjava.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:292)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:71)
... 1 more

[Updated on: Mon, 06 November 2023 16:00]

Report message to a moderator

Previous Topic:Insufficient ability to chose add ins at initial install time.
Next Topic:Eclipse Installer MacOS: Launch automatically did not work
Goto Forum:
  


Current Time: Tue May 07 16:41:07 GMT 2024

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

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

Back to the top