Encrypt Connection

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

Moderators: Lapo, Bax

Ceciaman
Posts: 45
Joined: 13 Feb 2009, 11:35

Encrypt Connection

Postby Ceciaman » 06 Jun 2021, 22:43

hi Lapo, hi Bax,

I've a chat in WEBGL wss where user login is ok.
Have app android and ios that are linked at WEBGL chat.

Why when i use app spent about 30/60 sec to login?
User avatar
Lapo
Site Admin
Posts: 22064
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Encrypt Connection

Postby Lapo » 07 Jun 2021, 07:43

Hi,
it's difficult to say. From the Client API side the login process is the same for all devices, so mobile works exactly the same.
Maybe the connection from these devices is not very good?
Have you tried multiple devices and connections?

Do you use custom server side code for the login process?

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
Ceciaman
Posts: 45
Joined: 13 Feb 2009, 11:35

Re: Encrypt Connection

Postby Ceciaman » 07 Jun 2021, 13:11

Nope,
all connection are client side, the WEBGL (wss) is immediate (olso in editor mode with unity (https))

the app instead have a login after 30/40 seconds...
Ceciaman
Posts: 45
Joined: 13 Feb 2009, 11:35

Re: Encrypt Connection

Postby Ceciaman » 08 Jun 2021, 15:47

I've seen that the user that do login from app enter in bluebox.
Why?
User avatar
Lapo
Site Admin
Posts: 22064
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Encrypt Connection

Postby Lapo » 09 Jun 2021, 10:30

Hi,
I need more details to understand what you're doing.

What client API are you using? Unity? Which version?
What platform are you exporting to? You have mentioned iOS and Android, but these two don't support Websocket and must use regular TCP socket on port 9933.

So at this point I am a little confused as to what exactly you're doing. Please give us all the details.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games
Ceciaman
Posts: 45
Joined: 13 Feb 2009, 11:35

Re: Encrypt Connection

Postby Ceciaman » 16 Jun 2021, 10:06

Ok i've solved it.
The firewall lock the connection Socket ad activate connection Blubox.
t's
User avatar
Lapo
Site Admin
Posts: 22064
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Encrypt Connection

Postby Lapo » 16 Jun 2021, 17:41

Thanks for the update
Cheers
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 27 guests