Hi guys,
We chose not to use BlueBox for the moment in a project, my question is how to handle the BlueBox security sandbox error (if users are behind firewalls, or ports are blocked, etc.):
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://[ip]/[app.swf]?ver=1 cannot load data from http://[ip]/BlueBox/BlueBox.do.
at com.smartfoxserver.v2.bitswarm.bbox::BBClient/getLoader()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/bitswarm/bbox/BBClient.as:231]
at com.smartfoxserver.v2.bitswarm.bbox::BBClient/sendRequest()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/bitswarm/bbox/BBClient.as:224]
at com.smartfoxserver.v2.bitswarm.bbox::BBClient/connect()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/bitswarm/bbox/BBClient.as:114]
at com.smartfoxserver.v2.bitswarm::BitSwarmClient/connect()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/bitswarm/BitSwarmClient.as:249]
at com.smartfoxserver.v2::SmartFox/handleConnectionProblem()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/SmartFox.as:1928]
at com.smartfoxserver.v2::SmartFox/onSocketSecurityError()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/SmartFox.as:1785]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.smartfoxserver.v2.bitswarm::BitSwarmClient/onSocketSecurityError()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/bitswarm/BitSwarmClient.as:451]
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()
What I'm trying to do is to handle the error myself and present a custom instruction or FAQ link to the players. I've tried the following without any luck, it still throws the error:
_socket.addEventListener( SecurityErrorEvent.SECURITY_ERROR, onSecurityError );
_socket.addEventListener( SFSEvent.SOCKET_ERROR, onSocketError );
I apologise if this has been posted or answered in other post, in which case would you please tell me the link to the post?
Thank you.
How to catch BlueBox security sandbox error?
-
- Posts: 4
- Joined: 27 Dec 2011, 06:14
Could you explain what the problem is? Do you use the BlueBox or not?
Please send the details to reproduce the issue, it will help us expedite the support case.
Read here:
http://smartfoxserver.com/support.php
Please send the details to reproduce the issue, it will help us expedite the support case.
Read here:
http://smartfoxserver.com/support.php
Re: How to catch BlueBox security sandbox error?
Hi Lapo, is there any news on this yet? I've been following closely the patches and we are running SFS 2.3.0. Is there a way to catch the BlueBox Errors yet?
## BlueBox Error: Error #2032: Stream Error. URL: http://xxx.xxx.xxx.xxx:8080/BlueBox/BlueBox.do
## SecurityError: [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security sandbox violation: file:///D|/test.swf cannot load data from xxx.xxx.xxx.xxx:9933."]
## SecurityError: [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security sandbox violation: file:///D|/test.swf cannot load data from xxx.xxx.xxx.xxx:9933."]
Thank you.
## BlueBox Error: Error #2032: Stream Error. URL: http://xxx.xxx.xxx.xxx:8080/BlueBox/BlueBox.do
## SecurityError: [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security sandbox violation: file:///D|/test.swf cannot load data from xxx.xxx.xxx.xxx:9933."]
## SecurityError: [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security sandbox violation: file:///D|/test.swf cannot load data from xxx.xxx.xxx.xxx:9933."]
Thank you.
Re: How to catch BlueBox security sandbox error?
Lots of time has passed since your last post.
Error 2048 should never be a concern, if it happens you will be receiving a connection error.
Can you give me more details about what happens, when, etc...
Error 2048 should never be a concern, if it happens you will be receiving a connection error.
Can you give me more details about what happens, when, etc...
Who is online
Users browsing this forum: No registered users and 80 guests