title: "Volley" Error: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
body: <p>This is not a duplicate question, because I did not find anything about this error with "volley".</p>
  
  <p>My problem happens when the connection is very slow, one of my services returns this error:</p>
  
  <pre><code>         VolleyError={NoConnectionError@5719}"com.android.volley.NoConnectionError: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
           VolleyError.networkResponse.data=java.lang.NullPointerException
           VolleyError.networkResponse.statusCode=java.lang.NullPointerException
           VolleyError.networkResponse=null
  </code></pre>
  
  <p>I have searched a lot, and find this </p>
  
  <pre><code>         System.setProperty("http.keepAlive","false");
  </code></pre>
  
  <p>but I don't know if that right.</p>