GithubHelp home page GithubHelp logo

Comments (12)

possible-is avatar possible-is commented on July 2, 2024 1

I'm getting in touch with vimeo about this. Seems that this is not really an issue with the plugin itself. Thanks again for taking the time...

from kirby-embed.

possible-is avatar possible-is commented on July 2, 2024

Update:
I did use an old version of the Embed Plugin. After updating to the current version (1.1.2) it is still not working, but i get an error message with kirby 4.1.1: Sync failed

from kirby-embed.

sylvainjule avatar sylvainjule commented on July 2, 2024

If I get this right, with 1.1.2 and Kirby 4.1.1 it is working locally on a starterkit but not remotely? Does the console log anything when the Sync failed message shows?

from kirby-embed.

possible-is avatar possible-is commented on July 2, 2024

Hello Sylvain, thanks for getting back. Both setups are remote. One is on Strato for a client and the other is on Hetzner, which is my personal hoster.
I am using Firefox with an inspector and get nothing when i paste the Url and get the error message...

Bildschirmfoto 2024-03-09 um 17 35 11

When i do the same thing on my personal Webspace, it works but i get a ton of console messages:

Bildschirmfoto 2024-03-09 um 17 37 47

from kirby-embed.

sylvainjule avatar sylvainjule commented on July 2, 2024
  • Does it work if you paste another link, for example a youtube video? Or does the sync also fail?
  • The field makes an API call to fetch the embed data, can you try dumping kirby()->site()->getEmbedData('https://vimeo.com/224201603') anywhere on your website, what does it return?

