Can't use local server, Connection to Server Failed, Returning to Main Menu.

Discussion in 'Support!' started by foxhive, January 10, 2015.

  1. foxhive

    foxhive New Member

    Messages:
    27
    Likes Received:
    0
    Why didn´t you tell us this right at the beginning?!
    But... I said that ..

    Okay, So that was it?
  2. radongog

    radongog Well-Known Member

    Messages:
    638
    Likes Received:
    295
    Oh, you´re right. It just looks like nobody (even I... :() read it... :oops:
  3. foxhive

    foxhive New Member

    Messages:
    27
    Likes Received:
    0
    Lol ^^
    So there is nothing to do?
  4. radongog

    radongog Well-Known Member

    Messages:
    638
    Likes Received:
    295
    Well, of course, get another ram modul and install it in your laptop! :)

    (4GiB SO-Dimm DDR3 costs round 40€...)
  5. foxhive

    foxhive New Member

    Messages:
    27
    Likes Received:
    0
    Oh that's too bad ... I do not like having to spend that .. Especially since the game does not ram at all when I play on a server, but my connection really sucks and it crashes often .. I can not finish any game VS AI :(
    But thank you very much for your help
  6. trialq

    trialq Post Master General

    Messages:
    1,295
    Likes Received:
    917
    There must be a way to play local games on 6GB of ram? I'd hope it's a recommended value, not forced.
  7. foxhive

    foxhive New Member

    Messages:
    27
    Likes Received:
    0
    There must be a way to play local games on 6GB of ram? I'd hope it's a recommended value, not forced.

    Yes !! Me too ! I really hope this !
    But it doesn't work on my pc and I don't know why

    If a launch a server with this command : server.exe --headless --game-mode Config --allow-lan --server-name joinMe

    A server window is just a console without a black window with No sim displayed
    It's normal ?
    Last edited: January 11, 2015
  8. foxhive

    foxhive New Member

    Messages:
    27
    Likes Received:
    0
    I just noticed something!
    Whenever I run the server, when I try to start a game against the AI
    the server closes!
  9. foxhive

    foxhive New Member

    Messages:
    27
    Likes Received:
    0
    I have a small forward with that one person told me
    I type the command he told me namely --headless --game-Mode Config --allow-lan --server-name JoinMe
    Except I remove the --Headless

    In the game I see in multiplayer / Custom
    a local part is what he had to score there

    Partie Planet Mode Mod case Obse Region
    Undefined / / No 0/1 0/0 Local


    But Trying to connect me back to the same point .. In fact server connection fails and server close (not systematically)


    But in the console there wrote:

    BEACON INFO: 10 bytes from 192.168.43.75: 50813

    Three or four times

    Even if I do nothing, the server closes anyway
    Even if I launch just the server and not the game
    But just before shutting down server, in the console for less than one second, it is write what is write in image i have upload ^^ sorry for quality ... I not lucky luck xD

    Attached Files:

  10. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I am not quite sure why that part of the code is executed for you.
    My best guess is that your connection to the server fails after only a few seconds and then the server shuts down because "the last player left the game".

    Try to add --keep-alive to the server parameters. That will prevent the server from exiting in that specific location of the cause. No idea if it will help with the real issue though.
  11. foxhive

    foxhive New Member

    Messages:
    27
    Likes Received:
    0
    Server it's keep alive thanks ^^

    In custom multiplayer I can see server but when I click to Join, the problem is a same
    I try connect a few time it's always a same problem
    After many try, that is write in console :

    [13:14:15.000] INFO Mounting H:\SteamLibrary\SteamApps\common\Planetary Annihila
    tion\media\ as /
    [13:14:15.015] INFO SDL: Built w/ v2.0.3, linked w/ v2.0.3
    [13:14:15.015] INFO Loaded buildID 2014122376557
    [13:14:15.015] WARN Crash reporting disabled.
    [13:14:15.031] INFO Starting async parallel for driver with 3 threads
    [13:14:15.624] INFO Successfully created context with configuration 1/9: v4.4 (c
    ore)
    [13:14:15.624] INFO HAL initializing...
    [13:14:15.624] INFO OpenGL Vendor: NVIDIA Corporation
    [13:14:15.624] INFO OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
    [13:14:15.639] INFO OpenGL Version: 4.4.0 NVIDIA 344.75
    [13:14:15.639] INFO OpenGL Shader Language Version: 4.40 NVIDIA via Cg compiler
    [13:14:15.639] INFO Vendor flag set to NVidia
    [13:14:15.639] INFO Supported rasterizer capabilities: Gamma correct pipeline, R
    anged mapping, Advanced instancing, Advanced shaders, Compute shaders, Persisten
    t buffer mapping
    [13:14:15.655] INFO Unsupported rasterizer capabilities:
    [13:14:15.655] INFO Buffer textures enabled.
    [13:14:15.655] INFO initial size 1280x720
    [13:14:15.670] INFO Loading effects from file /shaders/post.json
    [13:14:15.686] INFO Loading effects from file /shaders/content.json
    [13:14:16.748] INFO Loading effects from file /shaders/impostors.json
    [13:14:16.748] INFO Loading effects from file /shaders/misc.json
    [13:14:16.764] INFO Loading effects from file /shaders/particle.json
    [13:14:16.811] INFO Loading effects from file /shaders/scene.json
    [13:14:16.826] INFO Loading effects from file /shaders/vtex.json
    [13:14:16.858] INFO Starting background thread pool with 3 threads
    [13:14:16.858] INFO GameServerImpl::resetModUpdateAuthToken: Auth token reset to
    "eae64824-b8b7-b249-8e6e-1fed26f2dd77"
    [13:20:54.331] INFO BEACON: 10 bytes from 192.168.43.75:61539
    [13:20:56.328] INFO BEACON: 10 bytes from 192.168.43.75:61539
    [13:25:33.417] INFO BEACON: 10 bytes from 192.168.43.75:64106
    [13:25:35.429] INFO BEACON: 10 bytes from 192.168.43.75:64106
    [13:29:13.082] INFO BEACON: 10 bytes from 192.168.43.75:62047
    [13:29:15.079] INFO BEACON: 10 bytes from 192.168.43.75:62047
    [13:49:31.857] INFO BEACON: 10 bytes from 169.254.86.5:58382
    [13:49:33.869] INFO BEACON: 10 bytes from 169.254.86.5:58382
    [13:49:35.866] INFO BEACON: 10 bytes from 169.254.86.5:58382
    [13:49:37.878] INFO BEACON: 10 bytes from 169.254.86.5:58382
    [13:49:39.891] INFO BEACON: 10 bytes from 169.254.86.5:58382
    [13:49:41.903] INFO BEACON: 10 bytes from 169.254.86.5:58382
  12. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    really looks a lot like something is preventing the connnection to work on your local system.
    Try to do ... I think it was -p 8821 or similar to try a different port.
  13. foxhive

    foxhive New Member

    Messages:
    27
    Likes Received:
    0
    Oh I add this after that command ? --headless --game-mode Config --allow-lan --server-name joinMe -p 8821 ?
  14. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I think so
    you can do server.exe --help to verify
  15. foxhive

    foxhive New Member

    Messages:
    27
    Likes Received:
    0
    I tried but the window close very fast I can't read nothing
    and I try few port but that change nothing :/
  16. trialq

    trialq Post Master General

    Messages:
    1,295
    Likes Received:
    917
    That is right. You can keep the window up by opening cmd and running server.exe from there (windows button, type cmd and hit enter).
  17. foxhive

    foxhive New Member

    Messages:
    27
    Likes Received:
    0
    Thank you ^^ it's work but connection fail always :/

    That in Log don't help ?

    [23:32:05.626] INFO Connect to 127.0.0.1:20545 failed: Failed
    [23:32:26.686] INFO Connect to 127.0.0.1:20545 failed: Failed
    [23:32:28.700] INFO Connect to 127.0.0.1:20545 failed: Refused
    [23:32:29.698] INFO Connect to 127.0.0.1:20545 failed: Refused
    [23:32:30.697] INFO Connect to 127.0.0.1:20545 failed: Refused
    [23:32:30.697] INFO Could not connect to server at 127.0.0.1:20545: Refused
    [23:32:30.697] INFO client::ClientGame::connection_ConnectionFailed
    [23:32:33.708] INFO client::ClientGame::resetGameState
    [23:32:33.708] INFO Mouse constraint cleared.
    [23:32:33.708] INFO ClientInterface constructed
    [23:32:34.706] INFO Connect to 127.0.0.1:20545 failed: Refused
    [23:32:35.720] INFO Connect to 127.0.0.1:20545 failed: Refused
    [23:32:36.718] INFO Connect to 127.0.0.1:20545 failed: Refused
    [23:32:37.717] INFO Connect to 127.0.0.1:20545 failed: Refused
    [23:32:38.715] INFO Connect to 127.0.0.1:20545 failed: Refused
    [23:32:38.715] INFO Could not connect to server at 127.0.0.1:20545: Refused
    Last edited: January 12, 2015

Share This Page