Fix for NSURLErrorDomain error -999 on post preview.

Fixes #2162. 

/cc @sendhil