Open gamer-mitsuha opened 6 months ago
似乎服务端启用了SSL,一下修改是否可行? 以下是修改后的配置:
"httpServer": {
"useSSL": false,
"regionListRefresh": 60000,
"gm_private": "melon",
"gm_public": "melon",
"bindAddress": "0.0.0.0",
"bindPort": 443,
"publicAddress": "127.0.0.1",
"publicPort": 443
},
import System;
import System.Windows.Forms;
import Fiddler;
import System.Text.RegularExpressions;
class Handlers
{
static function OnBeforeRequest(oS: Session) {
if (oS.host.EndsWith(".starrails.com") || oS.host.EndsWith(".hoyoverse.com") || oS.host.EndsWith(".mihoyo.com") || oS.host.EndsWith(".bhsr.com")) {
oS.host = "127.0.0.1:443";
oS.fullUrl = oS.fullUrl.Replace("https://", "http://");
}
}
};
tried doing that but it's still showing the same error, maybe there is a possibility to look into simplifying the process or maybe there is an issue preventing it?
我修改了,都改了还是不行
The server itself is running fine and I can login successfully and play. However, when trying to use the remote command, I got this "ssl wrong version number" error.
Do you know why this happens and any fix to this? Thanks!