Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Error: Unable to read repository at....(Unable to install gmf-tooling in eclipse Photon 4.8.0)
Error: Unable to read repository at.... [message #1844525] Wed, 15 September 2021 22:10 Go to next message
Roman Gural is currently offline Roman GuralFriend
Messages: 4
Registered: September 2021
Junior Member
I'm trying to install a plugin and keep getting the error listed below, this was working the other day but for some reason today it's failing. I couldn't find anything online that helped resolve the issue. Under the install software windows> manager says this repository is currently not available.

Unable to read repository at
http:// download. eclipse.ord/ modeling/gmp/ gmf-tooling/updates/release/ content.xml.
Unable to read repository at http:// download. eclipse.ord/modeling/gmp/gmf-tooling/updates/release/content.xml.
download.eclipse.ord:80 failed to respond

Exception Stack Trace:
org.apache.http.NoHttpResponseException: download.eclipse.ord:80 failed to respond
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)
at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:259)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:209)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:686)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:488)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:263)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)

Session Data:
clipse.buildId=4.8.0.I20180611-0500
java.version=1.8.0_301
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  • Attachment: Capture.JPG
    (Size: 89.95KB, Downloaded 301 times)
Re: Error: Unable to read repository at.... [message #1844539 is a reply to message #1844525] Thu, 16 September 2021 07:50 Go to previous messageGo to next message
Glenn Plouhinec is currently offline Glenn PlouhinecFriend
Messages: 22
Registered: April 2020
Junior Member
Hi,

I have never used gmf-tooling, but the URL of the update site mentioned in the error doesn't seem correct. I suggest you to install gmf-tooling using the url of one of the updates listed on download.eclipse.org: https://download.eclipse.org/modeling/gmp/gmf-tooling/updates/
You can go to Help > Install New Software in your Eclipse IDE, don't forget to update the incorrect URL in your Install/Updates preferences.

Regards,
Glenn


Glenn Plouhinec - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Error: Unable to read repository at.... [message #1844546 is a reply to message #1844539] Thu, 16 September 2021 11:45 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7680
Registered: July 2009
Senior Member
Hi

Indeed. I very much doubt that "download. eclipse.ord" ever worked; at least not as an official Eclipse mirror.

There are a number of other gratuitous spaces that suggest that the URL was manually typed. Much better to cut and paste.

Regards

Ed Willink
Re: Error: Unable to read repository at.... [message #1844569 is a reply to message #1844546] Thu, 16 September 2021 16:24 Go to previous messageGo to next message
Roman Gural is currently offline Roman GuralFriend
Messages: 4
Registered: September 2021
Junior Member
Thanks for the replies, I wanted to clarify a couple of things. when I created my original post I did have a unintentional typo that Ed pointed out 'download. eclipse.ord'. I added the spaces in the URL address because I was restricted in sharing links since I'm new. I hoped the community might solve that little puzzle:-).

http://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases/

the link above was my original URL I used which did work 2 days ago, but starting yesterday it stopped working and began erroring out.
Re: Error: Unable to read repository at.... [message #1844575 is a reply to message #1844569] Thu, 16 September 2021 17:50 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7680
Registered: July 2009
Senior Member
Hi

Your error shows only half of the message and none of the explanatory details. But

If you visit that link in your Browser you will get the EF's default 404 page that shows that it is/was a repo, but more importantly if you go to "..." you will find much more. Probably the link you have is to a vintage release. But actually when I try it it works fine if you want version 3.2.1. Perhaps your network is flaky, perhaps the EF download site was down when you tried.

Regards

Ed Willink
Re: Error: Unable to read repository at.... [message #1844577 is a reply to message #1844575] Thu, 16 September 2021 18:57 Go to previous messageGo to next message
Roman Gural is currently offline Roman GuralFriend
Messages: 4
Registered: September 2021
Junior Member
In my browser the link takes me to a page where I'm instructed to enter the URL in eclipse with a screenshot, not sure if this is the 404 you are referring to. Clicking the 3 ... I selected release for 3.2.1 to test and same error.

https://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases-3.2.1/

Unable to read repository at https://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases-3.2.1/content.xml.
Unable to read repository at https://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases-3.2.1/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Even Details
Plug-in: org.eclipse.equinox.p2.ui
Message: Unable to read repository at https://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases-3.2.1/content.xml.

org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at https://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases-3.2.1/content.xml.
at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:243)
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:86)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:60)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:767)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:668)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:107)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:102)
at org.eclipse.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:444)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getMetadataRepository(MetadataRepositoryElement.java:133)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getRepository(MetadataRepositoryElement.java:122)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getQueryable(MetadataRepositoryElement.java:115)
at org.eclipse.equinox.internal.p2.ui.QueryProvider.getQueryDescriptor(QueryProvider.java:90)
at org.eclipse.equinox.internal.p2.ui.model.QueriedElement.fetchChildren(QueriedElement.java:103)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.fetchChildren(MetadataRepositoryElement.java:79)
at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:35)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:232)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alert.createSSLException(Unknown Source)
at sun.security.ssl.TransportContext.fatal(Unknown Source)
at sun.security.ssl.TransportContext.fatal(Unknown Source)
at sun.security.ssl.TransportContext.fatal(Unknown Source)
at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(Unknown Source)
at sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(Unknown Source)
at sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(Unknown Source)
at sun.security.ssl.SSLHandshake.consume(Unknown Source)
at sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
at sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
at sun.security.ssl.TransportContext.dispatch(Unknown Source)
at sun.security.ssl.SSLTransport.decode(Unknown Source)
at sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:553)
at org.eclipse.ecf.provider.filetransfer.httpclient4.SNIAwareHttpClient$1.connectSocket(SNIAwareHttpClient.java:64)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:412)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:179)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:328)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:612)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:263)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
... 1 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
... 24 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 30 more

