Hello,
SmartFoxServer PRO 1.6.9 update is available.
The new release addresses various bugs discussed in the support board since the last release.
Download SFSPRO 1.6.9 update
{ NEW }Â SFS PRO update 1.6.9 available
Release notes
SmartFoxServer PRO 1.6.9 update -- release notes --
Server Side:
* Fixed MD5 generation concurrency issue
* Fixed an issue with possible wrong Room user counts
* Fixed an issue with possible duplicate playerId in Game Rooms
* Added new configurable limit for BuddyVariables value length: <maxBuddyVariableLen> (default = 255 chars), can be added in the BuddyList config block.
* Added new overloaded constructors for RoomVariables on the server side, similarly to UserVariable constructors
* Added IP of client sending a malformed packet in the warning message
* Added setTemp(boolean value) method to the Room class
* Added Room object in spectatorSwitch and playerSwitch events on server side
Client Side:
* Server side updates referencing Rooms not managed by the local RoomList no longer throw Error #1009
* Improved error checking while looping over several aggregated messages
* Connecting to a Server that is not running no longer fires a Security error.
-
- Posts: 6
- Joined: 22 Mar 2010, 16:03
- Location: india
Still fires a Security error
Hi Lapo,
Initially we encounter SandBox Violation Error [ the Unhandled securityError:. text=Error #2048: Security sandbox violation] when we try to connect a non running server.So we used the new version of AS3 API in our code.Still error encountered in testing. So we look in to the code and add urlLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.errorHandler) in LoaderFactory.as in AS3 API set . Afetr that the isuue never occure in our testing. Is this is the correct way to fix this issue.Please advise us.
Initially we encounter SandBox Violation Error [ the Unhandled securityError:. text=Error #2048: Security sandbox violation] when we try to connect a non running server.So we used the new version of AS3 API in our code.Still error encountered in testing. So we look in to the code and add urlLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.errorHandler) in LoaderFactory.as in AS3 API set . Afetr that the isuue never occure in our testing. Is this is the correct way to fix this issue.Please advise us.
The problem was in prior version of the API connecting to a non running instance would not return the connection failure correctly.
This is fixed in the new API. If you point a client to any wrong address you will get the onConnection event fired with a success==false parameter.
Additionally I am not able to reproduce the 2048 error.
Can you provide more details?
For testing I am using the AS3 basic template found in the Examples distribution of SFS PRO
This is fixed in the new API. If you point a client to any wrong address you will get the onConnection event fired with a success==false parameter.
Additionally I am not able to reproduce the 2048 error.
Can you provide more details?
For testing I am using the AS3 basic template found in the Examples distribution of SFS PRO
-
- Posts: 77
- Joined: 28 Dec 2007, 20:56
I also experience the #2048 error in the AS3 1.6.9 Api. Its working with the version you have sent via email when we were in touch about this issue though. If I add a SecurityErrorEvent handler as described by rajeshmgnair and additionally change the handleIoError in HttpConnection to receive a plain Event instead of IOErrorEvent and comment out the line params.message = error.text, the event is catched and the client tries to connect to server 2.
Hi,
my suspect is that we're not using the same files and I would urge you to download the patch from this page -> http://smartfoxserver.com/products/pro.php#downloads
Maybe you are still using pre-release files that we sent earlier.
We don't see any security error problem and we re-tested for the 100th time using the multi-connector example we built and it works correctly both with the standalone and browser Flash Player, including the latest 10.1.85.3
my suspect is that we're not using the same files and I would urge you to download the patch from this page -> http://smartfoxserver.com/products/pro.php#downloads
Maybe you are still using pre-release files that we sent earlier.
We don't see any security error problem and we re-tested for the 100th time using the multi-connector example we built and it works correctly both with the standalone and browser Flash Player, including the latest 10.1.85.3
Interestingly the exception only occurs with exactly the patch you linked there, but not with the files you sent earlier via mail. Maybe it has to do with the fact that I pasted your pre release files over my 1.6.6 AS3 API and then later copied the 1.6.9 AS3 files over these? Anyways as it seems to work with the fix described above its not urgent, but I will try to download a fresh copy of the 1.6.6 AS3 Api and patch it with the 1.6.9 Api during the next days.
Unfortunately the issue remains, I have deleted all my local API files, retrieved a fresh copy of the 1.6.6 installer version and patched it with the 1.6.9 API:
Again this is not an issue right now, the bugfix described above fixes the problem.
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://localhost/main.swf cannot load data from http://localhost:8080/BlueBox/HttpBox.do.
at it.gotoandplay.smartfoxserver.http::LoaderFactory/getLoader()[E:\Projekte\extrajetzt\doppelkopf\src\frontend\src\it\gotoandplay\smartfoxserver\http\LoaderFactory.as:36]
at it.gotoandplay.smartfoxserver.http::HttpConnection/send()[E:\Projekte\extrajetzt\doppelkopf\src\frontend\src\it\gotoandplay\smartfoxserver\http\HttpConnection.as:89]
at it.gotoandplay.smartfoxserver.http::HttpConnection/connect()[E:\Projekte\extrajetzt\doppelkopf\src\frontend\src\it\gotoandplay\smartfoxserver\http\HttpConnection.as:69]
at it.gotoandplay.smartfoxserver::SmartFoxClient/tryBlueBoxConnection()[E:\Projekte\extrajetzt\doppelkopf\src\frontend\src\it\gotoandplay\smartfoxserver\SmartFoxClient.as:2985]
at it.gotoandplay.smartfoxserver::SmartFoxClient/handleSecurityError()[E:\Projekte\extrajetzt\doppelkopf\src\frontend\src\it\gotoandplay\smartfoxserver\SmartFoxClient.as:3006]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::Socket/onTimeout()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Again this is not an issue right now, the bugfix described above fixes the problem.
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 87 guests