centrifuge-android
centrifuge-android copied to clipboard
Android client to communicate with Centrifugo v1 over Websockets (not maintained anymore)
We use centrifuge lib to communicate with Sockets. Everything works well but this code : val credentials = Centrifuge.newCredentials( getCurrentUserId(), webSocketToken.timestamp, EMPTY_STRING, webSocketToken.token ) throws this error, it only happens...
Hi, When I send message from server, Android SDK throw error, because there is no `timestamp` property. seems the centrifugo server remove this property? Could you update SDK to fix...
I have gotten this exception several times ` bcore.io.IoBridge.connectErrno (IoBridge.java:189) libcore.io.IoBridge.connect (IoBridge.java:127) libcore.io.IoBridge.connect (IoBridge.java:115) java.nio.SocketChannelImpl.connect (SocketChannelImpl.java:199) org.java_websocket.client.WebSocketClient.interruptableRun (WebSocketClient.java:210) org.java_websocket.client.WebSocketClient.run (WebSocketClient.java:188) java.lang.Thread.run (Thread.java:818) `
After reconnecting and and re-subscribing to the channel receives `permission denied` error. And then works only on a new session (centrifuge re-initializing). Unfortunately, there are no clear steps to reproduce,...
I have exception `FATAL EXCEPTION: Centrifugo Process: pro.myburse.app, PID: 27180 java.lang.NullPointerException: ssl == null at com.android.org.conscrypt.NativeCrypto.SSL_set_timeout(Native Method) at com.android.org.conscrypt.SslWrapper.setTimeout(SslWrapper.java:101) at com.android.org.conscrypt.ActiveSession.invalidate(ActiveSession.java:147) at com.android.org.conscrypt.DelegatingExtendedSSLSession.invalidate(DelegatingExtendedSSLSession.java:120) at org.java_websocket.SSLSocketChannel2.close(SSLSocketChannel2.java:268) at org.java_websocket.WebSocketImpl.closeConnection(WebSocketImpl.java:453) at org.java_websocket.WebSocketImpl.eot(WebSocketImpl.java:511) at...
This repo needs maintainer, we need a help with current issues and migration to adapt Centrifugo v2 changes very soon.
Client in pure java, to connect via wss or ws https://github.com/jeffarbar/client-Java-centrifugo
Centrifugo sends Disconnect Advice in connection close reason (in Close Websocket frame). It's a JSON encoded string which contains 2 fields at moment, for example ```json { "reason": "shutting down",...