Reputation: 81
I am getting consistent problem in using Eclipse Marketplace. I am using Eclipse Neon. I am using broadband internet connection and my network configuration for Eclipse is native.
The error is:
Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Connection failedThis is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Unable to read repository at http://marketplace.eclipse.org/catalogs/api/p.
Address family not supported by protocol family: connect
Connection failedThis is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Address family not supported by protocol family: connect
Upvotes: 2
Views: 22523
Reputation: 11
Navigate to Windows->Preferences->General->Network Connections->Set Active Provider to Manual->Schema to HTTPS,HTTP,SOCKS->Click OK->Restart Eclipse
Upvotes: 1
Reputation: 31
In my case, it's just proxy information:
Window -> Preferences -> Network Connections
Done.
Upvotes: 3
Reputation: 81
Solved it. Follow following steps:-
_JAVA_OPTIONS -Djava.net.preferIPv4Stack=true
,
Hit enter.Restart eclipse.
Upvotes: 6