Page 1 of 1
disconnect with server automaticly
Posted: 03 Jul 2008, 09:37
by jackygu
Hi,
We put openspace on our server, and found always disconnect with smartfoxserver.
Then we unload openspace model, everything is ok.
And we tried openspace samples on the server and use openspace Zone according to sample. Same problem happen.
We don't know what happen.
Tks.
Gu
Very strang problem
Posted: 03 Jul 2008, 11:22
by jackygu
Hello,
We test when will lost the connect automaticly.
We found very strang problem.
This problem happened like this:
1- If there is only one avatar in the map, after login, this avatar send some message, then made 4 steps by mouse, and during these 4 steps, without sending any message. After this 4 steps, we could not send public message and sendXtmessage.
2- If there is only one avatar in the map, after login, this avatar don't send any message and just start walk, only 3 steps can done. Then lost connection and can not send messsage and send Xtmessage.
We feel this is so strange, and tried this for many times. That's truth.
We put your samples on our server, please try it.
http://202.101.62.56/bbwmain/sceneText/ ... ester.html
Cause we login to our datebase, so, pls login with server name: abc
We are confusing for this problem for several days, we hope this matter will be solved soon.
Thks
Gu
Posted: 07 Jul 2008, 03:07
by jackygu
Hi,
Why nobody answer this question.

