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 HTTP 303 - API call failed

Discussion in 'Server Help' started by Clemo7, Dec 18, 2013.

  1. Hello,

    On my new server with debian-7.0-x86_64, without IPv6. When I launch my server, with default config:
    And then, API call failed:
    I tried to fix it; disabling IPv6, and open ports with iptables, but same problem.

    EDIT: Full log uploaded.
     

    Attached Files:

    Last edited: Dec 21, 2013
    Beepo likes this.
  2. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Are you running this at home? Do you have a proxy server or something?

    The logs for the address-detection server don't show any 303 responses, I suspect there is something in the middle interfering with your call.

    If you ping v4-whoami.kag2d.com and ds-whoami.kag2d.com , can you paste the results here?
     
  3. Now, it's on vm. Not proxy
    Code:
    ping v4-whoami.kag2d.com
    PING v4-whoami.kag2d.com (67.23.118.179) 56(84) bytes of data.
    64 bytes from 67.23.118.179: icmp_req=1 ttl=52 time=89.8 ms
    etc.
    Code:
    ping ds-whoami.kag2d.com
    PING ds-whoami.kag2d.com (67.23.118.179) 56(84) bytes of data.
    64 bytes from 67.23.118.179: icmp_req=1 ttl=52 time=100 ms
    etc.
     
  4. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Hm ok. I have seen similar errors encountered by other people where the exit status of the HTTP call is returning a "fake" value (in this case the 303). Let me see if Shadlington is free to look into it
     
  5. Some news?
     
  6. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    This does appear to be a bug in the APIClient code, but we are unable to reproduce it. can you post the output of 'uname -a' on the server, as well as 'lsb_release -a' ?
     
  7. Sure!
    Code:
    uname -a
    Linux kagserver 2.6.32-042stab084.12 #1 SMP Mon Dec 16 18:16:56 MSK 2013 x86_64 GNU/Linux
    Code:
    lsb_release -a
    -bash: lsb_release: command not found
    
    Also
    Code:
    cat /etc/debian_version
    7.3