Vimeo Embed not working on my site due to Vimeo server IP blacklisting

I was able to repro this issue on one of our DigitalOcean hosted instance.

Ran this in rails console:

[1] pry(main)> FinalDestination.new("https://vimeo.com/358017730", verbose: true).resolve
=> nil

… and in the /logs saw this warning message:

FinalDestination could not resolve URL (status 403): https://vimeo.com/358017730

It seems like Vimeo is blocking a subset of DigitalOcean IPs and is returning 403 error. I am not sure how to handle this case.

5 Likes