• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Shard unable to connect to account server

Initiate Mage
Joined
Jun 3, 2016
Messages
1
Reaction score
0
Shard Config
<?xml version="1.0" encoding="utf-8"?>

<config name="Destruction" comment="" maxUsers="5000" build="FinalRelease">

<net basePort="10000" consoleAccessPort="9856"/>



<territory>USA</territory>



<logging kind="local">

<local format="csv"/>

<remote host="localhost" port="8888"/>

</logging>



<shard role="LocalShard" maxUsersOnShard="5000" memory="4096" ip="127.0.0.1">


<frontEnd externalHost="extIP" ip="extIP" port="9322" timeout="60000"/>

<db host="127.0.0.1" user="*" password="*"/>

<http host="127.0.0.1" port="8090"/>

<indicator/>

<doorway/>

</shard>



<itemMallServer>

<net ip="127.0.0.1" port="9321"/>

<assortment banners-config="banners.cfg"/>

</itemMallServer>



<billingServer>

<net host="127.0.0.1" port="9320"/>

<api host="extIP" port="8081"/>

</billingServer>



<accountServer maxUsersOnShard="5000">

<approve ip="127.0.0.1" port="9347"/>

<auth ip="extIP" port="9340" timeout="30000"/>

<api host="extIP" port="9357" protocol="http"/>

</accountServer>



<accountServer>

<approve ip="127.0.0.1" port="9346" />

<auth ip="127.0.0.1" port="9339" timeout="30000" />

<api host="127.0.0.1" port="9356" protocol="http" />

</accountServer>



<masterServer>

<net ip="127.0.0.1" port="9513"/>

<api ip="127.0.0.1" port="10500"/>

</masterServer>



<resourceErrorsEnabled>false</resourceErrorsEnabled>



<gameMechanics>

<characterCreation allowDiffFactions="true"/>

<shipRate build="1" buildReduce="1"/>

<mobExpRate>10</mobExpRate>

<questExpRate>5</questExpRate>

<enableTWar>true</enableTWar>

<luckyTimeSchedulingEnabled>true</luckyTimeSchedulingEnabled>

</gameMechanics>



<!-- use fake address of gametool - 127.0.0.2 - to avoid same ip as local shard

<gametoolEAR ip="127.0.0.2" lang="rus">


<standard-gametool-config>

<mode name="slave"/>

<instance name="Trunk shard"/>

<database-defaults>

<default-gametool-database port="5432" database="gametool" login="gametool" password="gametool"/>

<default-logserver-database host="127.0.0.1" port="5432" database="logserver" login="logserver" password="logserver"/>

</database-defaults>

<master address="127.0.0.1" login="*" password="*"/>

<shard id="trunk_local" name="trunk_local" address="127.0.0.1"

login="*" password="*"/>

</standard-gametool-config>

</gametoolEAR>-->



<enableDynamicMapServices>true</enableDynamicMapServices>

</config>

Account config
<?xml version="1.0" encoding="utf-8"?>
<config name="Destruction" build="FinalRelease" serversNeed="1" mapServicesAmount="1">
<net basePort="9000" datagramPort="8000" bindPortsRange="15"/>
<logging kind="none"/>

<accountServer maxUsersOnShard="5000" clientsLimit="5000" build="builds/standard.xml" versionOnLogin="-1" ip="127.0.0.1" memory="512">
<approve ip="127.0.0.1" port="9347"/>
<auth ip="extIP" port="9340" timeout="30000"/>
<api protocol="http" host="extIP" port="9357"/>
<db host="127.0.0.1" user="*" password="*" />
<authenticator>
<api host="extIP" port="9399"/>
</authenticator>
</accountServer>
</config>

Shard Error Message
[06-03 12:06:52,044, 1016624] fe4(234):connection-to-account-thread - WARN verify : Failed to connect to account server: unable to connect to account server /127.0.0.1:9346, net$
[06-03 12:06:52,045, 1016625] fe1(231):connection-to-account-thread - WARN verify : Failed to connect to account server: unable to connect to account server /127.0.0.1:9346, net$
Account server working and listen
[06-03 11:49:53,937, 10893] main - INFO accountserver.c : session approvement server created
[06-03 11:49:53,937, 10893] main - INFO accountserver.c : account server started, client <-> account server version = 73, shard <-> account server version = 48
[06-03 11:49:53,938, 10894] main - INFO accountserver.context.e : Using NONE statistics exporter.
[06-03 11:52:29,688, 166644] net selector_1 - INFO accountserver.u : frontEnd /127.0.0.1:52611 -> /127.0.0.1:9347 connected
[06-03 11:52:31,648, 168604] net selector_1 - INFO accountserver.u : frontEnd /127.0.0.1:52614 -> /127.0.0.1:9347 connected
[06-03 11:52:33,657, 170613] net selector_1 - INFO accountserver.u : frontEnd /127.0.0.1:52616 -> /127.0.0.1:9347 connected
[06-03 11:52:35,647, 172603] net selector_1 - INFO accountserver.u : frontEnd /127.0.0.1:52618 -> /127.0.0.1:9347 connected
[06-03 11:52:37,910, 174866] net selector_1 - INFO accountserver.u : frontEnd /127.0.0.1:52620 -> /127.0.0.1:9347 connected
 
Newbie Spellweaver
Joined
Jan 9, 2013
Messages
41
Reaction score
5


look at this externalHost="extIP(localhost)" ip="extIP(external ip address)"
the server cant find extIP

delete extIP and add 127.0.0.1 or yor external ip to play with other players, for your external ip look at this