Open VTMGR opened 6 months ago
Do you use VPN? can you provide logs with growtopia2.com
Didnt see the response. No i'm not using a VPN. even when not using the proxy i have the issue, with it retrying after a second attempt but with the proxy its not connecting at all and not retrying so i manually change it in the config from growtopia1 to growtopia2.
for growtopia2 it logs this and gets stuck on "Located server, connecting..." before disconnecting.
[2024-05-03 18:19:16.462] [GTProxy] [info] Resolved www.growtopia2.com to ###### [2024-05-03 18:19:16.773] [GTProxy] [info] POST /growtopia/server_data.php 200 [2024-05-03 18:19:16.829] [GTProxy] [info] The server just got a new connection from the address 127.0.0.1:61931! [2024-05-03 18:19:48.389] [GTProxy] [info] The client just disconnected from the server at 0.0.0.0:17186!
And heres the response the proxy is giving:
server|127.0.0.1 port|16999
type2|1 type|1 beta2_server|beta2.growtopiagame.com beta_port|26999 RTENDMARKERBS1001 beta_server|beta.growtopiagame.com beta_type|1 beta2_port|26999 beta2_type|1 beta3_server|34.202.7.77 beta3_port|26999 beta3_type|1 meta|##############
Even with fixing them in build so it properly is requesting:
std::string requestUrl = req.get_header_value("Host");
std::string resolvedAddress = "";
if (requestUrl.find("growtopia2.com") != std::string::npos) {
resolvedAddress = resolve_ip_address(core_->get_config().get("altserver.address"));
} else {
resolvedAddress = resolve_ip_address(core_->get_config().get("server.address"));
}
httplib::Client cli{
std::format(
"https://{}",
resolvedAddress
)
};
if (!validate_server_response(result)) {
res.status = 403;
return true;
}
It's still not connecting.
logs: [2024-05-03 22:58:18.515] [GTProxy] [info] The server just got a new connection from the address 127.0.0.1:60548! [2024-05-03 22:58:50.070] [GTProxy] [info] The client just disconnected from the server at 0.0.0.0:17183!
ingame logs: Getting server address... Getting server address (using alternate) ... located server, connecting...
[2024-05-01 16:19:42.066] [GTProxy] [info] Resolved www.growtopia1.com to ###### [2024-05-01 16:19:42.170] [GTProxy] [error] Failed to get response from server: HTTP status code: 403 [2024-05-01 16:19:42.171] [GTProxy] [info] POST /growtopia/server_data.php 200
growtopia2.com works but it doesnt let me play.