OneBox – problems with Vimeo and Streamable embeds

סיכום מבוסס בינה מלאכותית

johnpuddephatt reports issues with Vimeo and Streamable embeds on a self-hosted Discourse instance hosted on Digital Ocean. While YouTube embeds work fine, Vimeo embeds fail entirely, resulting in a 404 error when attempting to fetch the embed via the OneBox API. johnpuddephatt notes that this is likely due to Vimeo blacklisting the server’s IP address, referencing a related discussion on the Discourse Meta forum. Streamable embeds work but include an expires parameter that limits their functionality. techAPJ directs attention to the Meta discussion, suggesting further investigation into the IP blacklisting issue.

Hello,

I’m having problems with both Vimeo and Streamable embeds on a self-hosted version of Discourse setup through Digital Ocean’s one-click app.

Youtube embeds work fine.

Streamable embeds work, but with an expires parameter that means the video only works for a short period of time:

Vimeo embeds aren’t working at all. Inserting a link such as https://vimeo.com/366213716 just results in a regular link being inserted, no embedded player.

I’ve searched but could only find mentions of Vimeo links not working due to settings on Vimeo not permitting embeds, but that doesn’t seem to be the case here – I can share the video elsewhere fine.

Looking in the Chrome devtools, I’m seeing that when I insert a Youtube link into the editor, on the Network tab I see an XHR request to https://chat.joyoflanguages.com/onebox?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2DYA1VV7_SM&refresh=false&category_id=5&topic_id=7 which succeeds and returns the markup for an image.

However when I insert a Vimeo link, I get a 404 response for https://chat.joyoflanguages.com/onebox?url=https%3A%2F%2Fvimeo.com%2F365656425&refresh=false&category_id=5&topic_id=7

Any thoughts on why these things might be occuring?

OK Vimeo issue appears to be due to IP being blacklisted. Others reporting the same issue with Digital Ocean here – Vimeo Embed not working on my site due to Vimeo server IP blacklisting

Streamable issue remains.

I recommend reading that topic till the end.