I'm making a string request with Volley. Here's the error:
basicNetwork.performRequest: Unexpected response code 503 for http://...
The problem is not the url. I've checked that already. The url is an address to some XML that looks like this for example:
<config>
<Request name="ValidateEmailRequest">
<requestqueue>emailrequest</requestqueue>
<responsequeue>emailresponse</responsequeue>
</Request>
<Request name="CleanEmail">
<requestqueue>Cleanrequest</requestqueue>
<responsequeue>Cleanresponse</responsequeue>
</Request>
</config>
Here is my request code:
StringRequest myReq = new StringRequest(
Request.Method.GET,
url,
new Response.Listener<String>()
{
/** On response **/
@Override
public void onResponse(String response) {
processData(response);
}
},
new Response.ErrorListener()
{
@Override
public void onErrorResponse(VolleyError error) {
// handle error response
}
});
Is my request queue the problem? I'm making multiple request from different classes to the same static request queue, but that hasn't been a problem until now.
e.g.
MyOtherClass.getRequestQueue();
//Request code for this class...
MyOtherClass.RequestQueue.add(myRequest);
edit
My urls are working. They expire pretty fast because they are signed, but here is one anyways.