Failing to run the example
Posted: 29 May 2010, 20:53
Hello,
It is quite embarrassing, but I cannot make the examples run. I didn't have any problems with v1 examples but I do with v2.
Here's the error message:
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://<my IP address>:8080/openspace/osExampleFlash.swf cannot load data from http://127.0.0.1:8080/BlueBox/HttpBox.do.
at it.gotoandplay.smartfoxserver.http::LoaderFactory()
at it.gotoandplay.smartfoxserver.http::HttpConnection()
at it.gotoandplay.smartfoxserver::SmartFoxClient()
at it.gotoandplay.smartfoxbits.bits::Connector$cinit()
at global$init()
What is a security sandbox violation and how do I solve it?
Also, I see that it looks for something on 127.0.0.1:8080. I remember that in v1 I had to edit sfsClient.xml to configure the server address. Should I do it in v2 too? I didn't see any mentions of it in the documentation. I tried to put the old sfsClient.xml into the config directory, but it didn't have any effect.
Thanks you.
It is quite embarrassing, but I cannot make the examples run. I didn't have any problems with v1 examples but I do with v2.
Here's the error message:
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://<my IP address>:8080/openspace/osExampleFlash.swf cannot load data from http://127.0.0.1:8080/BlueBox/HttpBox.do.
at it.gotoandplay.smartfoxserver.http::LoaderFactory()
at it.gotoandplay.smartfoxserver.http::HttpConnection()
at it.gotoandplay.smartfoxserver::SmartFoxClient()
at it.gotoandplay.smartfoxbits.bits::Connector$cinit()
at global$init()
What is a security sandbox violation and how do I solve it?
Also, I see that it looks for something on 127.0.0.1:8080. I remember that in v1 I had to edit sfsClient.xml to configure the server address. Should I do it in v2 too? I didn't see any mentions of it in the documentation. I tried to put the old sfsClient.xml into the config directory, but it didn't have any effect.
Thanks you.