{"action":"opened","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/1597","repository_url":"https://api.github.com/repos/square/retrofit","labels_url":"https://api.github.com/repos/square/retrofit/issues/1597/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/1597/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/1597/events","html_url":"https://github.com/square/retrofit/issues/1597","id":133414097,"number":1597,"title":"GET request with response code 100 will timeout on android 4.4.4","user":{"login":"suau","id":2596700,"avatar_url":"https://avatars.githubusercontent.com/u/2596700?v=3","gravatar_id":"","url":"https://api.github.com/users/suau","html_url":"https://github.com/suau","followers_url":"https://api.github.com/users/suau/followers","following_url":"https://api.github.com/users/suau/following{/other_user}","gists_url":"https://api.github.com/users/suau/gists{/gist_id}","starred_url":"https://api.github.com/users/suau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suau/subscriptions","organizations_url":"https://api.github.com/users/suau/orgs","repos_url":"https://api.github.com/users/suau/repos","events_url":"https://api.github.com/users/suau/events{/privacy}","received_events_url":"https://api.github.com/users/suau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-13T08:32:24Z","updated_at":"2016-02-13T08:32:24Z","closed_at":null,"body":"retrofit: 2.0.0-beta4\r\nokhttp3 logging-interceptor: 3.1.2\r\n\r\nMy server responds to a GET request with status code 100 and empty body, if the client version has a newer timestamp.\r\nThis works fine on android 6.0.1, but times out on android 4.4.4.\r\nI'm not sure if it's retrofit,okhttp or okio causing the issue.\r\n\r\nhere is the logcat:\r\n`02-13 15:33:13.923 26491-1232/com.mypackage:sync D/OkHttp: --> GET https://server.url/api/user?m=1455348793829 http/1.1\r\n02-13 15:33:13.923 26491-1232/com.mypackage:sync D/OkHttp: Authorization: Bearer token\r\n02-13 15:33:13.923 26491-1232/com.mypackage:sync D/OkHttp: --> END GET\r\n02-13 15:33:34.638 26491-1232/com.mypackage:sync W/System.err: java.net.SocketTimeoutException: timeout\r\n02-13 15:33:34.643 26491-1232/com.mypackage:sync W/System.err:     at okio.Okio$3.newTimeoutException(Okio.java:207)\r\n02-13 15:33:34.643 26491-1232/com.mypackage:sync W/System.err:     at okio.AsyncTimeout.exit(AsyncTimeout.java:250)\r\n02-13 15:33:34.648 26491-1232/com.mypackage:sync W/System.err:     at okio.AsyncTimeout$2.read(AsyncTimeout.java:217)\r\n02-13 15:33:34.648 26491-1232/com.mypackage:sync W/System.err:     at okio.RealBufferedSource.indexOf(RealBufferedSource.java:306)\r\n02-13 15:33:34.648 26491-1232/com.mypackage:sync W/System.err:     at okio.RealBufferedSource.indexOf(RealBufferedSource.java:300)\r\n02-13 15:33:34.653 26491-1232/com.mypackage:sync W/System.err:     at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:196)\r\n02-13 15:33:34.653 26491-1232/com.mypackage:sync W/System.err:     at okhttp3.internal.http.Http1xStream.readResponse(Http1xStream.java:184)\r\n02-13 15:33:34.653 26491-1232/com.mypackage:sync W/System.err:     at okhttp3.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:125)\r\n02-13 15:33:34.653 26491-1232/com.mypackage:sync W/System.err:     at okhttp3.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:723)\r\n02-13 15:33:34.653 26491-1232/com.mypackage:sync W/System.err:     at okhttp3.internal.http.HttpEngine.access$200(HttpEngine.java:81)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:708)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at okhttp3.internal.http.HttpEngine.readResponse(HttpEngine.java:563)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at okhttp3.RealCall.getResponse(RealCall.java:241)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:203)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at okhttp3.RealCall.execute(RealCall.java:57)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at retrofit2.OkHttpCall.execute(OkHttpCall.java:177)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall.execute(ExecutorCallAdapterFactory.java:87)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at com.mypackage.SyncAdapter.syncAppUser(SyncAdapter.java:101)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at com.mypackage.SyncAdapter.onPerformSync(SyncAdapter.java:83)\r\n02-13 15:33:34.658 26491-1232/com.mypackage:sync W/System.err:     at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)\r\n02-13 15:33:34.663 26491-1232/com.mypackage:sync D/SyncAdapter: IOException: java.net.SocketTimeoutException: timeout`"}}