Page 1 of 1

Only 1 BlueBox Connection at a time?

Posted: 19 Jan 2019, 00:32
by coolboy714cp
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

Re: Only 1 BlueBox Connection at a time?

Posted: 19 Jan 2019, 09:59
by Lapo
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

Re: Only 1 BlueBox Connection at a time?

Posted: 31 Jan 2019, 10:05
by coolboy714cp
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?

Re: Only 1 BlueBox Connection at a time?

Posted: 31 Jan 2019, 11:01
by Lapo
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).

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" :D
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

Re: Only 1 BlueBox Connection at a time?

Posted: 01 Feb 2019, 06:01
by coolboy714cp
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. :)