Only 1 BlueBox Connection at a time?

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

User avatar
coolboy714cp
Posts: 317
Joined: 06 Feb 2010, 02:45
Contact:

Only 1 BlueBox Connection at a time?

Postby coolboy714cp » 19 Jan 2019, 00:32

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
User avatar
Lapo
Site Admin
Posts: 21065
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Only 1 BlueBox Connection at a time?

Postby Lapo » 19 Jan 2019, 09:59

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
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
coolboy714cp
Posts: 317
Joined: 06 Feb 2010, 02:45
Contact:

Re: Only 1 BlueBox Connection at a time?

Postby coolboy714cp » 31 Jan 2019, 10:05

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?
User avatar
Lapo
Site Admin
Posts: 21065
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Only 1 BlueBox Connection at a time?

Postby Lapo » 31 Jan 2019, 11:01

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
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
coolboy714cp
Posts: 317
Joined: 06 Feb 2010, 02:45
Contact:

Re: Only 1 BlueBox Connection at a time?

Postby coolboy714cp » 01 Feb 2019, 06:01

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. :)

Return to “SFS2X Questions”

Who is online

Users browsing this forum: DavinVicy, JerodSa and 17 guests