Android Tweet embed: Some profile pictures won't load


Some avatars will not load in my TweetViews and it seems to be as a result of an underlying Picasso exception, as follows: Received response with 0 content-length header.
at com.squareup.picasso.NetworkBitmapHunter.decode(
at com.squareup.picasso.BitmapHunter.hunt(
at java.util.concurrent.Executors$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
at com.squareup.picasso.Utils$

There seems to be some discussion related to this error here, in case this would help.

My TweetViews fail to load the avatar of this tweet, for example and also for my own tweets (e.g.)

Any idea what’s going on here?


As a workaround: the issue went away when I cleared the cache of my app but I would still like to get to the bottom of this as my users won’t know the reason behind the images not loading.


The issue came back again just with using the functionality a dozen or so more times. Has anyone had a chance to look at this yet? My app won’t really be ready for the wild until I can get to the bottom of this.

closed #2