(the warnings on your 2nd screenshot are caused by Vimeo's iframe, so nothing to do with the plugin itself)

from kirby-embed.

possible-is avatar possible-is commented on July 2, 2024
  1. I tried a youtube link (https://youtu.be/SGwCjJkaG50?si=-woDV06ABtuu7HeV) and this worked
  2. If i var_dump for the EmbedData, i get this return:

array(2) { ["status"]=> string(7) "success" ["data"]=> array(17) { ["title"]=> string(18) "Verify to Continue" ["description"]=> NULL ["url"]=> object(GuzzleHttp\Psr7\Uri)#321 (8) { ["scheme":"GuzzleHttp\Psr7\Uri":private]=> string(5) "https" ["userInfo":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["host":"GuzzleHttp\Psr7\Uri":private]=> string(9) "vimeo.com" ["port":"GuzzleHttp\Psr7\Uri":private]=> NULL ["path":"GuzzleHttp\Psr7\Uri":private]=> string(10) "/224201603" ["query":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["fragment":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["composedComponents":"GuzzleHttp\Psr7\Uri":private]=> string(27) "https://vimeo.com/224201603" } ["tags"]=> array(0) { } ["image"]=> NULL ["feeds"]=> array(0) { } ["code"]=> NULL ["width"]=> NULL ["height"]=> NULL ["aspectRatio"]=> NULL ["authorName"]=> NULL ["authorUrl"]=> NULL ["providerIcon"]=> NULL ["providerName"]=> string(5) "Vimeo" ["providerUrl"]=> object(GuzzleHttp\Psr7\Uri)#357 (8) { ["scheme":"GuzzleHttp\Psr7\Uri":private]=> string(5) "https" ["userInfo":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["host":"GuzzleHttp\Psr7\Uri":private]=> string(9) "vimeo.com" ["port":"GuzzleHttp\Psr7\Uri":private]=> NULL ["path":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["query":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["fragment":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["composedComponents":"GuzzleHttp\Psr7\Uri":private]=> NULL } ["publishedTime"]=> NULL ["license"]=> NULL } }

thanks already for taking the time...

from kirby-embed.

possible-is avatar possible-is commented on July 2, 2024

If i do it on my other testsite where everything works, i get this result:

array(2) { ["status"]=> string(7) "success" ["data"]=> array(17) { ["title"]=> string(31) "Tired of Waiting (detail), 2017" ["description"]=> string(112) "Detail of "Tired of Waiting", Watercolour, glass, audio, clock mechanism. Installation at Porcino, Berlin, 2017." ["url"]=> object(GuzzleHttp\Psr7\Uri)#322 (8) { ["scheme":"GuzzleHttp\Psr7\Uri":private]=> string(5) "https" ["userInfo":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["host":"GuzzleHttp\Psr7\Uri":private]=> string(9) "vimeo.com" ["port":"GuzzleHttp\Psr7\Uri":private]=> NULL ["path":"GuzzleHttp\Psr7\Uri":private]=> string(10) "/224201603" ["query":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["fragment":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["composedComponents":"GuzzleHttp\Psr7\Uri":private]=> NULL } ["tags"]=> array(0) { } ["image"]=> object(GuzzleHttp\Psr7\Uri)#396 (8) { ["scheme":"GuzzleHttp\Psr7\Uri":private]=> string(5) "https" ["userInfo":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["host":"GuzzleHttp\Psr7\Uri":private]=> string(14) "i.vimeocdn.com" ["port":"GuzzleHttp\Psr7\Uri":private]=> NULL ["path":"GuzzleHttp\Psr7\Uri":private]=> string(91) "/video/643199910-b756859160e836ba1fd72204fe691868b15ad5755a089eb2be168a0963870bd3-d_295x166" ["query":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["fragment":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["composedComponents":"GuzzleHttp\Psr7\Uri":private]=> NULL } ["feeds"]=> array(0) { } ["code"]=> string(225) "

Here is the video shown

["authorName"]=> string(15) "Anna Szaflarski" ["authorUrl"]=> object(GuzzleHttp\Psr7\Uri)#398 (8) { ["scheme":"GuzzleHttp\Psr7\Uri":private]=> string(5) "https" ["userInfo":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["host":"GuzzleHttp\Psr7\Uri":private]=> string(9) "vimeo.com" ["port":"GuzzleHttp\Psr7\Uri":private]=> NULL ["path":"GuzzleHttp\Psr7\Uri":private]=> string(13) "/user41889463" ["query":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["fragment":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["composedComponents":"GuzzleHttp\Psr7\Uri":private]=> NULL } ["providerIcon"]=> object(GuzzleHttp\Psr7\Uri)#391 (8) { ["scheme":"GuzzleHttp\Psr7\Uri":private]=> string(5) "https" ["userInfo":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["host":"GuzzleHttp\Psr7\Uri":private]=> string(14) "i.vimeocdn.com" ["port":"GuzzleHttp\Psr7\Uri":private]=> NULL ["path":"GuzzleHttp\Psr7\Uri":private]=> string(23) "/favicon/main-touch_180" ["query":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["fragment":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["composedComponents":"GuzzleHttp\Psr7\Uri":private]=> NULL } ["providerName"]=> string(5) "Vimeo" ["providerUrl"]=> object(GuzzleHttp\Psr7\Uri)#395 (8) { ["scheme":"GuzzleHttp\Psr7\Uri":private]=> string(5) "https" ["userInfo":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["host":"GuzzleHttp\Psr7\Uri":private]=> string(9) "vimeo.com" ["port":"GuzzleHttp\Psr7\Uri":private]=> NULL ["path":"GuzzleHttp\Psr7\Uri":private]=> string(1) "/" ["query":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["fragment":"GuzzleHttp\Psr7\Uri":private]=> string(0) "" ["composedComponents":"GuzzleHttp\Psr7\Uri":private]=> NULL } ["publishedTime"]=> NULL ["license"]=> NULL } }

from kirby-embed.

sylvainjule avatar sylvainjule commented on July 2, 2024

There's something Vimeo doesn't like about your server then. Can you run this somewhere:

$oembed_endpoint = 'http://vimeo.com/api/oembed';
$url = $oembed_endpoint . '.json?url=' . rawurlencode('https://vimeo.com/224201603') . '&width=640';

$embed = json_decode(curl_get($url));

dump($embed);

function curl_get($url) {
    $curl = curl_init($url);
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($curl, CURLOPT_TIMEOUT, 30);
    curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
    $return = curl_exec($curl);
    curl_close($curl);
    return $return;
}

What does it dump?

from kirby-embed.

possible-is avatar possible-is commented on July 2, 2024

It dumps this very concerning message:

stdClass Object
(
    [error] => You have been banned.
    [link] => 
    [developer_message] => You have been banned. Contact Vimeo support at https://vimeo.com/help/contact and provide your public IP, 81.169.144.135, and code 'MW-BL' for more information.
    [error_code] => 3500
)

from kirby-embed.

possible-is avatar possible-is commented on July 2, 2024

The strange thing is, that all the previously embedded videos are working....

from kirby-embed.

sylvainjule avatar sylvainjule commented on July 2, 2024

The hosting is shared, right? Then another site probably made way too many requests to the Vimeo API and Vimeo implemented a (hopefully) 24 hour ban on the IP, which you share. Unfortunately nothing this plugin can do about it, you'd have to either try again tomorrow to check if the ban has been lifted or get in touch with Vimeo.

The already-stored videos aren't affected, only new API calls.

from kirby-embed.

possible-is avatar possible-is commented on July 2, 2024

Vimeo got back to us:

Upon my investigation, it appears that this IP address may be associated with a shared provider or service of a hosting company (https://wordpress.org/plugins/vimeography/ ). This association could be the reason for the blockage, as it seems to have resulted from a high volume of API requests leading to the ban of the page/IP.

At this time, I advise against using this template until the issue of excessive usage is resolved. I suggest disabling this plugin or reaching out to the hosting website of this plugin to inquire about the IP address 81.169.144.135 being blocked due to rate limiting. They can also contact us for assistance in resolving this matter.

Looks like we got part of a different problem. freaky...

from kirby-embed.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.