I’m getting the following error with the mac webplayer running in Safari. It outputs the same error message over and over again (this is in Player.log), each time incrementing the number after SocketPolicyClient by 1. Eventually it’ll get into the thousands:
SocketPolicyClient1: Incoming GetPolicyStreamForIP
SocketPolicyClient1: About to BeginConnect to 127.0.0.1:843
SocketPolicyClient1: About to WaitOne
SocketPolicyClient1: Caught exception: Connection refused
Unable to connect, as no valid crossdomain policy was found
null packet
SocketPolicyClient2: Incoming GetPolicyStreamForIP
SocketPolicyClient2: About to BeginConnect to 127.0.0.1:843
SocketPolicyClient2: About to WaitOne
SocketPolicyClient2: Caught exception: Connection refused
Unable to connect, as no valid crossdomain policy was found
null packet
According to the docs, port 843 is where the webplayer tries to fetch crossdomain.xml, so obviously it’s stuck in some kind of infinite loop looking for the security policy for localhost. As far as I know we’re not doing any weird proxying on the local machine, and no other process appears to be using that port.
Timing wise, it does this right after making a call to our search core:
Search http://neis.fragileearthstudios.com:8080/neiscoreSolr/rest/search?q=*&start=0&rows=23&wt=json&facet=true&facet.field=tags&facet.field=server&facet.field=period&facet.field=status begun at 2013-03-25 14:39:02.536
However, that site has a valid crossdomain: http://neis.fragileearthstudios.com/crossdomain.xml . It’s entirely possible that the search bit is just coincidence - about 2 dozen different things are going on at that time as the application initializes various things.
We don’t see this issue in Windows at all.
I’m going to submit this as a bug directly to Unity, but wanted to put it out there in case other people have seen something like this and it was due to user error.
Thanks!