eclipse.buildId=4.8.0.I20180611-0500
java.version=1.8.0_301
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
Re: Error: Unable to read repository at.... [message #1844582 is a reply to message #1844577] Fri, 17 September 2021 04:14 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7680
Registered: July 2009
Senior Member
Hi

Works fine for me using

Version: 2021-06 (4.20)
Build id: I20210611-1600

but I see eclipse.buildId=4.8.0.I20180611-0500 in your report so I tried

Version: Photon (4.8)
Build id: I20180611-0500

and it works fine there to.

Looking deeper I see Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

which suggests some security certificate magic. Simplest is probably to try a clean installation. Better, but beyond me, is to search for an appropriate clean mechanism to refresh your certificate caches.

Regards

Ed Willink
Re: Error: Unable to read repository at.... [message #1844590 is a reply to message #1844582] Fri, 17 September 2021 08:02 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 705
Registered: July 2009
Senior Member
Note that Sirius does not use GMF Tooling at all, and the GMF Tooling project is not actively maintainted anymore. As far as I can tell, the last commit dates from 6 years ago (https://git.eclipse.org/r/plugins/gitiles/gmf-tooling/org.eclipse.gmf-tooling) and the latest release is from 2016 (https://projects.eclipse.org/projects/modeling.gmp.gmf-tooling).


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Error: Unable to read repository at.... [message #1844745 is a reply to message #1844590] Thu, 23 September 2021 18:48 Go to previous message
Roman Gural is currently offline Roman GuralFriend
Messages: 4
Registered: September 2021
Junior Member
We resolved the issue by following a suggested solution on the link below. I guess we just needed to point eclipse to use the java cert provided by our agency. Hope this helps someone down the road, thanks!

1. Locate the eclipse.ini file in your Eclipse installation and open it
2. Below the line -vmargs, add the following lines, then save the file:
-Djavax.net.ssl.trustStore=NUL
-Djavax.net.ssl.trustStoreType=Windows-ROOT
3. Restart eclipse.

https://stackoverflow.com/questions/684081/importing-ssl-certificate-into-eclipse

[Updated on: Thu, 23 September 2021 18:48]

Report message to a moderator

Previous Topic:the function [Export representations as images]of arid file
Next Topic:Cannot change Id by sirius Specification Editor
Goto Forum:
  


Current Time: Fri Dec 13 03:46:43 GMT 2024

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

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

Back to the top