Having problems connecting

Submit all your BlueBox related questions or report a bug here!

Moderators: Lapo, Bax

Kicksome
Posts: 52
Joined: 01 Sep 2007, 02:25
Contact:

Having problems connecting

Postby Kicksome » 18 Dec 2007, 00:08

in my flash app I get the trace:

HTTP port is: 8080
[ Send ]: connect
---> Status received: 200
Failed to load policy file from xmlsocket://75.125.xx.xxx:443

I know the web server is setup because I get the smartfox logo and home page from my computer.

if I change the port I get an error: ....../BlueBox/HttpBox.do So I know the API is installed correctly.

Any ideas on what I'm doing wrong???
Kicksome
Posts: 52
Joined: 01 Sep 2007, 02:25
Contact:

Postby Kicksome » 18 Dec 2007, 02:33

I also took out the load policy file - still didn't work.

I noticed in the logs that I'm connecting to the web server with a single post each time. But it's not polling at all or showing up in the server monitor....

I'm using Windows 2003 server. IIS is disabled.
User avatar
Lapo
Site Admin
Posts: 21139
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 18 Dec 2007, 07:18

Sorry it's not clear.
What IP and Port are you trying to connect to from the client side?
What's the url where the SWF is located?
What are the SFS settings (socket ip/port and bbox ip/port)?

thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
Kicksome
Posts: 52
Joined: 01 Sep 2007, 02:25
Contact:

Postby Kicksome » 18 Dec 2007, 12:10

SFS server is set for port 443 at our hosting facility in Texas. And it works. I ran the flash file in the flash IDE - it connected and worked fine.

I blocked port 443 on my home router. I confirmed I couldn't connect to SFS server in Texas on that port - but could access normal web sites - just no SSL sites.

I ran the SWF locally via flash in the flash IDE with the 443 port blocked. It came up with the first trace message I showed you.

I tried taking out the Policy file - same thing except I got the policy file error which I posted.

I then uploaded the published flash file to our site "just in case". And tried it from my PC as I normally would. Still wouldn't connect.

I then opened up port 443 on my router and everything worked fine - I could connect both in the flash IDE and via he web.
Kicksome
Posts: 52
Joined: 01 Sep 2007, 02:25
Contact:

Postby Kicksome » 18 Dec 2007, 12:21

Also just to add

BlueBox is running on the SFS server. Port 8080. I tried both 80 and 8080 but got the same error so I just kept it at 8080. I can connect to them via http:// no problem. I'll PM you the SFS address.
User avatar
Lapo
Site Admin
Posts: 21139
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 19 Dec 2007, 06:30

Maybe are you running the latest flash player 9?
They have introduced new policy crazyness (at least at seems so at a first glance) which may cause the trouble.
I didn't have the time to check that yet... I just hope they didn't break the compatibility with older player versions.

If you blocked the socket port then of course you won't be able to grab the policy via socket connection.
In that case the policy file should be located in the root folder of the web server ( root/ folder in webserver/webapps/ )
Did you try this?

let us know
Lapo

--

gotoAndPlay()

...addicted to flash games
Kicksome
Posts: 52
Joined: 01 Sep 2007, 02:25
Contact:

Postby Kicksome » 19 Dec 2007, 07:01

I didn't download the latest flash player - I have 9.0.45.0 installed on firefox and IE 7. Yes - I have a policy file on all our sites. And you also have one in the root dir of the built in server. I also tried it without the built in policy file with no luck (in the swf I just commented it out). It connects with a 200 success but that's all it does - nothing more - no polling no nothing.


HTTP port is: 8080
[ Send ]: connect
---> Status received: 200

I also tried it in our application and not running it through the flash IDE and get nothing.

That's all I get.... just sits there - I look at the admin interface and it show s that BlueBox monitor is running - it just has no logged on users.

I PM'ed you the address of the server - maybe you can see if you can connect.


Here's some request.logs...
71.126.183.121 - - [19/12/2007:03:51:54 +0000] "POST /BlueBox/HttpBox.do HTTP/1.1" 200 0
71.126.183.121 - - [19/12/2007:04:00:25 +0000] "GET /crossdomain.xml HTTP/1.1" 200 208
71.126.183.121 - - [19/12/2007:04:00:25 +0000] "POST /BlueBox/HttpBox.do HTTP/1.1" 200 0
71.126.183.121 - - [19/12/2007:04:21:46 +0000] "POST /BlueBox/HttpBox.do HTTP/1.1" 200 0
71.126.183.121 - - [19/12/2007:07:29:21 +0000] "POST /BlueBox/HttpBox.do HTTP/1.1" 200 0
71.126.183.121 - - [19/12/2007:07:30:20 +0000] "POST /BlueBox/HttpBox.do HTTP/1.1" 200 0
71.126.183.121 - - [19/12/2007:07:34:36 +0000] "GET /crossdomain.xml HTTP/1.1" 200 208
71.126.183.121 - - [19/12/2007:07:34:36 +0000] "POST /BlueBox/HttpBox.do HTTP/1.1" 200 0

Return to “BlueBox”

Who is online

Users browsing this forum: No registered users and 5 guests