Jump to content

Question

Posted

Launcher Version: 253

Operating System: Windows 7 x64

Java Version: java version "1.7.0_17" Java SE Runtime Environment (build 1.7.0_17-b02) Java HotSpot 64-Bit Server VM (build 23.7-b01, mixed mode)

Antivirus Program: None

Description of Problem:

When attempting to connect to an IPv6 server by IPv6 address, Tekkit launched from the Technic launcher fails with the message:

Failed to connect to the server

java.net.SocketException: Protocol family unavailable

I am guessing that this is either related to this upstream bug, about launchers messing with the IP version settings:

https://mojang.atlassian.net/browse/MC-3776

Or to this upstream bug, about Minecraft itself doing the same thing (although this is not supposed to affect 1.5.2):

https://mojang.atlassian.net/browse/MC-19301

The fix (as long as Minecraft 1.5.2 is running) would be to make the Technic launcher not do what the vanilla launcher is described as doing here:

https://mojang.atlassian.net/browse/MC-3776?focusedCommentId=58527&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-58527

Fixing this bug when running Minecraft 1.6+ might require adding a mod that forcibly undoes these changes, as (I have been told) Mojang decided to add them to the client itself in later versions for some reason.

Error Messages:

Failed to connect to the server

java.net.SocketException: Protocol family unavailable

Error Log:


2013-08-24 19:50:05 [iNFO] [sTDERR] java.net.SocketException: Protocol family unavailable

2013-08-24 19:50:05 [iNFO] [sTDERR] 	at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)

2013-08-24 19:50:05 [iNFO] [sTDERR] 	at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)

2013-08-24 19:50:05 [iNFO] [sTDERR] 	at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)

2013-08-24 19:50:05 [iNFO] [sTDERR] 	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)

2013-08-24 19:50:05 [iNFO] [sTDERR] 	at java.net.PlainSocketImpl.connect(Unknown Source)

2013-08-24 19:50:05 [iNFO] [sTDERR] 	at java.net.SocksSocketImpl.connect(Unknown Source)

2013-08-24 19:50:05 [iNFO] [sTDERR] 	at java.net.Socket.connect(Unknown Source)

2013-08-24 19:50:05 [iNFO] [sTDERR] 	at java.net.Socket.connect(Unknown Source)

2013-08-24 19:50:05 [iNFO] [sTDERR] 	at java.net.Socket.<init>(Unknown Source)

2013-08-24 19:50:05 [iNFO] [sTDERR] 	at java.net.Socket.<init>(Unknown Source)

2013-08-24 19:50:05 [iNFO] [sTDERR] 	at net.minecraft.client.multiplayer.NetClientHandler.<init>(NetClientHandler.java:223)

2013-08-24 19:50:05 [iNFO] [sTDERR] 	at net.minecraft.client.multiplayer.ThreadConnectToServer.run(SourceFile:44)

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...