Mattermost, Inc.

Page & YouTube previews missing after 5.13 > 5.22 update

After upgrading from 5.13 to 5.22.2 we’ve noticed that page previews are no longer functioning. This can be a simple page that would have hitherto worked or a YouTube video, etc. The URL simply is given as a clickable link, but no preview occurs.

Link previews are set to on within the System Console:

What OS and version are you on? What is your AllowedUntrustedInternalConnections setting set to?

Ubuntu 18.04.3 LTS and:

What are your settings set to related to Image Proxy https://docs.mattermost.com/administration/image-proxy.html#local-image-proxy?

I do have this set on and oddly image previews ARE rendering, unlike web page previews…

Hello, @ylluminate

So I compared the configuration you shared with my vanilla 5.22.2 instance and verified that the only difference that I can see is Enable Image Proxy, which I set to false:

I can confirm that the YouTube video preview is being rendered properly. For example:

Can you please set it to false and verify it it works properly on your side?