deepstream.io-client-java
deepstream.io-client-java copied to clipboard
The Java/Android Client for deepstream.io
Hi, I would like to connect the deepstream and to get error\exception if the action failed after X times (accroding to config). public static void main(String[] args) { try {...
Java client seems to be having issues with newer versions of [Java-Websocket](https://github.com/TooTallNate/Java-WebSocket) with latest commit to **28 Nov 2017**. I am very much interested in future of this repository.
Calling `client.getEventHandler().unsubscribe("my/event", mMyListener)` without having called `client.getEventHandler().subscribe("my/event", mMyListener)` before, results in an NPE in `DeepstreamClientAbstract.onError(...)` Reason: The server sends `NOT_SUBSCRIBED` which is an event type that is not known by...
https://github.com/deepstreamIO/deepstream.io-client-java/blob/ccadd183a2f989e64fa491ed71ae09f050c09d84/src/main/java/io/deepstream/DeepstreamClient.java#L242 If you attempt to connect to deepstream when the host is down (or not running, for whatever reason) The DeepStreamClient.login(...) method hangs indefinitely. There is a countdown latch that...
When we are closing the deepstream client on Android 8.1.1 version Application crashing. PHONE_MODEL=Nexus 5X STACK_TRACE=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)...
[DeepstreamClient.event.subscribe()](https://deepstreamhub.com/docs/client-java/EventHandler/#subscribe(eventName,listener)) takes eventName and listener to event but doesn't take subscription callback, i.e., I don't know if after calling this function I will receive events or not. Or is it...
Fatal Exception: io.a.j: CONNECTION_ERROR: Host is unresolved: ******** at io.deepstream.DeepstreamClientAbstract.getConnectionState(DeepstreamClientAbstract.java:65) at io.deepstream.Connection$1.run(Connection.java:201) at java.util.Timer$TimerImpl.run(Timer.java:284)
1. crash fix where socket send message when connection is not there 2. retry of websocket was blocked by a condition in Connection.java 3. crash fix where sometimes event comes...
@yasserf Is there any chance you can update this library to use Java-WebSocket 1.3.7 or later https://github.com/TooTallNate/Java-WebSocket/tree/v1.3.7 I've tried to update my dependencies to get around a 100% CPU issue...
deepStreamUtils.getClient().login() is not working on API 21, the same code runs perfectly along with subscribing to records on devices with newer APIs After checking the code, weird thing is on...