Having the app opened and being logged in, force stop the server and an error pops up on the screen "Error while trying to subscribe meme creation" and in logcat:
08-22 13:58:41.137 17796-18293/org.aerogear.android.app.memeolist E/AeroGear: Subscription failed |
com.apollographql.apollo.exception.ApolloNetworkException: Subscription failed |
at com.apollographql.apollo.internal.RealApolloSubscriptionCall$SubscriptionManagerCallback.onNetworkError(RealApolloSubscriptionCall.java:154) |
at com.apollographql.apollo.internal.subscription.RealSubscriptionManager$SubscriptionRecord.notifyOnNetworkError(RealSubscriptionManager.java:339) |
at com.apollographql.apollo.internal.subscription.RealSubscriptionManager.onTransportFailure(RealSubscriptionManager.java:180) |
at com.apollographql.apollo.internal.subscription.RealSubscriptionManager$SubscriptionTransportCallback$2.run(RealSubscriptionManager.java:369) |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) |
at java.lang.Thread.run(Thread.java:818) |
Caused by: java.io.EOFException |
at okio.RealBufferedSource.require(RealBufferedSource.java:60) |
at okio.RealBufferedSource.readByte(RealBufferedSource.java:73) |
at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.java:113) |
at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.java:97) |
at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.java:265) |
at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:204) |
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:153) |
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) |
at java.lang.Thread.run(Thread.java:818)
|
|