Hi, I'm having an issue where only one client at a time is able to send a web socket request to the ws://ipAddressHere/Bluebox/websocket or whatever the actual request is.
Why is it that only 1 client at a time can use websockets? How can I fix this?
Thanks in advance,
- Carson Bennett
Only 1 BlueBox Connection at a time?
- coolboy714cp
- Posts: 323
- Joined: 06 Feb 2010, 02:45
- Contact:
Re: Only 1 BlueBox Connection at a time?
I don't understand, of course you can connect with as many clients as you wish (or your license permits).
Can you please explain what errors are you getting and provide the relative stack traces?
Also please specify:
- SFS2X version
- Client platform in use
- Client API version in use
Thanks
Can you please explain what errors are you getting and provide the relative stack traces?
Also please specify:
- SFS2X version
- Client platform in use
- Client API version in use
Thanks
- coolboy714cp
- Posts: 323
- Joined: 06 Feb 2010, 02:45
- Contact:
Re: Only 1 BlueBox Connection at a time?
All I'm getting is a connection failure. In even using the HTML5 MMO example file.
Also to add weirdness to the mystery, my ports are open on my server (80 and 9933) I changed BlueBox's port to 80 instead of 8080 (and changed it in that example file as well btw). Anyway, for another project, to create a server selection screen which shows how many users are logged into multiple zones I created a Java servlet and deployed it. I can access it on my server and it works perfectly for me, however, it doesn't seem to be accessible for other users from my SWF file for some reason. I use a URLLoader to call the servlet and retrieve the information it outputs.
Any ideas on what's up with BlueBox or my servlet?
Also to add weirdness to the mystery, my ports are open on my server (80 and 9933) I changed BlueBox's port to 80 instead of 8080 (and changed it in that example file as well btw). Anyway, for another project, to create a server selection screen which shows how many users are logged into multiple zones I created a Java servlet and deployed it. I can access it on my server and it works perfectly for me, however, it doesn't seem to be accessible for other users from my SWF file for some reason. I use a URLLoader to call the servlet and retrieve the information it outputs.
Any ideas on what's up with BlueBox or my servlet?
SFS-Tutorials: http://sfs-tutorials.blogspot.com/
Re: Only 1 BlueBox Connection at a time?
I would recommend reverting the port numbers to the standard, just to avoid unexpected issues.
Are you testing online or locally? If online I can test from here if you give me the IP address (better via a private message).
The problem here is the "some reason"
You need to debug this further and find the exact error that is preventing the access. I'd recommend testing with the Debug Flash Player so you can see all runtime errors while testing.
When you discover which error is raised, let us know.
Cheers
Are you testing online or locally? If online I can test from here if you give me the IP address (better via a private message).
I created a Java servlet and deployed it. I can access it on my server and it works perfectly for me, however, it doesn't seem to be accessible for other users from my SWF file for some reason. I use a URLLoader to call the servlet and retrieve the information it outputs.
The problem here is the "some reason"
You need to debug this further and find the exact error that is preventing the access. I'd recommend testing with the Debug Flash Player so you can see all runtime errors while testing.
When you discover which error is raised, let us know.
Cheers
- coolboy714cp
- Posts: 323
- Joined: 06 Feb 2010, 02:45
- Contact:
Re: Only 1 BlueBox Connection at a time?
The only error I'm getting is a connection error. I log in one time to the MMO HTML5 example, and then try to login with a second user, but the second one fails until the first session is removed. I am sending you the link to the example file on my server in a private message now, thanks for your help with this.
SFS-Tutorials: http://sfs-tutorials.blogspot.com/
Who is online
Users browsing this forum: No registered users and 78 guests