Davood
11-20-2012, 09:35 PM
I recently decided to run my server from a host and not a VM; so i configured the host etc.
Sometimes people can connect, but almost all users cause this error to occur:
[11.20. - 20:12:49] [NET__ERROR] 98.65.211.239:50931: Received OP_SessionRequest in ESTABLISHED state (0)
[11.20. - 20:12:49] [NET__IDENTIFY] Unable to identify stream from 98.65.211.239:50931 before it closed.
[11.20. - 20:12:49] [NET__IDENTIFY] Stream state was Closed
I wracked my brain and i pummeled the forums, and basically it seems like maybe its a routing issue? It doesn't seem to be, I have even tried running the host through the same network as the VM (different local ip though!) and that didn't resolve the problem.
Both are using the same DB, and the same files, the same version of perl and the same SQL server.
for now I am running the VM again (sadface) as the server, until i sort this out.
Here is my config (w/o user/zone pass and dbname)
<?xml version="1.0">
<server>
<world>
<shortname>MDB</shortname>
<longname>[FV] Alakamin.us.to Updated:2012-12-20</longname>
<!-- Only specify these two if you really think you need to. (read: You don't) -->
<address>173.34.33.127</address>
<localaddress>192.168.1.106</localaddress>
<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account>USER</account>
<password>PASS</password>
</loginserver>
<!-- Server status. Default is unlocked -->
<!--<locked/>-->
<!-- <unlocked/> -->
<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="localhost" port="9000" telnet="enabled"/>
<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>this_is_not_the_key</key>
<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http port="9080" enabled="false" mimefile="mime.types" />
</world>
<!-- Chatserver (channels) information. Defaults shown -->
<chatserver>
<host>173.34.33.127</host>
<port>7778</port>
</chatserver>
<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>173.34.33.127</host>
<port>7778</port>
</mailserver>
<zones>
<defaultstatus>0</defaultstatus>
<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7300"/>
</zones>
<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>USER</username>
<password>PASS</password>
<db>DBNAME</db>
</database>
<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000"> -->
</launcher>
<!-- File locations. Defaults shown -->
<files>
<!-- <spells>spells_us.txt</spells> -->
<!-- <opcodes>opcodes.conf</opcodes> -->
<!-- <logsettings>log.ini</logsettings> -->
<!-- <eqtime>eqtime.cfg</eqtime> -->
</files>
<!-- Directory locations. Defaults shown -->
<directories>
<!-- <maps>Maps</maps> -->
<!-- <quests>quests</quests> -->
<!-- <plugins>plugins</plugins> -->
</directories>
</server>
The server itself is sitting behind a router -> switch -> internet
router is configured to pass ports 7000-7300, 9000, 5999, 5998, 7778, 7779 to 192.168.1.106
i checked conflicting port assignments, everythign is fine.
Sometimes people can connect, but almost all users cause this error to occur:
[11.20. - 20:12:49] [NET__ERROR] 98.65.211.239:50931: Received OP_SessionRequest in ESTABLISHED state (0)
[11.20. - 20:12:49] [NET__IDENTIFY] Unable to identify stream from 98.65.211.239:50931 before it closed.
[11.20. - 20:12:49] [NET__IDENTIFY] Stream state was Closed
I wracked my brain and i pummeled the forums, and basically it seems like maybe its a routing issue? It doesn't seem to be, I have even tried running the host through the same network as the VM (different local ip though!) and that didn't resolve the problem.
Both are using the same DB, and the same files, the same version of perl and the same SQL server.
for now I am running the VM again (sadface) as the server, until i sort this out.
Here is my config (w/o user/zone pass and dbname)
<?xml version="1.0">
<server>
<world>
<shortname>MDB</shortname>
<longname>[FV] Alakamin.us.to Updated:2012-12-20</longname>
<!-- Only specify these two if you really think you need to. (read: You don't) -->
<address>173.34.33.127</address>
<localaddress>192.168.1.106</localaddress>
<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account>USER</account>
<password>PASS</password>
</loginserver>
<!-- Server status. Default is unlocked -->
<!--<locked/>-->
<!-- <unlocked/> -->
<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="localhost" port="9000" telnet="enabled"/>
<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>this_is_not_the_key</key>
<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http port="9080" enabled="false" mimefile="mime.types" />
</world>
<!-- Chatserver (channels) information. Defaults shown -->
<chatserver>
<host>173.34.33.127</host>
<port>7778</port>
</chatserver>
<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>173.34.33.127</host>
<port>7778</port>
</mailserver>
<zones>
<defaultstatus>0</defaultstatus>
<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7300"/>
</zones>
<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>USER</username>
<password>PASS</password>
<db>DBNAME</db>
</database>
<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000"> -->
</launcher>
<!-- File locations. Defaults shown -->
<files>
<!-- <spells>spells_us.txt</spells> -->
<!-- <opcodes>opcodes.conf</opcodes> -->
<!-- <logsettings>log.ini</logsettings> -->
<!-- <eqtime>eqtime.cfg</eqtime> -->
</files>
<!-- Directory locations. Defaults shown -->
<directories>
<!-- <maps>Maps</maps> -->
<!-- <quests>quests</quests> -->
<!-- <plugins>plugins</plugins> -->
</directories>
</server>
The server itself is sitting behind a router -> switch -> internet
router is configured to pass ports 7000-7300, 9000, 5999, 5998, 7778, 7779 to 192.168.1.106
i checked conflicting port assignments, everythign is fine.