Alhamhali Ibn Malhamood
New member
sorry for my english
I wanna die after trying to configure access from different machines with radmin vpn.
26.36.157.123 my ip in lan
And configuration on account server is good work. And with this my friend can connect to account.
But if he try to connect to shard: failed... but i can to connect successfully.
Log of account server when he try:
Configuration of shard.xml:
If i change (frontEnd ip="26.36.157.123") than shard crashed with: local shard must start on 127.0.0.1
I don't really understand what parameters of the frontend indicate the Ip of the shard...
I have already tried all the combinations of shard parameters and its frontend in my opinion...
What am I doing wrong?
I wanna die after trying to configure access from different machines with radmin vpn.
26.36.157.123 my ip in lan
And configuration on account server is good work. And with this my friend can connect to account.
<accountServer maxUsersOnShard="1000" clientsLimit="50" build="builds/standard.xml" versionOnLogin="-1" memory="500" ip="26.36.157.123">
<approve ip="26.36.157.123" port="9318"/>
<auth ip="26.36.157.123" port="9317" timeout="30000"/>
<api protocol="http" host="127.0.0.1" port="9337"/>
<db host="127.0.0.1" user="postgres" password="spm123" config="accountserverdb-config-pgsql.properties"/>
</accountServer>
<approve ip="26.36.157.123" port="9318"/>
<auth ip="26.36.157.123" port="9317" timeout="30000"/>
<api protocol="http" host="127.0.0.1" port="9337"/>
<db host="127.0.0.1" user="postgres" password="spm123" config="accountserverdb-config-pgsql.properties"/>
</accountServer>
But if he try to connect to shard: failed... but i can to connect successfully.
Log of account server when he try:
[01-11 06:21:19,339, 5083743] crypt_worker_1 - INFO accountserver.helper.LoginMsgHelper : test1 (26.18.68.76) logined succesfully
[01-11 06:21:23,981, 5088385] main - INFO accountserver.shard.ShardListPipe : test1 sent to 26.36.157.123:9325(trunk_local)
[01-11 06:21:24,506, 5088910] net_worker_0 - INFO accountserver.listeners.AuthentificationListener : name "test1"; socket id = 32, socket /26.18.68.76:56565 -> /26.36.157.123:9317; closed true closed (peer closed connection; null)
[01-11 06:21:46,936, 5111340] net_worker_0 - INFO accountserver.listeners.ApproveListener : connection to frontend Socket[addr=/26.36.157.123,port=57839,localport=9318] lost, reason: connection lost, exception java.io.IOException: ”даленный хост принудительно разорвал существующее подключение
[01-11 06:21:46,940, 5111344] net_worker_0 - INFO accountserver.shard.ShardsHolder : removing front-end 31
[01-11 06:21:46,938, 5111342] net_worker_2 - INFO accountserver.listeners.ApproveListener : connection to frontend Socket[addr=/26.36.157.123,port=57838,localport=9318] lost, reason: connection lost, exception java.io.IOException: ”даленный хост принудительно разорвал существующее подключение
[01-11 06:21:46,945, 5111349] net_worker_2 - INFO accountserver.shard.ShardsHolder : removing front-end 30
[01-11 06:21:46,950, 5111354] net_worker_1 - INFO accountserver.listeners.ApproveListener : connection to frontend Socket[addr=/26.36.157.123,port=57837,localport=9318] lost, reason: connection lost, exception java.io.IOException: ”даленный хост принудительно разорвал существующее подключение
[01-11 06:21:46,950, 5111354] net_worker_0 - INFO accountserver.listeners.ApproveListener : connection to frontend Socket[addr=/26.36.157.123,port=57836,localport=9318] lost, reason: connection lost, exception java.io.IOException: ”даленный хост принудительно разорвал существующее подключение
[01-11 06:21:46,953, 5111357] net_worker_1 - INFO accountserver.shard.ShardsHolder : removing front-end 29
[01-11 06:21:46,958, 5111362] net_worker_0 - INFO accountserver.shard.ShardsHolder : removing front-end 28
[01-11 06:22:24,030, 5148434] main - INFO accountserver.session.SessionHolder : Session of test1 is expired
[01-11 06:21:23,981, 5088385] main - INFO accountserver.shard.ShardListPipe : test1 sent to 26.36.157.123:9325(trunk_local)
[01-11 06:21:24,506, 5088910] net_worker_0 - INFO accountserver.listeners.AuthentificationListener : name "test1"; socket id = 32, socket /26.18.68.76:56565 -> /26.36.157.123:9317; closed true closed (peer closed connection; null)
[01-11 06:21:46,936, 5111340] net_worker_0 - INFO accountserver.listeners.ApproveListener : connection to frontend Socket[addr=/26.36.157.123,port=57839,localport=9318] lost, reason: connection lost, exception java.io.IOException: ”даленный хост принудительно разорвал существующее подключение
[01-11 06:21:46,940, 5111344] net_worker_0 - INFO accountserver.shard.ShardsHolder : removing front-end 31
[01-11 06:21:46,938, 5111342] net_worker_2 - INFO accountserver.listeners.ApproveListener : connection to frontend Socket[addr=/26.36.157.123,port=57838,localport=9318] lost, reason: connection lost, exception java.io.IOException: ”даленный хост принудительно разорвал существующее подключение
[01-11 06:21:46,945, 5111349] net_worker_2 - INFO accountserver.shard.ShardsHolder : removing front-end 30
[01-11 06:21:46,950, 5111354] net_worker_1 - INFO accountserver.listeners.ApproveListener : connection to frontend Socket[addr=/26.36.157.123,port=57837,localport=9318] lost, reason: connection lost, exception java.io.IOException: ”даленный хост принудительно разорвал существующее подключение
[01-11 06:21:46,950, 5111354] net_worker_0 - INFO accountserver.listeners.ApproveListener : connection to frontend Socket[addr=/26.36.157.123,port=57836,localport=9318] lost, reason: connection lost, exception java.io.IOException: ”даленный хост принудительно разорвал существующее подключение
[01-11 06:21:46,953, 5111357] net_worker_1 - INFO accountserver.shard.ShardsHolder : removing front-end 29
[01-11 06:21:46,958, 5111362] net_worker_0 - INFO accountserver.shard.ShardsHolder : removing front-end 28
[01-11 06:22:24,030, 5148434] main - INFO accountserver.session.SessionHolder : Session of test1 is expired
Configuration of shard.xml:
<shard role="LocalShard" memory="1200" ip="26.36.157.123">
<frontEnd externalHost="26.36.157.123" ip="127.0.0.1" port="9324" timeout="60000"/>
<db host="127.0.0.1" user="root" password="" config="db/database-config-trunk.properties"/>
<auction host="127.0.0.1" user="root" password="" db="db/auctiondb-config-trunk.properties"/>
<mail host="127.0.0.1" user="root" password="" db="db/maildb-config.properties"/>
<guild host="127.0.0.1" user="root" password="" db="db/guilddb-config.properties"/>
<http host="26.36.157.123" port="82"/>
<indicator/>
<doorway/>
</shard>
<frontEnd externalHost="26.36.157.123" ip="127.0.0.1" port="9324" timeout="60000"/>
<db host="127.0.0.1" user="root" password="" config="db/database-config-trunk.properties"/>
<auction host="127.0.0.1" user="root" password="" db="db/auctiondb-config-trunk.properties"/>
<mail host="127.0.0.1" user="root" password="" db="db/maildb-config.properties"/>
<guild host="127.0.0.1" user="root" password="" db="db/guilddb-config.properties"/>
<http host="26.36.157.123" port="82"/>
<indicator/>
<doorway/>
</shard>
If i change (frontEnd ip="26.36.157.123") than shard crashed with: local shard must start on 127.0.0.1
I don't really understand what parameters of the frontend indicate the Ip of the shard...
I have already tried all the combinations of shard parameters and its frontend in my opinion...
What am I doing wrong?
- 1
- Show all