Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Configure Network Proxy Error(Newcomer in Eclipse. Need some help resolving a configuration error. )
Configure Network Proxy Error [message #1854620] Tue, 30 August 2022 15:56 Go to next message
James Semeraro is currently offline James SemeraroFriend
Messages: 3
Registered: August 2022
Junior Member
Hello,

I am a newbie in the community and fairly green with using Eclipse (under 1 year). I was able to download and install the Eclipse IDE from Eclipse.org several months ago. I'm assisting a few colleagues get their tool installed, but I'm running into a network proxy error that I don't know how to resolve. I'm not sure if the error is singular to my organization, so I am reaching out to the community to see if anyone has encountered the following Network Problem error (see attached screenshot too) upon download/installation of Eclipse IDE from Eclipse.org:

"The catalog could not be loaded. Please ensure that you have network access, and if needed, have configured your network proxy.

Any guidance, tips, help would be greatly appreciated!

Thank you,

Jimmy
Re: Configure Network Proxy Error [message #1854629 is a reply to message #1854620] Wed, 31 August 2022 05:26 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Sometimes within a corporate setting, the firewall introduces additional headers that use certificates not rooted in the cacerts of the JRE embedded in the installer (and in the packages) causing a problem like this.

https://www.eclipse.org/downloads/packages/

You could download a package, but it will 99% for sure have the same problem such that you cannot update it nor install new software into it.

You could try the option specified in this comment:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=578341#c19

For the installer you could run it from the command line (rather than add the option to the eclipse.ini) as "eclipse-inst-jre-win64.exe -vmargs -Djavax.net.ssl.trustStoreType=Windows-ROOT" and hope that the missing certificate is installed in Windows own trust store.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Configure Network Proxy Error [message #1854665 is a reply to message #1854629] Thu, 01 September 2022 16:23 Go to previous messageGo to next message
James Semeraro is currently offline James SemeraroFriend
Messages: 3
Registered: August 2022
Junior Member
Hi Ed,

Greatly appreciate the fast reply! I tried both downloading another package as well as running the installer from the command line. Unfortunately, hitting the same errors.

I would like to try the option specified in this comment, but the steps might as well be in Greek...haha.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=578341#c19

Would you be willing to assist over a phone call and/or Teams meeting?

Thanks again for all the guidance!

James
Re: Configure Network Proxy Error [message #1854674 is a reply to message #1854665] Fri, 02 September 2022 06:07 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
So you tried -Djavax.net.ssl.trustStoreType=Windows-ROOT but that didn't help?

So now you want to try this:

1.) Launch Firefox as the most obvious of my available browsers.
2.) Configure Firefox manually to use the same proxy, that I had in Eclipse.
3.) Point Firefox to https://download.eclipse.org/releases/2022-06/p2.index
4.) Instructed Firefox to save the certificate chain as a PEM file.
5.) Created a copy of my cacerts file.
6.) Imported the chain from the PEM file into the copy.
7.) Modified my eclipse.ini to contain -Djavax.net.ssl.trustStore=<PATH_TO_COPY>
in the vmargs section.

I've never done this before either but I wold just Google for such things:

https://www.google.com/search?client=firefox-b-d&q=firefox+save+certificate+chain+as+pem+key

Follow this instruction:

Open your website in Firefox.
Click on the lock button beside the website address in the address bar.
Click on Certificate.
Go to: More Information > View Certificate > Details.
Click on Export.
Choose the location you want to save the file.
Choose PEM certificate with chain 509 as the save as type.


Then this

https://www.google.com/search?client=firefox-b-d&q=java+import+cacerts

You'd be better off modifying the cacerts of the system JDK you will be using. Then you could use this installer:

https://download.eclipse.org/oomph/products/eclipse-inst-win64.zip

I.e., one without an embedded JRE that will use the default JDK/JRE on your system and when you create installations you can use that same JDK/JRE for the installations and all will then use your modified cacerts.

Helping people individually and directly is not a scalable activity...


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Opening JAR as project
Next Topic:Generate .temp-runconfig-classpath-arg.txt file via command line
Goto Forum:
  


Current Time: Tue Apr 23 12:49:16 GMT 2024

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

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

Back to the top