1. When making a thread, please tag your thread accordingly using the menu to the left of the textfield where you name your thread where applicable. Server Advertisements and Mod Releases should be contained to their respective subforums.

Server Help Atypical Server Problem

Discussion in 'Multiplayer' started by Xcuses, Feb 18, 2016.

  1. Xcuses

    Xcuses Intergalactic Tourist

    I've been searching for a while now for a fix but haven't found one. I was able to host a server the day I reinstalled Starbound, but wasn't able to host a server another day. My IP didn't change (as most might expect) and I monitored the program files and nothing was added or deleted. Is there a work around... I am not up for reinstalling SB whenever I want to play with friends.
     
  2. danks_

    danks_ Existential Complex

    Please, upload a log so we can see the errors. The only thing that makes this problem atypical is the lack of information about it.

    Are you starting the server before you launch the game?
     
    lazarus78 likes this.
  3. lazarus78

    lazarus78 The Waste of Time

    Indeed we need all the details about what you do.
     
  4. Xcuses

    Xcuses Intergalactic Tourist

    I'm sorry I don't know which log you need, I have 5 starbound logs, 5 server logs and a text doc. And my story really is that simple. I install starbound, make a server and it ran, I made another server the next day assuming it would start up where it left off but it just flat out doesn't work. The server starts up and generates new worlds after identifying my port-forwarded router and then I can't connect or my girlfriend. I'm super confused.
     
  5. Xcuses

    Xcuses Intergalactic Tourist

    The only other thing to note is that when I click Join Server, Starbound goes unresponsive then when it becomes responsive again it just says failed to connect
     
  6. Xcuses

    Xcuses Intergalactic Tourist

    From starbound config file in girraffe_storage

    "title.connectionAddress" : "xx.xxx.xx.xxx", <-- My IP not x's (sorry I don't trust you people that much)
    "title.connectionPort" : "", <-- should my IP also be here?
     
  7. lazarus78

    lazarus78 The Waste of Time

    http://i.imgur.com/4r3X9AC.png

    Need that log. Preferably after a failed attempt.

    Also, who is hosting the server, where is this server in relation to you? (Your computer, another computer, or a rented server)
     
  8. Xcuses

    Xcuses Intergalactic Tourist

    Sorry for length, don't have the code viewer, and I host the server on the same computer I play and can't connect using either the local address or my IP which again hasn't changed. Again, the atypical nature of it is that I have not changed anything, yet was able to host before with 2 players connecting (myself including). Also, I have replaced my IP with x's for security

    Start logging at: 2016-02-23 16:24:08.583
    [16:24:08.585] Info: Star::Root using bootstrap file 'C:\Program Files (x86)\Steam\steamapps\common\Starbound\win32\sbboot.config'
    [16:24:08.585] Info: Star::Root using storage directory 'C:\Program Files (x86)\Steam\steamapps\common\Starbound\giraffe_storage\'
    [16:24:08.585] Info: Preparing Star::Root...
    [16:24:08.586] Info: Loading Configuration with config file: 'starbound.config'
    [16:24:08.586] Info: Loading Star::Configuration from 'Just (.\..\giraffe_storage\starbound.config)'
    [16:24:08.587] Info: Writing Star::Configuration to '.\..\giraffe_storage\starbound.config'
    [16:24:08.591] Info: Initializing Star::Root with 2 assets sources
    [16:24:08.591] Info: Done preparing Star::Root.
    [16:24:08.591] Info: Client Version 'Beta v. Glad Giraffe - Update 3' Revision: 30555b17a491c2a97ab0afbff3b848a1fd937dbd Protocol: 711
    [16:24:08.591] Info: Initialized SDL
    [16:24:08.599] Info: Initialized SDL Video
    [16:24:08.605] Info: Initialized SDL Joystick
    [16:24:08.605] Info: Initialized SDL Sound
    [16:24:08.617] Info: Opened default audio device with 44khz / 16 bit stereo audio, 2048 sample size buffer
    [16:24:08.617] Info: Loading Assets
    [16:24:08.617] Info: Loading assets from: '../assets/packed.pak'
    [16:24:08.618] Info: Loading assets from: '../assets/user'
    [16:24:08.933] Info: Done loading Assets in 0.316 seconds
    [16:24:08.938] Info: Loading NameGenerator
    [16:24:08.939] Info: Initializing SDL Window
    [16:24:08.944] Info: Done loading NameGenerator in 0.00600004 seconds
    [16:24:08.944] Info: Loading ObjectDatabase
    [16:24:08.997] Info: Created initial window 1000x600
    [16:24:09.006] Info: Renderer initialized
    [16:24:09.008] Info: Renderer destroyed
    [16:24:09.008] Info: Initializing SDL Window
    [16:24:09.033] Info: Re-created window 1536x803
    [16:24:09.051] Info: Renderer initialized
    [16:24:09.051] Info: Loading ImageMetadataDatabase
    [16:24:09.052] Info: Done loading ImageMetadataDatabase in 0 seconds
    [16:24:09.603] Info: Done loading ObjectDatabase in 0.659 seconds
    [16:24:09.603] Info: Loading PlantDatabase
    [16:24:09.714] Info: Done loading PlantDatabase in 0.111 seconds
    [16:24:09.714] Info: Loading ProjectileDatabase
    [16:24:10.334] Info: Done loading ProjectileDatabase in 0.62 seconds
    [16:24:10.334] Info: Loading MonsterDatabase
    [16:24:10.605] Info: Done loading MonsterDatabase in 0.271 seconds
    [16:24:10.605] Info: Loading NpcDatabase
    [16:24:10.664] Info: Done loading NpcDatabase in 0.059 seconds
    [16:24:10.664] Info: Loading StagehandDatabase
    [16:24:10.664] Info: Done loading StagehandDatabase in 0 seconds
    [16:24:10.664] Info: Loading VehicleDatabase
    [16:24:10.667] Info: Done loading VehicleDatabase in 0.00300002 seconds
    [16:24:10.667] Info: Loading PlayerFactory
    [16:24:10.671] Info: Done loading PlayerFactory in 0.00399995 seconds
    [16:24:10.671] Info: Loading EntityFactory
    [16:24:10.671] Info: Loading VersioningDatabase
    [16:24:10.672] Info: Done loading VersioningDatabase in 0.000999928 seconds
    [16:24:10.672] Info: Done loading EntityFactory in 0.000999928 seconds
    [16:24:10.672] Info: Loading ItemDatabase
    [16:24:13.592] Info: Writing Star::Configuration to '.\..\giraffe_storage\starbound.config'
    [16:24:15.331] Info: Loading FunctionDatabase
    [16:24:15.350] Info: Done loading FunctionDatabase in 0.0190001 seconds
    [16:24:15.353] Info: Loading ParticleDatabase
    [16:24:15.438] Info: Done loading ParticleDatabase in 0.085 seconds
    [16:24:18.439] Info: Done loading ItemDatabase in 7.767 seconds
    [16:24:18.439] Info: Loading MaterialDatabase
    [16:24:18.565] Info: Done loading MaterialDatabase in 0.125 seconds
    [16:24:18.565] Info: Loading TerrainDatabase
    [16:24:18.608] Info: Done loading TerrainDatabase in 0.043 seconds
    [16:24:18.609] Info: Loading BiomeDatabase
    [16:24:18.667] Info: Done loading BiomeDatabase in 0.0580001 seconds
    [16:24:18.668] Info: Loading LiquidsDatabase
    [16:24:18.669] Info: Done loading LiquidsDatabase in 0.00100017 seconds
    [16:24:18.669] Info: Loading StatusEffectDatabase
    [16:24:18.689] Info: Done loading StatusEffectDatabase in 0.02 seconds
    [16:24:18.689] Info: Loading DamageDatabase
    [16:24:18.853] Info: Done loading DamageDatabase in 0.164 seconds
    [16:24:18.853] Info: Loading EffectSourceDatabase
    [16:24:18.867] Info: Done loading EffectSourceDatabase in 0.0140002 seconds
    [16:24:18.867] Info: Loading TreasureDatabase
    [16:24:18.904] Info: Done loading TreasureDatabase in 0.0369999 seconds
    [16:24:18.904] Info: Loading DungeonDefinitions
    [16:24:19.245] Info: Done loading DungeonDefinitions in 0.341 seconds
    [16:24:19.245] Info: Loading TilesetDatabase
    [16:24:19.246] Info: Done loading TilesetDatabase in 0 seconds
    [16:24:19.246] Info: Loading EmoteProcessor
    [16:24:19.246] Info: Done loading EmoteProcessor in 0 seconds
    [16:24:19.246] Info: Loading SpeciesDatabase
    [16:24:19.252] Info: Done loading SpeciesDatabase in 0.00600004 seconds
    [16:24:19.253] Info: Loading QuestTemplateDatabase
    [16:24:19.276] Info: Done loading QuestTemplateDatabase in 0.023 seconds
    [16:24:19.276] Info: Loading AiDatabase
    [16:24:19.289] Info: Done loading AiDatabase in 0.013 seconds
    [16:24:19.289] Info: Loading TechDatabase
    [16:24:19.292] Info: Done loading TechDatabase in 0.00300002 seconds
    [16:24:19.292] Info: Loading CodexDatabase
    [16:24:19.434] Info: Done loading CodexDatabase in 0.142 seconds
    [16:24:19.434] Info: Loading BehaviorDatabase
    [16:24:19.507] Info: Done loading BehaviorDatabase in 0.072 seconds
    [16:24:19.507] Info: Loading DanceDatabase
    [16:24:19.509] Info: Done loading DanceDatabase in 0.00200009 seconds
    [16:24:19.509] Info: Loading SpawnTypeDatabase
    [16:24:19.518] Info: Done loading SpawnTypeDatabase in 0.00900006 seconds
    [16:24:19.519] Info: Done fully loading Star::Root
    [16:24:19.527] Info: Renderer destroyed
    [16:24:20.776] Info: Renderer initialized
    [16:24:29.304] Info: Renderer destroyed
    [16:24:50.775] Error: UniverseClient: Join failed! Error connecting to 'xx.xxx.xx.xxx:21025' (NetworkException) cannot connect to xx.xxx.xx.xxx:21025: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

    [16:24:50.840] Info: Renderer initialized
    [16:24:52.579] Info: Renderer destroyed
    [16:24:52.596] Info: Renderer initialized
    [16:24:54.370] Info: Renderer destroyed
    [16:24:54.373] Info: Application quitting!
    [16:24:54.373] Info: Client shutdown gracefully
    [16:24:54.530] Info: Shutting down Star::Root
     
  9. lazarus78

    lazarus78 The Waste of Time

    So if you host on the same computer that you play, can you connect via 127.0.0.1? If not, then the issue is the server is either not properly set up (Something may have changed) or you may have other network issues that need to be resolved.
     
  10. Xcuses

    Xcuses Intergalactic Tourist

    I was able to connect using 127.0.0.1 right now, but before I hadn't been able to. Starbound stops responding for me and my friend who attempt to connect using the IP. I've tried running as an admin as well and it didn't work still. Thank you for all your help, but at this point would you know what possibly could have changed in the past couple weeks, besides my IP. My IP know hasn't changed. The only reason I posted this thread is because IT WAS WORKING a week ago!
     
  11. lazarus78

    lazarus78 The Waste of Time

    Ok, so 127.0.0.1 works. Correct?

    Now try using your own local IP. Sorry if this is repeating, but its important to establish where exactly the division between working and not is.
     
  12. Xcuses

    Xcuses Intergalactic Tourist

    I can log in to the server using my own IPv4. Canyouseeme.org shows an error connecting to my port though... I am still unsure how this even worked the first time around because it seems my network is the issue...
     
  13. Dunto

    Dunto Guest

    Did you check both your internal (LAN) IP and your external IP? Your LAN IP can change if your router/modem was rebooted, which will invalidate your port-forward settings (you'll have to update them with the new IP).
     
  14. Xcuses

    Xcuses Intergalactic Tourist

    I can connect through the LAN IP, it hasn't changed, that is the IPv4 I was referring to, and my external IP is still the same.
     
  15. lazarus78

    lazarus78 The Waste of Time

    Ok, so if you can connect with 127.0.0.1 and your local IP, then the server is fine. The issue resides in your router. Double check the forwarding. Remove it and redo it just to be sure.
     
  16. Xcuses

    Xcuses Intergalactic Tourist

    I have hard reset the router and then portforwarded again and yet the problem still persists. I'm sorry that this just seems like I have a bad router, but I ensure you I was able to host the server once I installed the game and had another party with a different IP able to connect. Now that I have played it single player, It doesn't work for others on multiplayer. I am still able to connect using my LAN IP and 127.0.0.1
     
  17. lazarus78

    lazarus78 The Waste of Time

    Are you the one testing external connection? Usually this will fail. You need someone else to test it. Also, as a test, disable your router's firewall if able.
     
  18. Xcuses

    Xcuses Intergalactic Tourist

    Firewall disabled, and now I cannot connect using my LAN IP and a friend cannot connect from another external connection. My previous post shows how temperamental it is, because I was able to connect a few weeks ago on the LAN IP but haven't tried in weeks and now it doesn't even work. I have reset the router and the logs haven't changed from what I have previously posted. Almost at the point of giving up.
     
  19. wafflecat

    wafflecat Space Hobo

    Hey Xcuses. Are you using windows? If so, it could be that your windows firewall is blocking the server. Check 'windows firewall with advanced security' for the Starbound_Server, and see if it's allowed AND which version of it is allowed (64 or 32).
    I've seen someone having this issue because he was using a different version the second time, which was not allowed in the firewall.
    Hope this helps

    EDIT:
    Also, you could try opening a DMZ through your router for your computer. I believe you'll need to feed it your IPv4 address though I'm not sure.
    This solution should always work 'cause it's opening all ports for everyone, so you'll have to be careful who you give your IP to, but if it's just a friend it should be alright :)
     
  20. Kashmir

    Kashmir Giant Laser Beams

    That's exactly what happened to me. In windows 8.1 you need to approve the SB app in the firewall settings. Drove me crazy until I figured that out.
     

Share This Page