Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unable to load p2 metadata repository (Unable to load p2 metadata repository while building eclipse-mat from sources using Tycho/Maven)
Unable to load p2 metadata repository [message #1862661] Tue, 19 December 2023 14:29 Go to next message
Ruthwik K is currently offline Ruthwik KFriend
Messages: 8
Registered: December 2023
Junior Member
Facing issues while building eclipse-mat from source code with Tycho/Maven for Version 1.15.0

It is unable to download p2.index from https://download.eclipse.org/eclipse/updates/4.30/p2.index

Error :
Failed to resolve target definition /eclipse-mat/org.eclipse.mat/org.eclipse.mat.targetdef/mat-2023-12.target: Failed to load p2 metadata repository from location https://download.eclipse.org/eclipse/updates/4.30/: Unable to read repository at https://download.eclipse.org/eclipse/updates/4.30. HTTP connect timed out -> [Help 1]


I have searched in internet for any resolution and tried out different things, but none of them worked..

Please help me out with this issue.

Thanks in advance!
Re: Unable to load p2 metadata repository [message #1862672 is a reply to message #1862661] Wed, 20 December 2023 07:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Sometimes the server is slow or overloaded. The URL works for me in a browser right now.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Unable to load p2 metadata repository [message #1862676 is a reply to message #1862672] Wed, 20 December 2023 10:18 Go to previous messageGo to next message
Ruthwik K is currently offline Ruthwik KFriend
Messages: 8
Registered: December 2023
Junior Member
The URL works from the browser all the time for me, but it is failing with the above error via Cloudlab job
Re: Unable to load p2 metadata repository [message #1862677 is a reply to message #1862676] Wed, 20 December 2023 10:51 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
It loads for me the the Repository Explore view.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Unable to load p2 metadata repository [message #1862679 is a reply to message #1862677] Wed, 20 December 2023 13:22 Go to previous messageGo to next message
Ruthwik K is currently offline Ruthwik KFriend
Messages: 8
Registered: December 2023
Junior Member
Yes its working right there, but failing in here..

Any idea how to resolve this error or why this is coming up?
Re: Unable to load p2 metadata repository [message #1862681 is a reply to message #1862679] Wed, 20 December 2023 14:01 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Sorry, I don't know what Cloudlab is and what it might be doing differently. Are you using the latest Tycho version (3.0.5 or 4.0.4)? Is some network failure maybe cached so you need some flag to force it to try again?

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Unable to load p2 metadata repository [message #1862683 is a reply to message #1862681] Wed, 20 December 2023 18:22 Go to previous messageGo to next message
Ruthwik K is currently offline Ruthwik KFriend
Messages: 8
Registered: December 2023
Junior Member
Cloudlab is the platform where the (linux) commands are run to build eclipse-mat from source code and I am using Tycho 4.0.3
Re: Unable to load p2 metadata repository [message #1862690 is a reply to message #1862683] Thu, 21 December 2023 08:14 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
I see. Then I think you need to find out what specifically is going on on that platform or maybe ask the Tycho folks. Maybe tried 4.0.5 before asking:

https://github.com/eclipse-tycho/tycho/discussions


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Unable to load p2 metadata repository [message #1862707 is a reply to message #1862690] Thu, 21 December 2023 19:08 Go to previous message
Ruthwik K is currently offline Ruthwik KFriend
Messages: 8
Registered: December 2023
Junior Member
Okay, will try to check with them.
Thanks!
Previous Topic:Efficient Strategies for Refactoring Large Codebases in Eclipse with Multiple Dependencies
Next Topic:Eclipse installer oomph hangs / not responding on first step
Goto Forum:
  


Current Time: Sat Apr 27 13:26:17 GMT 2024

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

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

Back to the top