title: Apollo GraphQL with Vertx Subscription failed
body: <p>I'm running Hasura GraphQL on docker instance(window machine) exposed at</p>
  <blockquote>
  <p><a href="http://192.168.99.100:8080/v1/graphql" rel="nofollow noreferrer">http://192.168.99.100:8080/v1/graphql</a></p>
  </blockquote>
  <p>I want to perform subscription in my verticle but getting the following exception:</p>
  <pre><code>    com.apollographql.apollo.exception.ApolloNetworkException: Subscription failed
          at com.apollographql.apollo.internal.RealApolloSubscriptionCall$SubscriptionManagerCallback.onNetworkError(RealApolloSubscriptionCall.java:246)
          at com.apollographql.apollo.internal.subscription.RealSubscriptionManager$SubscriptionRecord.notifyOnNetworkError(RealSubscriptionManager.java:524)
          at com.apollographql.apollo.internal.subscription.RealSubscriptionManager.onTransportFailure(RealSubscriptionManager.java:296)
          at com.apollographql.apollo.internal.subscription.RealSubscriptionManager$SubscriptionTransportCallback$2.run(RealSubscriptionManager.java:556)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:745)
  Caused by: java.net.SocketTimeoutException: Read timed out
          at java.net.SocketInputStream.socketRead0(Native Method)
          at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
          at java.net.SocketInputStream.read(SocketInputStream.java:170)
          at java.net.SocketInputStream.read(SocketInputStream.java:141)
  </code></pre>
  <p>Here's my sample code for apollo graphQL client:</p>
  <pre><code>public class MyFirstVerticle extends AbstractVerticle {
  
      @Override
      public void start(Future&lt;Void&gt; fut) {
  
          OkHttpClient okHttp = new OkHttpClient().newBuilder().build();
  
          ApolloClient subscribe = ApolloClient.builder()
                  .serverUrl(&quot;http://192.168.99.100:8080/v1/graphql&quot;)
                  .subscriptionTransportFactory(new WebSocketSubscriptionTransport.Factory(
                          &quot;wss://192.168.99.100:8080/v1/graphql&quot;, okHttp))
                  .build();
  
          subscribe.subscribe(new MySubscription(1)).execute(new ApolloSubscriptionCall.Callback&lt;Optional&lt;MySubscription.Data&gt;&gt;() {
      ..... 
  ....
  </code></pre>