WO_API: http timeout. Any fixes? Tried lots.

Results 1 to 9 of 9
  1. #1
    Member Xplodin is offline
    MemberRank
    Jun 2013 Join Date
    UnknownLocation
    54Posts

    WO_API: http timeout. Any fixes? Tried lots.

    Cant create a game and it will just say "Game finished"

    here is my error log:

    Spoiler:
    000000.005| r3dFS: there is no volume file wo_00.bin000000.006| Connecting to master server at 127.0.0.1:34000
    000000.006| r3dNetwork: Creating client
    000000.036| IP: 192.168.1.129
    000000.036| IP: 25.30.101.111
    000000.036| r3dNetwork: connecting to 127.0.0.1:34000
    000000.036| waiting: connecting, 10.0 sec left
    000000.071| r3dNetwork: external ip: 127.0.0.1:50266
    000000.071| Game: Initializing with 32 players
    000000.071| Server time is Fri Apr 21 06:01:30 2023
    000000.071| CAsyncApiMgr starting
    000000.072| Starting server on port 34010
    000000.072| r3dNetwork: Creating host at port 34010
    000000.080| IP: 192.168.1.129
    000000.080| IP: 25.30.101.111
    000000.095| Getting shop data
    000030.088| WO_API: http timeout
    000030.088| GetShopData FAILED, code: 8
    000030.088| Reading game rewards
    000060.195| WO_API: http timeout
    000060.195| ApiGetDataGameRewards FAILED, code: 8
    000060.195| !!! ERROR: failed to get game rewards
    000060.196| !!! crashed
    000060.196| Creating minidump at logss\GS_1000002c0f01f.dmp
    000060.360| Minidump created.
    Last edited by Xplodin; 18-06-13 at 07:43 PM. Reason: Title change/Bump/new error


  2. #2
    Member Xplodin is offline
    MemberRank
    Jun 2013 Join Date
    UnknownLocation
    54Posts

    Re: WO_API: returned http500 Please Help

    Sorry for the two topics, you may close one of them as one are not needed anymore. thanks.
    P.S. new error for anyone who can solve this, I will personally go out of my way to find new tutorials for you guys. :)
    I was about to post SQL tuts, but pablito already covered it.
    Anyways heres my log:
    Spoiler:
    000000.004| r3dFS: there is no volume file wo_00.bin000000.005| Connecting to master server at 127.0.0.1:34000
    000000.005| r3dNetwork: Creating client
    000000.040| IP: 192.168.1.129
    000000.040| IP: 25.30.101.111
    000000.040| r3dNetwork: connecting to 127.0.0.1:34000
    000000.040| waiting: connecting, 10.0 sec left
    000000.075| r3dNetwork: external ip: 127.0.0.1:61829
    000000.075| Game: Initializing with 32 players
    000000.075| Server time is Tue Apr 11 09:51:30 2023
    000000.075| CAsyncApiMgr starting
    000000.076| Starting server on port 34010
    000000.076| r3dNetwork: Creating host at port 34010
    000000.084| IP: 192.168.1.129
    000000.085| IP: 25.30.101.111
    000000.129| Getting shop data
    000001.527| WO_API: returned http500
    000001.527| GetShopData FAILED, code: 8
    000001.528| Reading game rewards
    000001.701| WO_API: returned http500
    000001.701| ApiGetDataGameRewards FAILED, code: 8
    000001.702| !!! ERROR: failed to get game rewards
    000001.702| !!! crashed
    000001.702| Creating minidump at logss\GS_1000002bec69b.dmp
    000001.850| Minidump created.

  3. #3
    Member billythekid is offline
    MemberRank
    Apr 2013 Join Date
    98Posts

    Re: WO_API: returned http500 Please Help

    Maker sure you have php-MSQL drivers installed and php-drivers aswell in your IIS..Your backend is not connecting to your Database.

  4. #4
    Member Xplodin is offline
    MemberRank
    Jun 2013 Join Date
    UnknownLocation
    54Posts

    Re: WO_API: returned http500 Please Help

    Uhg, everything is configured. But im still getting the same error. :\

  5. #5
    Member Xplodin is offline
    MemberRank
    Jun 2013 Join Date
    UnknownLocation
    54Posts

    Re: WO_API: http timeout. Any fixes? Tried lots.

    Fixed the returned 500 by adding my external WAN ip to the warz_server.sln and warz.sln vars.h file.
    many thanks to duong phan for helping the community, he is a really good member.

    But what does WO_API: http timeout mean?
    I can connect to my IIS website just fine and actually view the files and such. SQL is working too.

    Also, how do I increase the loot generated?

  6. #6
    Elite Member billyolak7 is offline
    Member +Rank
    Feb 2012 Join Date
    Kitimat, BritisLocation
    175Posts

    Re: WO_API: http timeout. Any fixes? Tried lots.

    Bumped for this is my problem too.

  7. #7
    Newbie Kurticus is offline
    MemberRank
    Nov 2013 Join Date
    11Posts

    Re: WO_API: http timeout. Any fixes? Tried lots.

    Hey Guys,

    Hope that if anyone is still looking at this, my info and findings will help.
    I was setting up my game on a vCloud server hosted for external connections. I looked at several guides in compiling etc, alot of them in some other language!

    I got to the issue above, and found the following:

    in C:\WarZ\bin\game.ini - I set this back to 127.0.0.1 from my external IP (this is something I did wrong from the start, whether it helped fix my issue I cannot say for certain. BUT, the other thing is, I have to check this:

    C:\inetpub\wwwroot\WarZ\api\web.config
    Look at <connectionStrings>
    <connectionStrings>
    <add name="dbConnectionString" connectionString="Server=localhost,1444;Database=WarZ;User ID=wz_api_user;Password=***Hidden***;Trusted_Connection=False;" providerName="System.Data.SqlClient" />
    </connectionStrings>

    Make sure the Server= the local server and a port you configured in SQL, and also make sure the User ID and Password are correct. This is in SQL\Security\Logins\ - You must have wz_api_user and the pwd must match.

    Happy WarZing!

  8. #8
    Newbie sk814234 is offline
    MemberRank
    Jun 2013 Join Date
    12Posts

    Re: WO_API: http timeout. Any fixes? Tried lots.

    Could you help me?,i got the same issue,i cant resolve it :/,skype: skater,pessoal,please ;-;

  9. #9
    Member Corniz is offline
    MemberRank
    Sep 2004 Join Date
    Stockholm, SwedenLocation
    67Posts

    Re: WO_API: http timeout. Any fixes? Tried lots.

    Did you guys check your game.ini in your client files? It was that easy for me....



Advertisement