MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
a06275
Post subject: Unable to update index for central  PostPosted: Jul 15, 2012 - 08:59 PM
Registered Member
Registered Member


Joined: Mar 08, 2010
Posts: 9

Hi there,

I'm not behind any proxy (most common cause of this problem, it seems) and yet I continue to receive this error when starting MyEclipse (with the update on startup flag turned on), or when hitting "update index" in the Add Dependency dialog:

Code:
Unable to update index for central|http://repo1.maven.org/maven2


I have so far tried the following things to solve it:

* New workspace
* New MyEclipse install (10.5)
* Deleting home/.m2/repository directory
* Creating empty settings.xml (but according to correct template)
* Double-checking that I can access the URL in a browser (I can)
* Trying a different mirror ...

Code:
<mirror>
    <id>uk.maven.org</id>
    <url>http://uk.maven.org/maven2</url>
    <mirrorOf>central</mirrorOf>
</mirror>


... it made no difference though, apart from changing the URL in the error message!

I'm pulling my hair out here, as it always used to work, so would greatly appreciate any suggestions/advice on how to fix this.

[EDIT]
Two other things I tried, but forgot to mention ... I tried doing a flushdns locally, to no effect, and also tried connecting to my workplace VPN to see if going through my work's network would help, but again it made no difference.
[/EDIT]
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jul 16, 2012 - 01:19 PM



Joined: Nov 11, 2010
Posts: 2154

a06275,

Sorry that you are seeing this issue. I have escalated it to a dev team member.
They will get back to you.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
a06275
Post subject:   PostPosted: Jul 16, 2012 - 06:23 PM
Registered Member
Registered Member


Joined: Mar 08, 2010
Posts: 9

support-swapna wrote:
a06275,

Sorry that you are seeing this issue. I have escalated it to a dev team member.
They will get back to you.


Thank you. I've probably done something embarrassingly stupid to cause this, but I really cannot think what, so I appreciate that you've passed it on to someone who may be able to help.
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Jul 16, 2012 - 10:52 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2515

a0,

We have been able to intermittently reproduce this problem; we believe it may be a combination of some sort of filtering at the repository for requests made from specific versions of m2e and/or some IPs or simply network issues. We are still looking into this problem and will update this thread when we have a concrete workaround.

1) If you have a prior version of MyEclipse available and attempt to update from that version, does it work?

2) Shut down MyEclipse and go to <workspace_location>\.metadata\.plugins\org.maven.ide.eclipse\nexus
Delete the files in this folder and start MyEclipse - does this help?

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
a06275
Post subject:   PostPosted: Jul 17, 2012 - 10:14 PM
Registered Member
Registered Member


Joined: Mar 08, 2010
Posts: 9

Support-Brian wrote:
We have been able to intermittently reproduce this problem; we believe it may be a combination of some sort of filtering at the repository for requests made from specific versions of m2e and/or some IPs or simply network issues. We are still looking into this problem and will update this thread when we have a concrete workaround.

1) If you have a prior version of MyEclipse available and attempt to update from that version, does it work?

2) Shut down MyEclipse and go to <workspace_location>\.metadata\.plugins\org.maven.ide.eclipse\nexus
Delete the files in this folder and start MyEclipse - does this help?


I don't have an older version, and I can't seem to find one anywhere to download.

I've tried deleting that, but I couldn't find that plugin. The closest was org.maven.ide.eclipse.wtp, but it didn't have a nexus folder inside. There was a nexus folder in org.eclipse.m2e.core plugin, but emptying the contents of that made no difference.

I'd be very keen to get back to using MyEclipse again, as without proper Maven support, it's incredibly frustrating to work with sometimes!
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Jul 23, 2012 - 07:30 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2515

a0,

We've managed to fix this internally. I will be releasing a patch today that will fix this for affected users; the fix will also be in 10.6 due at the end of this week.

Will update this thread once more details are available.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Jul 23, 2012 - 10:44 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2515

a0,

Please see the following post for an immediate fix: https://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&t=29212

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
a06275
Post subject:   PostPosted: Jul 30, 2012 - 10:24 PM
Registered Member
Registered Member


Joined: Mar 08, 2010
Posts: 9

Support-Brian wrote:
a0,

Please see the following post for an immediate fix: https://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&t=29212


Thank you! For some reason I don't get notified of replies (must check my spam folder), but thank you very much for that ... I shall install it as soon as I can :)
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Jul 31, 2012 - 05:47 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2515

a0,

The 10.6 update now includes a fix for this issue, please see: https://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&t=29212

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits