title: Piccasso 502 Bad Getway
body: <p>I use <code>com.squareup.picasso:picasso:2.5.2</code> library for downloading images. I develop client-server application and replace api from one server to another one. All is fine but I faced with one issue all images stop downloading through Picasso library and always return in exception block "502 Bad Getway".</p>
  
  <p>My code:</p>
  
  <pre><code>Picasso.Builder builder = new Picasso.Builder(context)
                      .listener(new Picasso.Listener()
                      {
                          @Override
                          public void onImageLoadFailed(Picasso picasso, Uri uri, Exception exception)
                          {
                              //exception.getMessage() always return "502 Bad Getway"
                          }
                      });
              builder.build().load("http://cifrosvit.com/images/mod_catalog_prod_11/117026/97290_small.jpg")
                      .error(R.mipmap.ic_no_image)
                      .into(holder.image);
  </code></pre>
  
  <p>This is url work through browser and return request code 200.</p>
  
  <p>My issue in git repository <a href="https://github.com/coulddog6/PicassoTest/blob/master/app/src/main/java/com/example/seotm/picassotest/FullscreenActivity.java" rel="nofollow">https://github.com/coulddog6/PicassoTest/blob/master/app/src/main/java/com/example/seotm/picassotest/FullscreenActivity.java</a></p>