The images inside my posts fail to load from the micro.blog CDN. The images show correctly on my site, and in mastodon syndication. I followed the HTML output from Manton’s site, and note sure what I’m doing wrong.
When Micro.blog’s photo cache tries to download your image, it’s taking too long and timing out. Is it possible that there is something on your server that is blocking the requests from Micro.blog?
No, that’s not it, Micro.blog finds your image URL:s okay. Take this post, for example. Inspecting that page, we find Micro.blog is embedding the image with this URL:
It’s not super fast, but it works. So the next step is to figure out why it times out when Manton’s servers (or Amazon’s, I guess) fetches that URL. For that, you need to take a look at your server logs. Find the request that fails and continue the investigation from there. I can imagine the following scenarios:
Your server successfully serves the images, but it is too slow for Amazon’s taste, so you have to serve it faster.
Your server fails to serve the image for one reason or the other, you have to figure out why and fix the problem.
Your server serves the images swiftly and successfully. In that case, the timeout Manton is talking about might happen for another reason. Maybe it’s not a network timeout but an image processing timeout, for example. In that case, Manton might have to adjust something at the CDN level.
Taking a look at your server logs will hopefully make it clear which scenario it is.
By the way, I should have mentioned that Micro.blog’s photo caching has a fairly low timeout: 10 seconds. And then Amazon’s CDN is on top of that and might have its own limits.
Not sure if it helps, but I’m also having the same issue on my personal blog hosted on Micro.blog. I emailed support with more details about the issue but from what @chrisd describes is the same pattern of behaviour, images failed to load from CDN.