I\'m using Volley library in Android in my application and when trying to make POST requests to our server I get the following error:
com.android.volley.NoC
The solution is to increase the request timeout of volley by this this line of code.
request.setRetryPolicy(new DefaultRetryPolicy(10 * 1000, 0, DefaultRetryPolicy.DEFAULT_BACKOFF_MULT));
above code is settings request timeout to 10 seconds.