Stetho unable to show response for few call in Chrome dev tools
<p>Hi Guys I am using Stethofacebooklibrary with okhttp to debug and intercept http calls, it seems a pretty smooth ride except that for a few GET calls the dev tool in unable to show the JSON response and also shows those calls as "Pending"  though the status for such calls is  200 OK and also the response headers are logged.</p>

<p>For other calls I am able to  see them as excepted in  network tab of chrome dev tools , but for certain url i get PENDING, although data has already arrived (data format is JSON) , <strong>i am able to log the data in application by adding log comments for such PENDING state calls so data definitely comes and its not malformed in any way</strong>, has anybody else faced this or can think of why chrome dev tools / stetho  gave up on me ?</p>

<p>This is how i am using stetho in my code
 <strong>gradle entry</strong> :</p>

<pre><code>compile 'com.facebook.stetho:stetho-okhttp:1.3.1'
compile 'com.squareup.okhttp:okhttp:2.4.0'
</code></pre>

<p>In my application file in onCreate()</p>

<pre><code> Stetho.initializeWithDefaults(this);
</code></pre>

<p>And i attach okhttp client with stetho as </p>

<pre><code> OkHttpClient client = new HttpClient();
 client.networkInterceptors().add(new StethoInterceptor());
</code></pre>

<p>I tried running the  inspect tool after disabling all the extension (adblock etc) </p>

<p>I am adding  screenshot of the dev tools and also a detail of one of the   network  which is in pending state but says 200 OK along with response headers including content length with non zero values but size  shows as 0.Also adding screen shot for a successful response entry where the content length was small.
<a href="https://i.stack.imgur.com/z3WWO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z3WWO.jpg" alt="Chrome Dev tool network screenshot , few GET calls are pending state although the status is 200 ok"></a>
<a href="https://i.stack.imgur.com/owIGB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/owIGB.jpg" alt="Successful call to the endpoint with dummy param which respond with dummy response of small length 32bytes"></a><a href="https://i.stack.imgur.com/jE5z2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jE5z2.jpg" alt="Actual call to the enpoint with real param which result in a  longer response which  shows as pending and size as zero although the status is 200 ok and content length show the size of response"></a></p>