1. If you have a problem and need help, create a new thread with a title that briefly describes the problem.
    Do not use titles like 'Help!' or 'I have a problem!'
    Dismiss Notice
  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

Server API errors

Discussion in 'Server Help' started by vladislavbyk, Aug 28, 2012.

  1. vladislavbyk

    vladislavbyk Catapult Fodder

    Messages:
    22
    Hello there. I have some api errors that appear random times. Server work, and all can connect with IP, but.. Server not appear in server browser.

    Code:
    ...
     
    [22:39:58] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:40:08] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:40:18] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    ...
     
  2. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Check when you first start the server - do you see any errors or warnings about "Cannot determine the server's" (and it'll say something about IP addresses or AF Preference. If you can just attach the entire log to a post that would be helpful.
     
  3. vladislavbyk

    vladislavbyk Catapult Fodder

    Messages:
    22
    The errors have disappeared. When it come again, i will write.
     
  4. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    If you can find a log from when it was happening and post it here anyway, I would really appreciate it - I want to make sure this is not a bug/issue
     
  5. vladislavbyk

    vladislavbyk Catapult Fodder

    Messages:
    22
    No, i cant find log when it start... But forgive me my fault, didnt see the log folder. (argh, i'm so stupid)
    Code:
    [22:35:49] * Config loaded from 'Scripts/config.gm'
    [22:35:49] Creating video device...
    [22:35:49] Checking driver support...
    [22:35:49] Initializing new video device...
    [22:35:49] Irrlicht Engine version 1.8.0-alpha
    [22:35:49] Variable sv_enable_joinfull has NULL type
    [22:35:49] Variable sv_reservedslots has NULL type
    [22:35:49] Variable sv_spectatorslots has NULL type
    [22:35:49] Precaching files...
    [22:35:49]  ...Precaching files.
    [22:35:49] Loading config defines Scripts/defines.cfg
    [22:35:49] Creating world from file ''
    [22:35:49] Loading names from Scripts/NameGen_OldEnglish.cfg...
    [22:35:49] Server created on 0:50301
     
     
    [22:36:05] WARNING: An issue was encountered while detecting the server's external IPv4/IPv6 address(es): cURL Error in determineOutboundIPv6Address(): Timeout was reached -this is it, maybe?
     
     
    [22:36:05] Loading security from Base/Security/securitysetup.cfg
    [22:36:05] Whitelist inactive.
    [22:36:05] Loading blacklist from Base/Security/blacklist.cfg
    [22:36:05] Blacklist active.
    [22:36:05] Loading security levels from Security/seclevs.cfg...
    [22:36:05] Config file not found 'Security/kagstuff.cfg'
    [22:36:05]
    (security levels removed from log)
    [22:36:05] Server activated.
    [22:36:05] Loading game rules from Rules/VB/gamemode.cfg...
    [22:36:05] Loaded team 0 'GUI/emblem1.png'
    [22:36:05]  Loaded team 0 class 0 'GUI/builder_icon.png'
    [22:36:05]  Loaded team 0 class 1 'GUI/knight_icon.png'
    [22:36:05]  Loaded team 0 class 2 'GUI/archer_icon.png'
    [22:36:05] Loaded team 1 'GUI/emblem2.png'
    [22:36:05]  Loaded team 1 class 0 'GUI/builder_icon.png'
    [22:36:05] Loading blob config from Entities/Actors/Wraith.cfg...
    [22:36:05] Loading blob config from Entities/Actors/Greg.cfg...
    [22:36:05] Loading blob config from Entities/Actors/Skeleton.cfg...
    [22:36:05] Loading blob config from Entities/Actors/Bison.cfg...
    [22:36:05] Loading blob config from Entities/Actors/Migrant.cfg...
    [22:36:05] Loading blob config from Entities/Actors/Zombie.cfg...
    [22:36:05] Loading blob config from Entities/Actors/ZombieKnight.cfg...
    [22:36:05] Loading blob config from Entities/Rooms/Zombie_Room.cfg...
    [22:36:05] Loading blob config from Entities/Rooms/Sandbox_Room.cfg...
    [22:36:05] Loading blob config from Entities/Rooms/VB_Room.cfg...
    [22:36:05] Loading blob config from Entities/Rooms/Portal.cfg...
    [22:36:05] Loading blob config from Entities/Rooms/FullCTF_Room.cfg...
    [22:36:05] Loading blob config from Entities/Rooms/CTF_Room.cfg...
    [22:36:05] Loading blob config from Entities/Structures/Pulley.cfg...
    [22:36:05] Loading blob config from Entities/Structures/Door.cfg...
    [22:36:05] Loading blob config from Entities/Managers/ZombieDirector.cfg...
    [22:36:05] Loading blob config from Entities/Items/Keg.cfg...
    [22:36:05] Loading blob config from Entities/Items/lamp.cfg...
    [22:36:05] Loading blob config from Entities/Items/TreasureChest.cfg...
    [22:36:05] Loading blob config from Entities/Items/BouncerBlue.cfg...
    [22:36:05] Loading blob config from Entities/Items/BouncerRed.cfg...
    [22:36:05] Loading blob config from Entities/Items/Lantern.cfg...
    [22:36:05] Loading blob config from Entities/Items/Boulder.cfg...
    [22:36:05] Loading blob config from Entities/Items/Rope.cfg...
    [22:36:05] Loading blob config from Entities/Items/Crate.cfg...
    [22:36:05] Loading blob config from Entities/Effects/Light.cfg...
    [22:36:05] Generating map from seed 109426; size 80000 bytes
    [22:36:10] Loaded VB config
    [22:36:10] *Match Ended*
    [22:36:11] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:36:11] WARNING: API call failed: serverPort or serverAddress not present for putMinimapPNG()
    [22:36:13] Server variables can be changed in Base/Scripts/dedicated_autoconfig.gm (by default)
    [22:36:20] *Match Started*
    [22:36:21] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:36:30] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:36:40] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:36:50] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:37:00] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:37:10] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:37:20] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:37:30] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:37:40] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:37:50] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:38:00] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:38:09] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:38:19] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [22:38:23] Closing console device: Signal 2 received
     
  6. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Are you running this from a VPS?
     
  7. vladislavbyk

    vladislavbyk Catapult Fodder

    Messages:
    22
    No, i run server on my own computer.
     
  8. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    http://test-ipv6.com/

    Can you run that test and share your results here? I'm wondering if you might have something advertising broken IPv6 at home (it's going to cause more issues for you over time)
     
  9. vladislavbyk

    vladislavbyk Catapult Fodder

    Messages:
    22
    Nice.. I have 0/10 for ipv6 and 10/10 for ipv4
     
  10. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Ok, that's good. It just means you don't have IPv6 connectivity - but I was concerned that you might score 6/10 or 8/10 for IPv4 (which means you have problems accessing sites which offer IPv6+IPv4 while you are IPv4 only).

    Thanks for the information, please post here if you have any more problems and we can look into this further.
     
  11. I've this problem on my vps! :<
     
  12. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    clemo, please attach a full console log file to this thread (which shows this problem)
     
  13. Code:
    [20:27:58] Config loaded from 'Scripts/dedicated_autoconfig.gm'
    [20:27:58] * Config loaded from 'Scripts/config.gm'
    [20:27:58] Loading security from Base/Security/securitysetup.cfg
    [20:27:58] Loading ignorelist from Base/Security/ignorelist.cfg
    [20:27:58] Ignorelist empty.
    [20:27:58] Creating video device...
    [20:27:58] Checking driver support...
    [20:27:58] Initializing new video device...
    [20:27:58] Irrlicht Engine version 1.8.0-alpha
    [20:27:58] Precaching files...
    [20:27:58]  ...Precaching files.
    [20:27:58] Loading config defines Scripts/defines.cfg
    [20:27:58] Creating world from file ''
    [20:27:58] Loading names from Scripts/NameGen_OldEnglish.cfg...
    [20:27:58] Server created on 0:50301
    [20:28:14] WARNING: An issue was encountered while detecting the server's external IPv4/IPv6 address(es): cURL Error in determineOutboundIPv6Address(): Timeout was reached
    [20:28:14] Loading security from Base/Security/securitysetup.cfg
    [20:28:14] Whitelist inactive.
    [20:28:14] Loading blacklist from Base/Security/blacklist.cfg
    [20:28:14] Blacklist empty.
    [20:28:14] Loading ignorelist from Base/Security/ignorelist.cfg
    [20:28:14] Ignorelist empty.
    [20:28:14] Loading security levels from Security/seclevs.cfg...
    [20:28:14]
    [20:28:14] name = Super Admin
    [20:28:14] ID = 0
    [20:28:14] users = users = clemo7;
    [20:28:14] roles = rcon;
    [20:28:14] commands = ALL;
    [20:28:14] features = admin_color; always_change_team; ban_immunity; editor; freeze_immunity; join_full; kick_immunity; map_vote; mark_any_team; mark_player; name_mouseover; pingkick_immunity; silent_rcon; skip_votewait; spectator; view_collapses; view_console; view_rcon;
    [20:28:14] assign = admin; normal; premium; vip;
     
    [20:28:14] name = Admin
    [20:28:14] ID = 1
    [20:28:14] users =
    [20:28:14] roles = kagstaff;
    [20:28:14] commands = assignseclev; assignseclevid; ban; banhost; banid; freezeid; help; kick; kickhid; kickhost; kickid; list; listbans; login; msg; nextmap; players; printseclevs; restartmap; swapid; unban; unbanhost; unfreezeid;
    [20:28:14] features = always_change_team; ban_immunity; freeze_immunity; join_full; kick_immunity; map_vote; mark_any_team; mark_player; name_mouseover; pingkick_immunity; skip_votewait; spectator; view_collapses; view_rcon;
    [20:28:14] assign = normal; premium; vip;
     
    [20:28:14] name = Guard
    [20:28:14] ID = 2
    [20:28:14] users =
    [20:28:14] roles = guard;
    [20:28:14] commands = ban; banhost; banid; freezeid; help; kick; kickhost; kickid; list; listbans; login; players; swapid; unban; unbanhost; unfreezeid;
    [20:28:14] features = always_change_team; freeze_immunity; join_full; map_vote; mark_any_team; mark_player; name_mouseover; pingkick_immunity; skip_votewait; spectator; view_collapses;
    [20:28:14] assign =
     
    [20:28:14] name = VIP
    [20:28:14] ID = 3
    [20:28:14] users =
    [20:28:14] roles =
    [20:28:14] commands = help; login;
    [20:28:14] features = freeze_immunity; join_reserved; map_vote; mark_any_team; mark_player; pingkick_immunity; skip_votewait; spectator;
    [20:28:14] assign =
     
    [20:28:14] name = Premium
    [20:28:14] ID = 4
    [20:28:14] users =
    [20:28:14] roles = premium;
    [20:28:14] commands = help; login;
    [20:28:14] features = map_vote; mark_player; spectator;
    [20:28:14] assign =
     
    [20:28:14] name = Normal
    [20:28:14] ID = 5
    [20:28:14] users =
    [20:28:14] roles =
    [20:28:14] commands = help; login;
    [20:28:14] features = map_vote; mark_player; spectator;
    [20:28:14] assign =
     
    [20:28:14] Server activated.
    [20:28:14] Loading game rules from Rules/FastRound/gamemode.cfg...
    [20:28:14] Loaded team 0 'GUI/emblem1.png'
    [20:28:14]  Loaded team 0 class 0 'GUI/knight_icon.png'
    [20:28:14]  Loaded team 0 class 1 'GUI/archer_icon.png'
    [20:28:14] Loaded team 1 'GUI/emblem2.png'
    [20:28:14]  Loaded team 1 class 0 'GUI/knight_icon.png'
    [20:28:14]  Loaded team 1 class 1 'GUI/archer_icon.png'
    [20:28:14] Loading blob config from Entities/Items/Lantern.cfg...
    [20:28:14] Loading blob config from Entities/Items/TreasureChest.cfg...
    [20:28:14] Loading blob config from Entities/Items/Crate.cfg...
    [20:28:14] Loading blob config from Entities/Items/Keg.cfg...
    [20:28:14] Loading blob config from Entities/Items/Rope.cfg...
    [20:28:14] Loading blob config from Entities/Items/Boulder.cfg...
    [20:28:14] Loading blob config from Entities/Actors/Bison.cfg...
    [20:28:14] Loading blob config from Entities/Actors/Migrant.cfg...
    [20:28:14] Loading blob config from Entities/Actors/Wraith.cfg...
    [20:28:14] Loading blob config from Entities/Actors/Skeleton.cfg...
    [20:28:14] Loading blob config from Entities/Actors/ZombieKnight.cfg...
    [20:28:14] Loading blob config from Entities/Actors/Zombie.cfg...
    [20:28:14] Loading blob config from Entities/Actors/Greg.cfg...
    [20:28:14] Loading blob config from Entities/Effects/Light.cfg...
    [20:28:14] Loading blob config from Entities/Structures/Door.cfg...
    [20:28:14] Loading blob config from Entities/Structures/Pulley.cfg...
    [20:28:14] Loading blob config from Entities/Rooms/FullCTF_Room.cfg...
    [20:28:14] Loading blob config from Entities/Rooms/Portal.cfg...
    [20:28:14] Loading blob config from Entities/Rooms/Zombie_Room.cfg...
    [20:28:14] Loading blob config from Entities/Rooms/CTF_Room.cfg...
    [20:28:14] Loading blob config from Entities/Rooms/Sandbox_Room.cfg...
    [20:28:14] Loading blob config from Entities/Managers/ZombieDirector.cfg...
    [20:28:14] *Match Ended*
    [20:28:14] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [20:28:14] WARNING: API call failed: serverPort or serverAddress not present for putMinimapPNG()
    [20:28:17] 
    [20:28:17] *** RCON password is not set, you won't be able to remotely administrate the server
    [20:28:17] 
    [20:28:17] 
    [20:28:17]        ********* WARNING *********
    [20:28:17] 
    [20:28:17] sv_allow_globals_mods is set to 1. This means GLOBAL GUARDS AND ADMINS can administer your server and kick players to help prevent griefing. If you do not accept this, please turn this variable to 0.
    [20:28:17] 
    [20:28:17] Server variables can be changed in Base/Scripts/dedicated_autoconfig.gm (by default)
    [20:28:24] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [20:28:31] Closing console device: Signal 2 received
    
     
  14. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    [20:28:14] WARNING: An issue was encountered while detecting the server's external IPv4/IPv6 address(es): cURL Error in determineOutboundIPv6Address(): Timeout was reached

    That's the important part - your VPS has broken IPv6 connectivity. Contact your host and tell them that their VPS configurations are causing broken IPv6, it should be disabled.

    If you want me to give specifics, please post in this thread the output of the following commands:
    - ip -6 ro sh
    - ip -6 addr sh
     
    • I've already do a server on this host; In June.
    default dev venet0 metric 1 mtu 1500 advmss 1440 hoplimit 0
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
     
  15. Teemo

    Teemo T͔̕e͖͚̖̯̩̪͙͝e͡m̖o̤̪͘ Forum Moderator Donator Tester

    Messages:
    244
    yeah if it's venet0 then you can't really do anything at all - you're in essentially a glorified chroot

    contact host.
     
  16. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    What Teemo said - contact your host, tell them that they should not have a default IPv6 route on this server
     
  17. Mazey

    Mazey Haxor Global Moderator Forum Moderator Staff Alumni Donator Official Server Admin

    Messages:
    1,914
    First of all, sorry for the huge necro of almost a year.

    For anyone with the same problem as Clemo (had), which I had too, this is how I recently fixed it:
    PHP:
    sudo ip -6 route del dev venet0
     
    Last edited: Nov 20, 2013
    Takain likes this.
  18. wildnikke

    wildnikke Burner Donator

    Messages:
    22
    This should be moved to Server Help not General Help, Just pointing that out.

    //Moved - Kaizokuroof