Cannot PullHotlinkedImages for some domains

Thank you for the link. Apparently it didn’t work that well:

But I indeed thought about this solution as well.

Another solution could be to replace all [img] tags with empty new lines (couldn’t figure out yet to do it, but I’m searching), but there are 40000 posts, so I prefer not to fail on this one… :sweat_smile:

edit: nope, that wouldn’t work, because the “working” broken image are inside a [URL] link, so here’s what the result would look like:
The images wouldn’t be displayed :confounded:

edit 2: I also tried to replace the [IMG] tags by standard HTML tags, such as <img src="" />
But the problem is still the same as with the [IMG] tags, so it doesn’t work either. That’s really a bummer, especially when all the images are nicely displayed in the post preview…

Edit 3: the same phenomenon appears (sort of) in new (non-imported) posts, but not for all image links.
Also, if the automatic image display doesn’t work, the image are displayed if we use manually any tag or image formatting used by Discourse.

Rebuilding HTML won’t make the two first links display as images; They’ll be kept as they are, despite the fact that they should display directly an image.

When the PullHotlinkedImages jobs are executed, then, the images break!

I understand less and less what’s going on and if all these issues are connected in any sort of way.

That looks like a Discourse issue… But is it?

I can’t try on an older version of Discourse, all my forums are on the latest.

(and nothing in Discourse’s logs)


This last issue is reproductible on



<img src="" />


See that:

  1. the first link doesn’t display the image
  2. all image formatting correctly display the image, both in the preview and even after posting the message
  3. wait for the remote images to be downloaded; images break:



That’s a bug then, I’d think. I think it’s because after the image is downloaded it becomes upload://ddd.


Merci @Canapin, we’ll have a look.


The image fails to download because the webserver is misconfigured. It’s sending an incomplete certificate chain. The intermediate certificate is missing.

Most browsers probably have the “Sectigo RSA Organization Validation Secure Server CA” intermediate certificate cached from another site, so it’s not an obvious issue. The download fails, because AFAIK OpenSSL doesn’t have such a cache. It requires the server to send it.

See for yourself in the SSL Server Test for It reports an incomplete certificate chain.


Thank you for the clarification!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.