Connection Failed, never been able to connect to server.

  • Connection Failed, never been able to connect to server.

    Hello there,
    I have recently rented a server. I have not altered any of the settings, this is a fresh install. I start the server, the web console shows "Rising World Server Started". I wait another 3 to 5 minutes (just to be on the safe side). I enter the server address, it shows up, I added it to favorites. I click on the server and then click the "connect" button. Within 30 seconds I see the "Connection Error" window pop up. My question is, Does anyone know how to fix this so that I (and others) can connect to play? Anyone know a fix?

    Things I have done to ensure it is not on my end.
    I have configured all ports on my end to be open for the game. I have allowed this through the windows firewall. I have uninstalled and reinstalled the game. I do not use a password on the server, I do not have white list enabled. The only thing I have done is make it not visible on the server list (as I would like to test it and make sure its playable before I open it up to the public).


    This is the log prior to attempting to connect: (I have removed private info regarding name and passwords and steam ID)

    Source Code

    1. C:\TCAFiles\Users\removed\166>"java.exe" -Xmx1024m -jar server.jar +serverip=144.217.10.106 +serverport=4255 +rconport=4253 +servername="Serenity"
    2. Rising World - 0.9.4.2 - Dedicated Server
    3. Windows Server 2016 10.0 Java 1.8.0_201 (amd64) Memory: 1029 MB
    4. 2019/01/23 00:30 PM
    5. ____________________________________________________
    6. ARG: +serverip=144.217.10.106
    7. ARG: +serverport=4255
    8. ARG: +rconport=4253
    9. ARG: +servername=Serenity
    10. Start context...
    11. Items initialized!
    12. Plants initialized!
    13. NPCs initialized!
    14. Initialize Static Classes...
    15. Constructions initialized!
    16. Projectile-Definitions initialized!
    17. Weapon-Definitions initialized!
    18. Objects initialized!
    19. Clothing initialized!
    20. Picking initialized!
    21. Food-Definitions initialized!
    22. Storages initialized!
    23. Vehicles initialized!
    24. Crafting-Definitions initialized!
    25. Record-Definitions initialized!
    26. Initializing world (sqlite)
    27. LOAD WORLD Serenity
    28. DATABASE TYPE: SQLite
    29. C:\TCAFiles\Users\removed\166/Worlds/Serenity:::Serenity
    30. CREATE WORLD STRUCTURE - DONE!
    31. 2019/01/23 12:30 PM z.a
    32. INFO: DatabaseTaskManager started with ThreadPoolSize 1
    33. WORLDINFO Gamemode: Survival
    34. Gametype set to Survival
    35. WORLDINFO Seed: 1548261874467
    36. WORLDINFO Caves: true
    37. WORLDINFO Vegetations: true
    38. WORLDINFO OreAmount: 3
    39. WORLDINFO DisabledNPCs:
    40. WORLDINFO DisabledDungeons:
    41. WORLDINFO DisabledWaterSources:
    42. WORLDINFO Worldtype: Normal
    43. WORLDINFOS seed: 1548261874467 type: Normal caves: true vegetations: true oreamount: 3 disablednpc: [] disableddungeons: [] disabledwatersources: []
    44. WORLDINFO Time: 2.1.0 11:20:1.4131794
    45. WORLDINFO Creationdate: 1548261874468
    46. WORLDINFO Version: 0.9.4.2_39
    47. TRIGGER UPDATE
    48. Worldconverter: Updating not required
    49. WORLDINFO Spawninventory: 1 0 0 1 0 0 1 -65 -128 0 0 0 0 0 0 0 0
    50. WORLDINFO Spawnclothing: 5 -1 -1 1 0 1 0 -1 -1 -1 0 -1 -1 -1 0 -1 -1 -1 -1 1 0 2 0 -1 -1 -1 0 -1 -1 -1 0 -1 -1 -1
    51. Worldpart generating...
    52. Biomepart generating...
    53. Loaded Biomepart from cache: 0 - 0 (11ms)
    54. Loaded Worldpart (v3) from cache: 0 - 0 (970ms)
    55. WORLDINFO Spawnposition: 4.0 60.0 128.0
    56. WORLDINFO Spawnrotation: 0.0 0.0 0.0 1.0
    57. dir does not exist: Worlds/Serenity/customImages/
    58. INITIAL WEATHER Default 1547.0
    59. 0 chests loaded from DB!
    60. 0 texts loaded from DB!
    61. 0 Plants loaded from DB!
    62. 0 Furnaces loaded from DB!
    63. 0 NPCs loaded from DB!
    64. 0 Vehicles loaded from DB!
    65. STARTING RISING WORLD SERVER...
    66. Server bind to IP: 144.217.10.106:4255
    67. 2019/01/23 12:30 PM JIW-Network
    68. INFO: [NetworkServer] Add channel Port:4,255 Type:TCP Index:0
    69. 2019/01/23 12:30 PM JIW-Network
    70. INFO: [NetworkServer] Add channel Port:4,256 Type:UDP Index:1
    71. 2019/01/23 12:30 PM JIW-Network
    72. INFO: [NetworkServer] Add channel Port:4,256 Type:TCP Index:2
    73. 2019/01/23 12:30 PM JIW-Network
    74. INFO: [NetworkServer] Add channel Port:4,257 Type:UDP Index:3
    75. 2019/01/23 12:30 PM JIW-Network
    76. INFO: [NetworkServer] Add channel Port:4,257 Type:TCP Index:4
    77. 2019/01/23 12:30 PM JIW-Network
    78. INFO: [NetworkServer] Add channel Port:4,258 Type:UDP Index:5
    79. 2019/01/23 12:30 PM JIW-Network
    80. INFO: [NetworkServer] Add channel Port:4,258 Type:TCP Index:6
    81. 2019/01/23 12:30 PM I.g
    82. INFO: Default server permissions loaded successfully!
    83. Found 1 files in groups folder
    84. 2019/01/23 12:30 PM I.g
    85. INFO: Group "admin" permissions loaded successfully!
    86. RISING WORLD SERVER STARTED
    87. scripts
    88. 2019/01/23 12:30 PM JIW-Network
    89. INFO: [NetworkServer] Add channel Port:4,253 Type:TCP Index:0
    90. RCON Server bind to IP: 144.217.10.106:4253
    91. Steam - Load native library: steam_api64.dll Filesize: 250656 bytes
    92. Steam - Load native library: steamworks4j64.dll Filesize: 273920 bytes
    93. Steam - Load native library: steamworks4j-server64.dll Filesize: 145920 bytes
    94. STEAM BIND TO -1864824214 (144.217.10.106), PORT 4255, 4259 MODE: Authentication
    95. SteamID: removed (0)
    96. Query IP: 0
    97. Steam Query Server bind to 144.217.10.106:4255 (144.217.10.106)
    98. 2019/01/23 12:30 PM: Steam Servers Connected (-1864824214 -> 144.217.10.106)
    Display All




    8| ****This is what is added to the log after attempting to join world**** 8|

    Source Code

    1. [TcpSessionHandler] NEW Client Connection from:/68.144.252.52:52141 de.jiw.network.server.session.TcpSessionHandler@63889a83 PORT:4255
    2. /68.144.252.52
    3. CLIENT 1 CHANGE STATE: Disconnected -> ConnectingTCP
    4. [TcpSessionHandler] NEW Client Connection from:/68.144.252.52:52174 de.jiw.network.server.session.TcpSessionHandler@678573cf PORT:4256
    5. [TcpSessionHandler] NEW Client Connection from:/68.144.252.52:52207 de.jiw.network.server.session.TcpSessionHandler@435b24bc PORT:4257
    6. CLIENT 1 CHANGE STATE: ConnectingTCP -> Disconnecting
    7. CLIENT 1 CHANGE STATE: Disconnecting -> Disconnected
    8. REMOVE: null - 1 -
    9. 0
    10. [TcpSessionHandler ChannelInactive] /68.144.252.52:52174
    11. [TcpSessionHandler ChannelInactive] /68.144.252.52:52207
    12. 2019/01/23 12:38 PM G.f
    13. INFO: Delete Client ID: 1
    14. [TcpSessionHandler ChannelInactive] /68.144.252.52:52141
    15. REMOVE: null - 1 -
    16. 0
    17. 2019/01/23 12:38 PM G.f
    18. INFO: Delete Client ID: 1
    Display All


    Thank you for any suggestions.
  • Hello, you do not have enough memory allocated on your server. I used to play on Serenity and you have many many buildings. That eats up RAM. You only have 1GB of RAM allocated. I currently allocate 6GB for WF.
    You edit server.properties (file) on your host and allocate more memory. example: server_memory=4096 (allocates 4GB of RAM). That is the minimum I recommend you run for Serenity.

    In the early days, I experienced similar problems and like you, it denied connection attempts (usually after several hours). Allocating more ram resolved it. Hope this helps!
    "The past is history, the future a mystery, but today is a gift, which is why we call it the Present."
  • Aaah, you use the same name as another server that has been around for a long time, figured you took it over. Did my suggestion work for you? If it's a new server, I would allocate at least 2GB (2048) .. and may have to bump it up some as you grow. good luck!
    "The past is history, the future a mystery, but today is a gift, which is why we call it the Present."