Yesterday I was going to solve the BlueBox vs corporate network issue, but unfortunately I noticed that now BlueBox is not working with standard internet connection or even on standard LAN. I am very confused and after some hours I still do not know why. Generaly web server is working and I can see BlueBox with:
http://SERVERIP:80/BlueBox/ from remote machine. I even reinstalled SFS and after that I only changed port for Jetty from 8080 to 80, so SFS uses 9339 and BlueBox uses port 80. In Unity I prefetch the policy this way:
Security.PrefetchSocketPolicy(SERVERIP, 80);
I did not make any changes to policy file, so it contains:
<allow-access-from domain="*" />
I use wrong port in Unity (9338) to force it to use BlueBox.
When I run the application I can see in Wireshark (follow TCP stream option):
Code: Select all
<policy-file-request/>.HTTP/1.1 400 Bad Request
Connection: close
Server: Jetty(6.1.16)
As you can see there is a communication between application and Jetty, but I assume that there is a problem with getting the policy file, because I am quite sure that standalone application is working with BlueBox.
Also this URL:
http://hostname:port/BlueBox/HttpBox.do?debugCmd=maindebug_mode=true
shows no errors. (In bluebox.properties there is a small error -> HttbBox.go instead of HttbBox.do.)
At the moment I am very confused and do not know what can I do to make it work once again, so I will appreciate your help a lot.[/code]