1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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
  3. 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 Cant Run: API CALL FAILED

Discussion in 'General Help' started by Froghead48, Jun 23, 2012.

  1. Froghead48

    Froghead48 Haxor

    Messages:
    703
    OK. i run a server from my house, cuase im cheap. me and my buddy's were going to get on it, and when i tried running it. i got this warning

    [07:08:52] WARNING: API call failed: serverport or serverAddress not present for
    putstatus<>

    server log:
    [08:09:31] Config loaded from 'Scripts/dedicated_autoconfig.gm'
    [08:09:31] * Config loaded from 'Scripts/config.gm'
    [08:09:31] Loading security from Base/Scripts/securitysetup.cfg
    [08:09:31] Whitelist inactive.
    [08:09:31] Blacklist empty.
    [08:09:31] Creating video device...
    [08:09:31] Checking driver support...
    [08:09:31] Initializing new video device...
    [08:09:31] Irrlicht Engine version 1.8.0-alpha
    [08:09:31] Microsoft Windows Vista Home Premium Edition Service Pack 2 (Build 6002)
    [08:09:31] Joystick support is enabled and 0 joystick(s) are present.
    [08:09:31] Precaching files...
    [08:09:31] ...Precaching files.
    [08:09:31] Loading config defines Scripts/defines.cfg
    [08:09:31] Creating world from file ''
    [08:09:31] Loading names from Scripts/NameGen_OldEnglish.cfg...
    [08:09:31] Server created on 72.224.30.9:50301
    [08:09:46] WARNING: An issue was encountered while detecting the server's external IPv4/IPv6 address(es): cURL Error in determineOutboundIPv6Address(): Timeout was reached
    [08:09:46] Server activated.
    [08:09:46] Loading game rules from Rules/TEST/gamemode.cfg...
    [08:09:46] Loaded team 0 'GUI/emblem1.png'
    [08:09:46] Loaded team 0 class 0 'GUI/archer_icon.png'
    [08:09:46] Loaded team 0 class 1 'GUI/knight_icon.png'
    [08:09:46] Loaded team 0 class 2 'GUI/builder_icon.png'
    [08:09:46] Loaded team 1 'GUI/emblem2.png'
    [08:09:46] Loaded team 1 class 0 'GUI/builder_icon.png'
    [08:09:46] Loaded team 1 class 1 'GUI/knight_icon.png'
    [08:09:46] Loaded team 1 class 2 'GUI/archer_icon.png'
    [08:09:46] Loaded team 2 ''
    [08:09:46] Loaded team 2 class 0 'GUI/builder_icon.png'
    [08:09:46] Loaded team 2 class 1 'GUI/knight_icon.png'
    [08:09:46] Loaded team 2 class 2 'GUI/archer_icon.png'
    [08:09:46] Loaded team 3 ''
    [08:09:46] Loaded team 3 class 0 'GUI/builder_icon.png'
    [08:09:46] Loaded team 3 class 1 'GUI/knight_icon.png'
    [08:09:46] Loaded team 3 class 2 'GUI/archer_icon.png'
    [08:09:46] Loaded team 4 ''
    [08:09:46] Loaded team 4 class 0 'GUI/builder_icon.png'
    [08:09:46] Loaded team 4 class 1 'GUI/knight_icon.png'
    [08:09:46] Loaded team 4 class 2 'GUI/archer_icon.png'
    [08:09:46] Loaded team 5 ''
    [08:09:46] Loaded team 5 class 0 'GUI/builder_icon.png'
    [08:09:46] Loaded team 5 class 1 'GUI/knight_icon.png'
    [08:09:46] Loaded team 5 class 2 'GUI/archer_icon.png'
    [08:09:46] Loaded team 6 ''
    [08:09:46] Loaded team 6 class 0 'GUI/builder_icon.png'
    [08:09:46] Loaded team 6 class 1 'GUI/knight_icon.png'
    [08:09:46] Loaded team 6 class 2 'GUI/archer_icon.png'
    [08:09:46] Config file not found 'Rules/TEST/team8.cfg Rules/TEST/team9.cfg'
    [08:09:46] Loading blob config from Entities/Actors/Bison.cfg...
    [08:09:46] Loading blob config from Entities/Actors/Greg.cfg...
    [08:09:46] Loading blob config from Entities/Actors/Migrant.cfg...
    [08:09:46] Loading blob config from Entities/Actors/Skeleton.cfg...
    [08:09:46] Loading blob config from Entities/Actors/Wraith.cfg...
    [08:09:46] Loading blob config from Entities/Actors/Zombie.cfg...
    [08:09:46] Loading blob config from Entities/Actors/ZombieKnight.cfg...
    [08:09:46] Loading blob config from Entities/Effects/Light.cfg...
    [08:09:46] Loading blob config from Entities/Items/Boulder.cfg...
    [08:09:46] Loading blob config from Entities/Items/Crate.cfg...
    [08:09:46] Loading blob config from Entities/Items/Keg.cfg...
    [08:09:46] Loading blob config from Entities/Items/Lantern.cfg...
    [08:09:46] Loading blob config from Entities/Items/LanternB.cfg...
    [08:09:46] Loading blob config from Entities/Items/LanternG.cfg...
    [08:09:46] Loading blob config from Entities/Items/LanternR.cfg...
    [08:09:46] Loading blob config from Entities/Items/Rope.cfg...
    [08:09:46] Loading blob config from Entities/Items/SKeg.cfg...
    [08:09:46] Loading blob config from Entities/Items/TreasureChest.cfg...
    [08:09:46] Loading blob config from Entities/Managers/ZombieDirector.cfg...
    [08:09:46] Loading blob config from Entities/Rooms/CTF_Room.cfg...
    [08:09:46] Loading blob config from Entities/Rooms/FullCTF_Room.cfg...
    [08:09:46] Loading blob config from Entities/Rooms/Portal.cfg...
    [08:09:46] Loading blob config from Entities/Rooms/Sandbox_Room.cfg...
    [08:09:46] Loading blob config from Entities/Rooms/Zombie_Room.cfg...
    [08:09:46] Loading blob config from Entities/Structures/Door.cfg...
    [08:09:46] Loading blob config from Entities/Structures/Pulley.cfg...
    [08:09:47] Loaded WAR default config
    [08:09:47] Config finished loading from Scripts/Server/dedicated_autostart.gm
    [08:09:47] *Match Ended*
    [08:09:47] Map saved to memory
    [08:09:48] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [08:09:48] *Match Started*
    [08:09:49] WARNING: API call failed: serverPort or serverAddress not present for putMinimapPNG()
    [08:09:50]
    [08:09:50] ********* WARNING *********
    [08:09:50]
    [08:09:50] 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.
    [08:09:50]
    [08:09:50] Server variables can be changed in Base/Scripts/dedicated_autoconfig.gm (by default)
    [08:09:58] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [08:10:08] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [08:10:17] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [08:10:27] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [08:10:37] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [08:10:47] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [08:10:57] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [08:11:07] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [08:11:17] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    [08:11:27] WARNING: API call failed: serverPort or serverAddress not present for putStatus()
    What the hell is this and how the hell is it fixed?
    please help me (:

    edit: 75% of the time if im on kag when i run my server, i get this. other times, rarely.
     
  2. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    Did you add a port and address at the config file?
     
  3. Froghead48

    Froghead48 Haxor

    Messages:
    703
    Yessir. it was working until i restarted it a day or two ago.
     
  4. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Please post your entire console log from the server here
     
  5. Froghead48

    Froghead48 Haxor

    Messages:
    703
    ill do that when i get on my home computer, at the library now :L
     
  6. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Also post the output of these commands:

    ip -6 addr sh
    ip -6 ro sh
    ping6 api.kag2d.com

    curl -v http://ds-whoami.kag2d.com

    Thanks
     
  7. Froghead48

    Froghead48 Haxor

    Messages:
    703
    no clue what those are.
    i put the server logs in the first post.
     
  8. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Those are commands I need you to run - just paste each of those into the console/terminal and paste the results back here
     
  9. Froghead48

    Froghead48 Haxor

    Messages:
    703
    Sorry, but where do i put them? i dont understand this :L
     
  10. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Are you running this server on linux or windows?
     
  11. Froghead48

    Froghead48 Haxor

    Messages:
    703
    Windows
     
  12. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    ok, those were linux commands because most people don't run servers on windows (I see now that the thread title says windows, sorry)

    Run these and paste the entire output here:
    ipconfig /all
    route print
    ping api.kag2d.com
    ping -4 kag2d.com
    ping -6 kag2d.com
     
  13. Froghead48

    Froghead48 Haxor

    Messages:
    703
    in the CommandPromt Correct?
     
  14. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
  15. Froghead48

    Froghead48 Haxor

    Messages:
    703
    mmmkay. is there any quick way to paste the results here?
     
  16. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
  17. Froghead48

    Froghead48 Haxor

    Messages:
    703
    Microsoft Windows [Version 6.0.6002]
    Copyright (c) 2006 Microsoft Corporation. All rights reserved.
    C:\Users\fear>ipconfig
    Windows IP Configuration

    Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . : nycap.rr.com
    Link-local IPv6 Address . . . . . : fe80::3868:a62b:4de7:54dc%10
    IPv4 Address. . . . . . . . . . . : 72.224.30.9
    Subnet Mask . . . . . . . . . . . : 255.255.240.0
    Default Gateway . . . . . . . . . : 72.224.16.1
    Tunnel adapter Local Area Connection* 6:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . : nycap.rr.com
    Tunnel adapter Local Area Connection* 14:
    Connection-specific DNS Suffix . :
    IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:4ba:10fc:b71f:e1f6
    Link-local IPv6 Address . . . . . : fe80::4ba:10fc:b71f:e1f6%11
    Default Gateway . . . . . . . . . :
    Tunnel adapter Local Area Connection* 7:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Tunnel adapter Local Area Connection* 11:
    Connection-specific DNS Suffix . : nycap.rr.com
    IPv6 Address. . . . . . . . . . . : 2002:48e0:1e09::48e0:1e09
    Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301
    C:\Users\fear>^V
    '▬' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Users\fear>/paste
    '/paste' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Users\fear>/all
    '/all' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Users\fear>routeprint
    'routeprint' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Users\fear>route print
    ===========================================================================
    Interface List
    10 ...00 1c 25 86 be 21 ...... NVIDIA nForce Networking Controller
    1 ........................... Software Loopback Interface 1
    18 ...00 00 00 00 00 00 00 e0 isatap.nycap.rr.com
    11 ...02 00 54 55 4e 01 ...... Teredo Tunneling Pseudo-Interface
    16 ...00 00 00 00 00 00 00 e0 6TO4 Adapter
    19 ...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #2
    ===========================================================================
    IPv4 Route Table
    ===========================================================================
    Active Routes:
    Network Destination Netmask Gateway Interface Metric
    0.0.0.0 0.0.0.0 72.224.16.1 72.224.30.9 20
    72.224.16.0 255.255.240.0 On-link 72.224.30.9 276
    72.224.30.9 255.255.255.255 On-link 72.224.30.9 276
    72.224.31.255 255.255.255.255 On-link 72.224.30.9 276
    127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
    127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
    127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
    224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
    224.0.0.0 240.0.0.0 On-link 72.224.30.9 276
    255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
    255.255.255.255 255.255.255.255 On-link 72.224.30.9 276
    ===========================================================================
    Persistent Routes:
    None
    IPv6 Route Table
    ===========================================================================
    Active Routes:
    If Metric Network Destination Gateway
    19 1125 ::/0 2002:c058:6301::c058:6301
    1 306 ::1/128 On-link
    11 18 2001::/32 On-link
    11 266 2001:0:4137:9e76:4ba:10fc:b71f:e1f6/128
    On-link
    19 1025 2002::/16 On-link
    19 281 2002:48e0:1e09::48e0:1e09/128
    On-link
    10 276 fe80::/64 On-link
    11 266 fe80::/64 On-link
    11 266 fe80::4ba:10fc:b71f:e1f6/128
    On-link
    10 276 fe80::3868:a62b:4de7:54dc/128
    On-link
    1 306 ff00::/8 On-link
    11 266 ff00::/8 On-link
    10 276 ff00::/8 On-link
    ===========================================================================
    Persistent Routes:
    None
    C:\Users\fear>ping api.kag2d.com
    Pinging api.kag2d.com [67.23.118.181] with 32 bytes of data:
    Reply from 67.23.118.181: bytes=32 time=27ms TTL=51
    Reply from 67.23.118.181: bytes=32 time=27ms TTL=51
    Reply from 67.23.118.181: bytes=32 time=28ms TTL=51
    Reply from 67.23.118.181: bytes=32 time=28ms TTL=51
    Ping statistics for 67.23.118.181:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 27ms, Maximum = 28ms, Average = 27ms
    C:\Users\fear>ping -4 kag2d.com
    Pinging kag2d.com [67.23.118.186] with 32 bytes of data:
    Reply from 67.23.118.186: bytes=32 time=27ms TTL=51
    Reply from 67.23.118.186: bytes=32 time=27ms TTL=51
    Reply from 67.23.118.186: bytes=32 time=28ms TTL=51
    Reply from 67.23.118.186: bytes=32 time=27ms TTL=51
    Ping statistics for 67.23.118.186:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 27ms, Maximum = 28ms, Average = 27ms
    C:\Users\fear>ping -6 kag2d.com
    Pinging kag2d.com [2607:fd50:1:91b0::50:1d8] from 2002:48e0:1e09::48e0:1e09 with
    32 bytes of data:
    Reply from 2607:fd50:1:91b0::50:1d8: time=140ms
    Reply from 2607:fd50:1:91b0::50:1d8: time=137ms
    Reply from 2607:fd50:1:91b0::50:1d8: time=152ms
    Reply from 2607:fd50:1:91b0::50:1d8: time=138ms
    Ping statistics for 2607:fd50:1:91b0::50:1d8:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 137ms, Maximum = 152ms, Average = 141ms
    C:\Users\fear>
     
  18. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
  19. Froghead48

    Froghead48 Haxor

    Messages:
    703
    Nice. i dont live in troy but across the river from it.
    Also, it wont let me go to http://ds-whoami.kag2d.com.
    (i tried opening it in notpad and it showed my Ipv4 :p)
     
  20. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Ok that's fine if it asks you to download something and you open it in notepad, I'll need to know what it shows in notepad (what you said is fine)

    what about http://v6-whoami.kag2d.com ?