reset password
Author Message
jpatel29
Posts: 5
Posted 00:41 Apr 14, 2014 |

In Eclipse to install any plugin we need our Eclipse to connect to internet.

But it's giving Error : Unable to read repository at http://subclipse.tigris.org/update_1.8.x/content.xml.
Unable to read repository at http://subclipse.tigris.org/update_1.8.x/content.xml.
Address family not supported by protocol family: connect.

 

Attaching the Snapshot for further Details.

Attachments:
cysun
Posts: 2935
Posted 08:14 Apr 14, 2014 |

Google "Address family not supported by protocol family: connect". It sounds like it's caused by Eclipse using IPv6 instead of IPv4 by default. What are the versions of your Windows, JDK, and Eclipse?

jpatel29
Posts: 5
Posted 18:22 Apr 14, 2014 |

Version of my Windows is  8.1, JDK is 1.8.0, and Eclipse is Kepler Service Release 2.

jpatel29
Posts: 5
Posted 19:23 Apr 14, 2014 |

Adding -vmargs -Djava.net.preferIPv4Stack=true to the Target Solved my issues.

 

Thanks for the Hint.

cysun
Posts: 2935
Posted 21:18 Apr 14, 2014 |
jpatel29 wrote:

Version of my Windows is  8.1, JDK is 1.8.0, and Eclipse is Kepler Service Release 2.

It's probably because of JDK 1.8. I've seen people using Kelpler on Windows 8 but never heard of this problem before.