after activating the cryptography, use encryption, iOS client cant auto reconnect ,occur the following problems, how to solve it.
20:11:09,269 WARN [SocketReader] binary.BinaryIoHandler - java.lang.IllegalStateException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.lang.IllegalStateException
Message: Session does not support encryption: { Id: 5, Type: DEFAULT, Logged: No, IP: 101.246.183.37:57712 }
Sender: { Id: 5, Type: DEFAULT, Logged: No, IP: 101.246.183.37:57712 }
+--- --- ---+
Stack Trace:
+--- --- ---+
com.smartfoxserver.v2.protocol.binary.DefaultPacketEncrypter.execute(DefaultPacketEncrypter.java:42)
com.smartfoxserver.v2.protocol.binary.DefaultPacketEncrypter.decrypt(DefaultPacketEncrypter.java:22)
com.smartfoxserver.v2.protocol.binary.BinaryIoHandler.handlePacketData(BinaryIoHandler.java:410)
com.smartfoxserver.v2.protocol.binary.BinaryIoHandler.handleRead(BinaryIoHandler.java:197)
com.smartfoxserver.v2.protocol.SFSIoHandler.onDataRead(SFSIoHandler.java:143)
com.smartfoxserver.bitswarm.core.SocketReader.readTcpData(SocketReader.java:336)
com.smartfoxserver.bitswarm.core.SocketReader.readIncomingSocketData(SocketReader.java:220)
com.smartfoxserver.bitswarm.core.SocketReader.run(SocketReader.java:171)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
encryption
Re: encryption
Hi,
can you give us more a bit more details?
What SFS2X version are you using?
What API version?
Is this a problem that can be reproduced every time? If so which steps are you using to trigger it?
Thanks
can you give us more a bit more details?
What SFS2X version are you using?
What API version?
Is this a problem that can be reproduced every time? If so which steps are you using to trigger it?
Thanks
Re: encryption
its all the newest version, disable encryption ,the client can reconnect to the server ,the client can connection retry, but after config SSL certificate,the client cant auto reconnect to the remote server.the encryption config is right , I can connect to server and login ,just cant reconnect automatically,have those exception.
Re: encryption
I do the back action after IOS screen lock,the client cant reconnect,the server also cant detect the USER_RECONNECTION_TRY event
Re: encryption
Okay thanks.
We'll run a few tests and see if we can reproduce it.
I'll post an update as soon as possible.
We'll run a few tests and see if we can reproduce it.
I'll post an update as soon as possible.
Re: encryption
Hi,
we have reproduced the issue and we have prepared a fix.
You can download the updated API (version 1.7.4) from this temporary location
In our tests we were able to reconnect with the encrypted connection.
Let us know if it solves the problem.
Thanks
we have reproduced the issue and we have prepared a fix.
You can download the updated API (version 1.7.4) from this temporary location
In our tests we were able to reconnect with the encrypted connection.
Let us know if it solves the problem.
Thanks
Re: encryption
Thanks.
Re: encryption
It works.
Re: encryption
Thanks, we'll publish an official update soon with the fix.
Who is online
Users browsing this forum: No registered users and 55 guests