Help me WO_API: returned http500
help server VPS
Help me find the reason already tried everything else fails
Quote:
000000.000| Input Devices enabled: Mouse, Keyboard
000000.042| VMEM As seen through DDRaw: 495
000000.043| VMEM As seen through WMI: 0
000000.070| We have 2283 MB texture memory
000000.070| r3dFont: Creating Verdana 10pt
000000.072| r3dFont: Finished creating Verdana 10pt
000000.072| r3dFont: Creating Tahoma 12pt
000000.073| r3dFont: Finished creating Tahoma 12pt
000000.073| r3dFont: Creating Tahoma 10pt
000000.073| r3dFont: Finished creating Tahoma 10pt
000000.074| r3dFont: Creating Tahoma 9pt
000000.074| r3dFont: Finished creating Tahoma 9pt
000000.534| Starting updater, v:2.9.6, cmd:
000000.536| Checking for new updater
000000.792| Checking for new updater - finished
000004.640| WO_API: returned http500
000004.640| Login FAILED, code: 8
000006.099| Requested to stop, 0 files in queue
000006.099| CUpdater::Stop()
http://cdn.joxi.ru/uploads/prod/2014...9fcf1563db.jpg
LauncherConfig.cpp
Code:
#include "r3dPCH.h"
#include "r3d.h"
#include "r3dNetwork.h"
#include "LauncherConfig.h"
CLauncherConfig gLauncherConfig;
CLauncherConfig::CLauncherConfig()
{
const char* configFile = "Launcher.cfg";
const char* group = "Launcher";
if(_access(configFile, 4) != 0) {
// r3dError("can't open config file %s", configFile);
}
serialBuyURL = r3dReadCFG_S(configFile, group, "serialBuyURL", "http://localhost/buy?ref=WarL");
serialExpiredBuyURL = r3dReadCFG_S(configFile, group, "serialExpiredBuyURL", "http://localhost/buy?ref=WarE");
accountForgotPasswordURL = r3dReadCFG_S(configFile, group, "accountForgotPasswordURL",
"https://localhost/account_check");
accountRegisterURL = r3dReadCFG_S(configFile, group, "accountRegisterURL",
"https://localhost/account_register");
myAccountURL = r3dReadCFG_S(configFile, group, "myAccountURL", "https://localhost/account_check");
forumsURL = r3dReadCFG_S(configFile, group, "forumsURL", "http://localhost/forum");
supportURL = r3dReadCFG_S(configFile, group, "supportURL", "http://localhost/support");
youtubeURL = r3dReadCFG_S(configFile, group, "youtubeURL", "http://www.youtube.com");
facebookURL = r3dReadCFG_S(configFile, group, "facebookURL", "http://www.facebook.com");
twitterURL = r3dReadCFG_S(configFile, group, "twitterURL", "http://twitter.com/");
accountUnknownStatusMessage = r3dReadCFG_S(configFile, group, "accountUnknownStatusMessage",
"Unknown account status, please contact support@localhost");
accountDeletedMessage = r3dReadCFG_S(configFile, group, "accountDeletedMessage",
"Your account was deleted because your payment was refunded or cancelled\n\nPlease contact your payment provider");
accountBannedMessage = r3dReadCFG_S(configFile, group, "accountBannedMessage",
"Your account has been permanently banned");
accountFrozenMessage = r3dReadCFG_S(configFile, group, "accountFrozenMessage",
"Your account has been temporarily frozen because of violation of the Terms of Service ( Paragraph 2 )\n\nYou will be able to continue to use the service in %d hours");
accountCreateFailedMessage = r3dReadCFG_S(configFile, group, "accountCreateFailedMessage",
"Account creation failed, please try again later");
accountCreateEmailTakenMessage = r3dReadCFG_S(configFile, group, "accountCreateEmailTakenMessage",
"There is already registered account with that email!\nPlease note that you must use unique email per The War Z account");
accountCreateInvalidSerialMessage = r3dReadCFG_S(configFile, group, "accountCreateInvalidSerialMessage",
"Serial Key is not valid after Serial Key Check\ncontact support@localhost");
webAPIDomainIP = r3dReadCFG_S(configFile, group, "webAPIDomainIP", "148.251.32.40");
webAPIDomainBaseURL = r3dReadCFG_S(configFile, group, "webAPIDomainBaseURL", "/WarZ/api/");
webAPIDomainPort = r3dReadCFG_I(configFile, group, "webAPIDomainPort", 443);
webAPIDomainUseSSL = r3dReadCFG_I(configFile, group, "webAPIDomainUseSSL", 1) ? true : false;
ToSURL = r3dReadCFG_S(configFile, group, "tosURL", "http://148.251.32.40/EULA.rtf");
EULAURL = r3dReadCFG_S(configFile, group, "eulaURL", "http://148.251.32.40/TOS.rtf");
updateGameDataURL = r3dReadCFG_S(configFile, group, "updateGameDataURL",
"http://148.251.32.40/wz/wz.xml");
updateLauncherDataURL = r3dReadCFG_S(configFile, group, "updateLauncherDataURL",
"http://148.251.32.40/wz/updater/woupd.xml");
// updateLauncherDataHostURL Used by -generate cmdline arg to output a woupd.xml file.
updateLauncherDataHostURL = r3dReadCFG_S(configFile, group, "updateLauncherDataHostURL",
"http://148.251.32.40/wz/updater/");
serverInfoURL = r3dReadCFG_S(configFile, group, "serverInfoURL",
"http://148.251.32.40/api_getserverinfo.xml");
//***************
// Manual Config
//***************
serialBuyURL = "http://localhost/buy?ref=WarL";
serialExpiredBuyURL = "http://localhost/buy?ref=WarE";
accountForgotPasswordURL = "http://www..com/redirect.php?page=forgotpassword";
accountRegisterURL = "http://www..com/redirect.php?page=register";
myAccountURL = "http://www..com";
forumsURL = "http://www..com/board";
supportURL = "http://www..com";
youtubeURL = "https://www..com/user/";
facebookURL = "https://www..com/warzth";
twitterURL = "http://.com/";
accountUnknownStatusMessage = "Unknown account status, please contact support@localhost";
accountDeletedMessage = "Your account was deleted because your payment was refunded or cancelled\n\nPlease contact your payment provider";
accountBannedMessage = "Your account has been permanently banned";
accountFrozenMessage = "Your account has been temporarily frozen because of violation of the Terms of Service ( Paragraph 2 )\n\nYou will be able to continue to use the service in %d hours";
accountCreateFailedMessage = "Account creation failed, please try again later";
accountCreateEmailTakenMessage = "There is already registered account with that email!\nPlease note that you must use unique email per The War Z account";
accountCreateInvalidSerialMessage = "Serial Key is not valid after Serial Key Check\ncontact support@localhost";
webAPIDomainIP = "148.251.32.40";
webAPIDomainBaseURL = "/WarZ/api/";
webAPIDomainPort = 443;
webAPIDomainUseSSL = true;
ToSURL = "http://www..com/EULA.rtf";
EULAURL = "http://www..com/TOS.rtf";
updateGameDataURL = "http://148.251.32.40/wz/wz.xml";
updateLauncherDataURL = "http://148.251.32.40/wz/updater/woupd.xml";
updateLauncherDataHostURL = "http://148.251.32.40/wz/updater/";
serverInfoURL = "http://148.251.32.40/api_getserverinfo.xml";
#define CHECK_I(xx) if(xx == 0) r3dError("missing %s value", #xx);
#define CHECK_S(xx) if(xx == "") r3dError("missing %s value", #xx);
CHECK_I(webAPIDomainPort);
CHECK_S(webAPIDomainIP);
CHECK_S(webAPIDomainBaseURL);
CHECK_S(updateGameDataURL);
CHECK_S(updateLauncherDataURL);
CHECK_S(updateLauncherDataHostURL);
CHECK_S(serverInfoURL);
#undef CHECK_I
#undef CHECK_S
return;
}
Re: Help me WO_API: returned http500
set APP in iis
- - - Updated - - -
edit all
Code:
//***************
// Manual Config
//***************
serialBuyURL = "http://localhost/buy?ref=WarL";
serialExpiredBuyURL = "http://localhost/buy?ref=WarE";
accountForgotPasswordURL = "http://www..com/redirect.php?page=forgotpassword";
accountRegisterURL = "http://www..com/redirect.php?page=register";
myAccountURL = "http://www..com";
forumsURL = "http://www..com/board";
supportURL = "http://www..com";
youtubeURL = "https://www..com/user/";
facebookURL = "https://www..com/warzth";
twitterURL = "http://.com/";
accountUnknownStatusMessage = "Unknown account status, please contact support@localhost";
accountDeletedMessage = "Your account was deleted because your payment was refunded or cancelled\n\nPlease contact your payment provider";
accountBannedMessage = "Your account has been permanently banned";
accountFrozenMessage = "Your account has been temporarily frozen because of violation of the Terms of Service ( Paragraph 2 )\n\nYou will be able to continue to use the service in %d hours";
accountCreateFailedMessage = "Account creation failed, please try again later";
accountCreateEmailTakenMessage = "There is already registered account with that email!\nPlease note that you must use unique email per The War Z account";
accountCreateInvalidSerialMessage = "Serial Key is not valid after Serial Key Check\ncontact support@localhost";
webAPIDomainIP = "148.251.32.40";
webAPIDomainBaseURL = "/api/";
webAPIDomainPort = 80;
webAPIDomainUseSSL = false;
ToSURL = "http://www..com/EULA.rtf";
EULAURL = "http://www..com/TOS.rtf";
updateGameDataURL = "http://148.251.32.40/wz/wz.xml";
updateLauncherDataURL = "http://148.251.32.40/wz/updater/woupd.xml";
updateLauncherDataHostURL = "http://148.251.32.40/wz/updater/";
serverInfoURL = "http://148.251.32.40/api_getserverinfo.xml";
and set in warz_server
** C:\WarZ\bin\server\WO_GameServer\Sources\ServerMain.cpp (1 hit)
req.put_Path("/api/php/api_GetLootBoxConfig.php");
req.AddParam("serverkey", "9F179EB9-C74E-4933-85B5-EB135E16F5EF");
CkHttpResponse* resp = http.SynchronousRequest("148.251.32.40", 80, false, req);
api path "C:\inetpub\wwwroot\api"
- - - Updated - - -
then
Compile WZBackend-ASP.NET C:\WarZ\src\scripts\WZBackend-ASP.NET DEBUG* build
and Publish Web Site it to your API folder default is c:\inetpub\wwwroot\api
- - - Updated - - -
recompile RSUpdate