Page MenuHomeSchine - Phabricator

Launcher | missing argument in new launcher: -Djava.net.preferIPv4Stack=true
Closed, InvalidPublic

Description

dual stack systems cannot connect to localhost by default as the server only works with ipv4.

[2016-01-27 19:59:40] [SERVER] initializing 
[2016-01-27 19:59:41] [CLIENT] initializing 0.19549 (20160116_015456)
[2016-01-27 19:59:41] [INIT] Seed File: C:\Program Files (x86)\Steam\steamapps\common\StarMade\StarMade\.\server-database\world0\.seed
[2016-01-27 19:59:41] [SQL] Fetching connection (may take some if game crashed on the run before)
[2016-01-27 19:59:41] [SQL] connection successfull
[2016-01-27 19:59:42] [DATABASE] ENTITIES UID SIZE: 128
[2016-01-27 19:59:42] [DATABASE] FTL UID SIZE: 128
[2016-01-27 19:59:42] [DATABASE] SYSTEMS UID SIZE: 128
[2016-01-27 19:59:42] [SERVER] Request Thread pool size is: 25
[2016-01-27 19:59:43] [SERVER] port 4242 is open
[2016-01-27 19:59:43] [SERVER] USING TCP... LISTENING ON 192.168.1.6
[2016-01-27 19:59:43] java.net.BindException: Cannot assign requested address: JVM_Bind
[2016-01-27 19:59:43] 	at java.net.TwoStacksPlainSocketImpl.socketBind(Native Method)
[2016-01-27 19:59:43] 	at java.net.TwoStacksPlainSocketImpl.socketBind(Unknown Source)
[2016-01-27 19:59:43] 	at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
[2016-01-27 19:59:43] 	at java.net.TwoStacksPlainSocketImpl.bind(Unknown Source)
[2016-01-27 19:59:43] 	at java.net.PlainSocketImpl.bind(Unknown Source)
[2016-01-27 19:59:43] 	at java.net.ServerSocket.bind(Unknown Source)
[2016-01-27 19:59:43] 	at java.net.ServerSocket.<init>(Unknown Source)
[2016-01-27 19:59:43] 	at org.schema.schine.network.server.ServerListener.<init>(SourceFile:162)
[2016-01-27 19:59:43] 	at org.schema.schine.network.server.ServerController.startServerAndListen(SourceFile:342)
[2016-01-27 19:59:43] 	at obfuscated.Pj.run(SourceFile:1200)
[2016-01-27 19:59:43] 	at java.lang.Thread.run(Unknown Source)
[2016-01-27 19:59:43] [CLIENT] Added observer for GameClientController
[2016-01-27 19:59:43] WARNING: Found unknown Windows version: Windows 10
[2016-01-27 19:59:43] Attempting to use default windows plug-in.
[2016-01-27 19:59:43] Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin
[2016-01-27 19:59:43] [CLIENT][GAMEINPUT] TOTAL INPUT DEVICES: 5
[2016-01-27 19:59:43] [JOYSTICK] cannot read default joystick file because it does not exist
[2016-01-27 19:59:43] [CLIENT] Client State and Controller successfully created
[2016-01-27 19:59:43] [CLIENT] trying to connect to localhost:4242
[2016-01-27 19:59:43] [CLIENT] establishing new socket connection to localhost:4242
[2016-01-27 19:59:43] [CLIENT] Trying TCP...
[2016-01-27 19:59:44] [CLIENT] TCP connection failed: ConnectException; Connection refused: connect
[2016-01-27 19:59:44] [CLIENT] Trying UDP...
[2016-01-27 19:59:47] java.net.SocketTimeoutException: Failed to connect!
[2016-01-27 19:59:47] 	at org.schema.schine.network.client.ClientToServerConnection.connect(SourceFile:163)
[2016-01-27 19:59:47] 	at org.schema.schine.network.client.ClientController.connect(SourceFile:287)
[2016-01-27 19:59:47] 	at obfuscated.C.a(SourceFile:1740)
[2016-01-27 19:59:47] 	at obfuscated.Pc.run(SourceFile:87)
[2016-01-27 19:59:47] 	at java.lang.Thread.run(Unknown Source)
[2016-01-27 19:59:49] Exiting because of failed conenct
[2016-01-27 19:59:49] [CLIENT] CLIENT SHUTDOWN. Dumping client data!

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
none/unspecified
Reproducible
uncertain
Category
Launcher
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce
  • have a dual ip-stack system
  • dont have a working ipv6 connection/dhcp/gateway

result

see log in description

Tester information (Internal use only)

Old launcher had it added to prevent issues.

Event Timeline

AndyP updated the task description. (Show Details)Jan 28 2016, 9:41 PM
AndyP shifted this object from the S1 Public space to the S5 Launcher space.
AndyP changed the visibility from "Custom Policy" to "Public (No Login Required)".
AndyP changed the edit policy from "Task Author" to "Starmade (Project)".
AndyP changed Category from none/unspecified to Launcher.
AndyP edited Serverconfig (server.cfg). (Show Details)
AndyP edited Clientconfig (settings.cfg). (Show Details)
AndyP edited Steps to reproduce. (Show Details)
AndyP edited Tester information (Internal use only). (Show Details)
AndyP added a subscriber: AndyP.
AndyP created this task.
AndyP raised the priority of this task from to Needs Triage/Unclassed.
Restricted Application added a project: Issue Navigation. · View Herald TranscriptJan 28 2016, 9:41 PM
AndyP set Task Type to Bug.
AndyP set OS-Specific to No.
AndyP set Hardware-Specific to No.
AndyP set Video Card Vendor to uncertain.
AndyP set Affected Gamemode(s) to none/unspecified.
AndyP set Reproducible to uncertain.
AndyP changed the task status from Open to In Queue (Launcher).
AndyP claimed this task.
AndyP triaged this task as Normal priority.

-Validated-
-Confirmed-

Restricted Application edited projects, added Starmade, Launcher Development; removed Issue Navigation. · View Herald TranscriptJan 28 2016, 9:41 PM
calani added a subscriber: calani.Jan 28 2016, 10:20 PM

'-Djava.net.preferIPv4Stack=true' is already present and passed to the jvm.

Too bad, confirmed that.

Got to go back to the support ticket then, so something else is missing. :/

AndyP closed this task as Invalid.Jan 29 2016, 12:08 PM
Restricted Application removed a project: Launcher Development. · View Herald TranscriptJan 29 2016, 12:08 PM
AndyP moved this task from Unclassed to Archived on the Starmade board.Mar 2 2016, 12:19 AM
AndyP removed a subscriber: AndyP.Dec 13 2016, 8:37 PM