Hi. I found a problem with reconnecting okhttp websockets on 0.1.7/0.2.3-alpha1. After several attempts the reconnection stops.
I think I found a reason. We subscribe on socket event in Connection.open(). But sometimes OkHttpWebSocketEventObserver emit WebSocket.Event.OnConnectionFailed(t) before subscription complete and this event just ignored.
Solution - replace PublishProcessor to BehaviorProcessor.
Hi. I found a problem with reconnecting okhttp websockets on 0.1.7/0.2.3-alpha1. After several attempts the reconnection stops. I think I found a reason. We subscribe on socket event in Connection.open(). But sometimes OkHttpWebSocketEventObserver emit WebSocket.Event.OnConnectionFailed(t) before subscription complete and this event just ignored. Solution - replace PublishProcessor to BehaviorProcessor.