1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

KAG Server Problem "API call failed"

Discussion in 'Server Help' started by Fchen48, Dec 5, 2013.

  1. Fchen48

    Fchen48 Catapult Fodder

    Messages:
    4
    Hello Community,

    I have bought the game some days before at steam, and now I tried since hours to create a server on my rented Ubuntu 12.04.3 LTS Server.
    I do every point like in the wiki and get this error when i tried to start the server:
    I also tried to change propertie "v_ipv6 = 0" or some other things like deactivating ipv6 in the sysctl.conf what I've found in some other threads.

    Don't forget that I'm also running some other games like Minecraft, Terraria, etc. and also web-, mail- and mysql-server!

    Thanks for helping!!!
    Fchen

    Edit:
    It wasn't possible to install libgphoto2-6:i386 libgphoto2-port10:i386
    "package doesn't found!"
     
    Last edited: Dec 5, 2013
  2. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    Try disabling IPv6 on ubuntu ( not just autoconfig ), you'll have a lot of tutorials for this.
    Also for your package not found thing, do sudo apt-get update & sudo apt-get upgrade .
     
  3. Fchen48

    Fchen48 Catapult Fodder

    Messages:
    4
    Thanks, but I already disabled IPv6 with this command in sysctl.conf:
    And I also watch for updates.
     
  4. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    As I remember, this line wasn't enough for me, I needed 3.
     
  5. Leo

    Leo Haxor

    Messages:
    503
    I solved this by doing the following things:
    sv_ipv6 = xxx.xxx.xxx (my real server's IP there)
    sv_enableIPv6 = 0
    sv_ipv6 = (my server's IPv6 there)

    These settings reduced these kind of errors a lot but sometimes they do still occur but I don't do anything and they go away. It's probably some bug of the API and not server's problem.
     
  6. Fchen48

    Fchen48 Catapult Fodder

    Messages:
    4
    In an another tutorial i have see that i should a following lines in sysctl.conf:
    I added that lines and reloaded sysctl with
    and also restartet the server to be sure.
    But nothing helped!

    Same error as before.
    --- Double Post Merged, Dec 5, 2013, Original Post Date: Dec 5, 2013 ---
    I have tried that, but after change it get an timeout like this:
    after 10 sec I get the same error as before:
     
  7. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    What is your server host? You might want to ask them for help.
     
  8. Fchen48

    Fchen48 Catapult Fodder

    Messages:
    4
    At the moment I rented the server from http://professional-gameserver.com/ but I want to switch to http://www.hetzner.com in about 1-2 months.
    So I don't want to ask them, and don't want to pay 28€/30min!!!
    --- Double Post Merged, Dec 12, 2013, Original Post Date: Dec 5, 2013 ---
    Problem already exists, can't anyone help me???
     
  9. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    Actually I don't know.
    I think some developper help should be needed.
     
  10. Kouji

    Kouji Cold, Uncaring, Sadistic, Evil and Cruel Meanie Administrator Global Moderator Forum Moderator Tester
    1. MOLEing Over Large Estates - [MOLE]
    2. REKINS OF SEAS: Super Crew of Ultimate Havoking 2: Return of King of KAG: Chapter 420blazeit - REKIN

    Messages:
    2,910
    Guess I'll post this since it seems to have helped BlueLuigi as well when he asked on IRC.
    Code:
    [19:54:34] <BlueLuigi> Anyone know how to fix API call errors? This I've searched a bit more on and can't find it though I've found af ew people with the same issue
    [19:55:01] <BlueLuigi> Same issue as found here: https://forum.kag2d.com/threads/server-problem-api-call-failed.17702/
    [19:57:55] <Kouji-Senpai> only time I personally got that error was when I accidentally ran 2 servers on the same machine (but seperate screens) on the same port
    [19:58:05] <Kouji-Senpai> and I doubt that's the issue
    [19:58:30] <Kouji-Senpai> man, if only FliesLikeABrick was on
    [19:58:43] <BlueLuigi> hmm
    [19:58:47] <BlueLuigi> could be... let me tcheck something
    [19:58:58] <BlueLuigi> I do have a screen open that I can't kill for some reason
    [19:59:51] <Kouji-Senpai> you can force connect to it by doing screen -Dr #####.screenname
    [20:00:28] <BlueLuigi> I just killed it using -X -S
    [20:00:42] <BlueLuigi> Seeing if it hopefully fi-... maybe hmm
    [20:00:59] <BlueLuigi> Fixed
    If that doesn't help, there's not much else I can do as it's the only time I've personally experienced it.