1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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 API call failed

Discussion in 'Server Help' started by Asu, Jan 30, 2014.

  1. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    Hello,
    I just bought a new VPS for my KAG server ( Running Ubuntu 12.04 server, latest kernel ( 2.6.32-042stab084.17 in x86_64 ) , just did 'apt-get update' and 'apt-get upgrade' ).

    I ran the server. Everything works properly like in my previous VPS but I'm getting an API call error :
    Code:
    [11:38:02] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [11:38:02] WARNING: API call failed: serverPort or serverAddress not present for putMinimapPNG()
    I've tried disabling IPv6 on machine like I did on my previous VPS to get API calls working.
    I've tried setting sv_ipv6 to 0 in autoconfig.cfg
    I've tried setting up on other port than default.
    I've tried to set sv_ip on my current server IP.
    I can connect to the KAG server manually.
    Changing ports doesn't change anything.
    The machine can ping api.kag2d.com.
    Here is my autoconfig.cfg : http://pastebin.com/PyqdwMmk
    My VPS is the one the most at the right : http://www.dedishops.com/vps ( It's in french but I guess you don't even need to speak french to understand it )

    That's quite boring, so thanks in advance...
     
    Beepo and Diprog like this.
  2. SnIcKeRs

    SnIcKeRs Bison Rider

    Messages:
    148
    debian 7, same problem + drops all players in 15-30 minutes
     
  3. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    Mazey tried to help me on IRC but we didn't find a solution.
    I guess devs could help us. @FliesLikeABrick
     
  4. SnIcKeRs

    SnIcKeRs Bison Rider

    Messages:
    148
    upload_2014-2-1_23-20-46.png
    I can see that in iptraf when server is started
    213.... is my server

    Its epicly annoying when server drops all players :QQ:
     
  5. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    Nope I don't have 303 error.
     
  6. SnIcKeRs

    SnIcKeRs Bison Rider

    Messages:
    148
    Only host changing helped me
     
  7. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    Damn :|
    I guess I'll ask on dedishop forums.
    --- Double Post Merged, Feb 4, 2014, Original Post Date: Feb 3, 2014 ---
    Still no idea?
    @Shadlington @MM
     
  8. SnIcKeRs

    SnIcKeRs Bison Rider

    Messages:
    148
    Change host :)
     
  9. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    It's the best host I've ever found... 15€ for 8GB & 5 cores, that's not nothing!
     
  10. SnIcKeRs

    SnIcKeRs Bison Rider

    Messages:
    148
    Hosts with OpenVZ oversells, they sell not true server power. Google KVM
     
  11. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    bump, it's veryveryvery annoying D:
    --- Double Post Merged, Feb 9, 2014, Original Post Date: Feb 8, 2014 ---
    trying installing other OS ( fedora ) atm.
    edit : same D:
     
  12. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    So are people not able to join? Or what is the problem?
     
  13. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    I can connect manually by IP, but the server is not in the browser.
     
    Beepo likes this.
  14. Beepo

    Beepo Asian Faggot Donator
    1. Delta Force - Delta

    Messages:
    3
    Server won't appear on the server list.
    People can direct connect to it but will get kick out after certain time. Even when using rcon.
    Tried solution on from other posts but still does not work. https://forum.kag2d.com/threads/server-problem-api-call-failed.17702/
    I am using windows.