Posted: 07 Jul 2008, 09:36
by Lapo
Hi, it's not clear how the server is configured.
Which port should be running on? 9339 doesn't seem to be open.
Additionally it looks like our connection is established via the BlueBox, so it would be great to know how it was configured
Posted: 08 Jul 2008, 08:55
by jackygu
Hi,
Thks for your reply.
We check our port configration, it's ok. Port 9339 is open. And after connection, we trace smartfox.ipAddress and smartfox.port. That's right, port is 9339.
Here we paster our config.xml, please check.
----------------------------------------
<SmartFoxConfig>
<ServerSetup>
<!-- Server IP and port number -->
<ServerIP>127.0.0.1</ServerIP>
<ServerPort>9339</ServerPort>
<AutoSendPolicyFile>true</AutoSendPolicyFile>
<MaxUserIdleTime>600</MaxUserIdleTime>
<!-- Server Variables limits (-1 = unlimited) -->
<MaxRoomVars>-1</MaxRoomVars>
<MaxUserVars>-1</MaxUserVars>
<!-- Antiflood filter -->
<AntiFlood active="false">
<MinMsgTime tolerance="5">1000</MinMsgTime>
<MaxRepeatedMessages>3</MaxRepeatedMessages>
<WarningsBeforeKick>2</WarningsBeforeKick>
<WarningMessage><![CDATA[No flooding allowed!)]]></WarningMessage>
<KickMessage><![CDATA[You've been warned! No flooding! Now you're kicked]]></KickMessage>
<BanMessage><![CDATA[Stop Flooding!! You're being banned]]></BanMessage>
<BanAfter timeSpan="1">3</BanAfter>
</AntiFlood>
<!-- Bad words filter -->
<BadWordsFilter active="false">
<FilterMode>filter</FilterMode> <!-- REMOVE or FILTER -->
<StripCharacters><![CDATA[,.;:_!$%&/#*-+]]></StripCharacters>
<Warnings>true</Warnings>
<FilterRoomNames>true</FilterRoomNames>
<FilterUserNames>true</FilterUserNames>
<WarningsBeforeKick>3</WarningsBeforeKick>
<WarningMessage><![CDATA[No swearing!)]]></WarningMessage>
<KickMessage><![CDATA[You've been warned! No Swearing! Now you're kicked]]></KickMessage>
<BanMessage><![CDATA[Stop Swearing! You're being banned!]]></BanMessage>
<BanAfter timeSpan="1">3</BanAfter>
<BadWordsList>
<badWord>motherfucker</badWord>
<badWord>dickhead</badWord>
<badWord>asshole</badWord>
<badWord>shithead</badWord>
<badWord>shit</badWord>
<badWord>fucking</badWord>
<badWord>fuck</badWord>
<badWord>dickhead</badWord>
<badWord>bastard</badWord>
<badWord>nigger</badWord>
<badWord>idiot</badWord>
<badWord>bitch</badWord>
</BadWordsList>
</BadWordsFilter>
<BanCleaning>auto</BanCleaning>
<BanDuration>1800</BanDuration> <!-- 30 min -->
<BannedLoginMessage>You have been banned!</BannedLoginMessage>
<!-- Number of worker threads in the server output stage -->
<OutQueueThreads>1</OutQueueThreads>
<!-- Number of worker threads in the extension handler -->
<ExtHandlerThreads>1</ExtHandlerThreads>
<!--
New since 1.6.0
Set the client queue size and the max. allowed dropped packets
-->
<ClientMessagQueue>
<QueueSize>80</QueueSize>
<MaxAllowedDroppedPackets>10</MaxAllowedDroppedPackets>
</ClientMessagQueue>
<!-- Max Size of the global message queue -->
<MaxIncomingQueue>5000</MaxIncomingQueue>
<!-- Policy for ghost connections -->
<DeadChannelsPolicy>strict</DeadChannelsPolicy>
<!-- Max. length of an incoming request -->
<MaxMsgLen>4096</MaxMsgLen>
<!-- Max. size of a log file -->
<LogMaxSize>5000000</LogMaxSize>
<!-- Max number of rotated log files -->
<LogMaxFiles>5</LogMaxFiles>
<!--
Available options are:
FINEST
FINER
FINE
CONFIG
INFO
WARNING
SEVERE
-->
<FileLoggingLevel>FINEST</FileLoggingLevel>
<ConsoleLoggingLevel>INFO</ConsoleLoggingLevel>
<!-- Adminisitrator login -->
<AdminLogin>bbw_main</AdminLogin>
<AdminPassword>xxxxxxxxx</AdminPassword>
<!-- Allowed administrator IP addresses -->
<AdminAllowedAddresses>
<AllowedAddress>*.*.*.*</AllowedAddress>
</AdminAllowedAddresses>
<!-- Allow remote debugging of extensions -->
<ExtensionRemoteDebug>true</ExtensionRemoteDebug>
<!--
Allow global autoreload of extensions upon file save
You should specify in each Zone if the autoreload is enabled.
-->
<AutoReloadExtensions>true</AutoReloadExtensions>
<!-- Allows remote extension debugging in the admin tool -->
<ExtensionRemoteDebug>true</ExtensionRemoteDebug>
<!-- Specify the max number of clients connected under the same IP. 0 = unlimited -->
<IpFilter>0</IpFilter>
<!-- SMTP settings for sending emails -->
<Mailer>
<MailHost>test.mail.com</MailHost>
<MailUser>foo</MailUser>
<MailPass>bar</MailPass>
<SmtpPort>25</SmtpPort>
<WorkerThreads>1</WorkerThreads>
</Mailer>
<!-- Enable / Disable remote zone info -->
<EnableZoneInfo>false</EnableZoneInfo>
<!-- Enable / Disable embedded webserver -->
<WebServer active="true">
<CfgFile>webserver/cfg/jetty.xml</CfgFile>
</WebServer>
<!-- raw custom protocol separator -->
<RawProtocolSeparator><![CDATA[%]]></RawProtocolSeparator>
</ServerSetup>
------------------------------------------------
problem solved
Posted: 09 Jul 2008, 02:14
by jackygu
Hi,
We solved the problem.
We disable Bluebox and desable firewall, then we found we can not connect with the server, then we think maybe the 9339 port is not workable. We check our server side and find it was not open. Then we open this port and everything is ok.
That means the 4 steps problem is because we connect with BlueBox instead of normal port such as 9339.
Thks for your instruction.