BasicNetwork.performRequest: Unexpected response code 400 for <AWS S3 url>
I'm getting this error while loading image onto an imageView using Volley library in android.
Here is code:
VolleyCustomImageLoader mImageLoader;
mImageLoader = AppController.getInstance().getImageLoader();
mImageLoader.get(URLPath,
VolleyCustomImageLoader.getImageListener(imageView,
R.drawable.ic_user, R.drawable.ic_user));
You should go through these AWS S3 error codes & verify Http Headers being sent while making request in VolleyCustomImageLoader
Try printing VolleyLogs using
VolleyLog.DEBUG = true;
and see any other significant info you can get from it, you can share that log too as part of the question.
Though, I am able to HTTP Get image URL you provided in comments.
Guessing you might not have shared actual URL with which you are facing issues due to privacy concerns?.
Most likely it's Proxy issue. However, change the domain to a real IP address exp; https://www.facebook.com/images/fb_icon_325x325.png to https://31.13.71.36/images/fb_icon_325x325.png
if Not Worked! you may need to configure WStunnel, see this to relate
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With