[Solved] Youtube previews not working

I’m running Mattermost 9.5.1, installed via Docker. Lets Encrypt cert is installed and working.

Relevant preview settings:

Link previews for other websites work fine, but Youtube specifically doesn’t work:

The only thing I can think of is that maybe the nginx reverse proxy is getting in the way somehow?

That said I can curl youtube.com from inside the mattermost docker container, so I’m reasonably sure that the server can access the internet. Hosted on Digital Ocean.

There is nothing in the docker logs or mattermost logs that I can see that is relevant to link previews failing to generate.

Any ideas?

I’d highly recommend updating to 9.5.13 and see if you still have an issue. There are a couple of references to Youtube issues in v9 changelog - Mattermost documentation

1 Like

I upgraded and that fixed it. Thanks for pointing that out :slight_smile:

1 Like