开发者

Security Sandbox violation for a Socket in AIR app?

开发者 https://www.devze.com 2022-12-14 22:14 出处:网络
I thought AIR applications ran in a trusted sandbox, but I am getting a security sandbox violation for a socket connection.It used to work, off and on, but I just started messing with on old project a

I thought AIR applications ran in a trusted sandbox, but I am getting a security sandbox violation for a socket connection. It used to work, off and on, but I just started messing with on old project again and now it doesn't work at all.

Targeting Flex 3 SDK with Flex Builder 开发者_高级运维4 beta.

socketIOError: Error #2031: Socket Error. URL: 174.37.152.44

socketSecurityError: Error #2048: Security sandbox violation: app:/mainMenu.swf cannot load data from :443.

Edit: I found the problem. It was an incorrect IP, and simply failing to connect. Not sure why it gave me the sandbox violation error, but it was basically a bad error in that it didn't really have anything to due with the security sandbox.


The issue had nothing to due with the security sandbox, the error was misleading. I had the wrong IP. There was no server listening at that IP, and it simply was failing to connect.

0

精彩评论

暂无评论...
验证码 换一张
取 消