Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter naner13

    (@naner13)

    After a lot of trial and error, the only thing that fixed the problem was changing DNS servers on the server, though we can’t really explain why. We looked at the network traffic and we couldn’t see anything. Thanks for all your help James.

    Thread Starter naner13

    (@naner13)

    We are going to try to monitor the network and see if we can see anything there (when looking around in the dashboard or trying to using oembed).

    Thread Starter naner13

    (@naner13)

    We are using stock packages from CentOS. Other than memory tuning and setting virtual folders we haven’t done much! :/

    Thread Starter naner13

    (@naner13)

    Yes, I was able to cURL to Vimeo just fine.

    Thread Starter naner13

    (@naner13)

    Thanks again James,

    1. I have tried https and http URLs (Vimeo and YouTube). Does not seem to make a difference.

    2. INTERESTING… the dashboard is indeed EXTREMELY slow, BUT, the news panel works just fine. We have tested the DNS in multiple ways:

    – Ping from the server
    – gethostbyname on PHP
    – curl call to vimeo.com

    They all worked fine, they resolved the hostname.

    3. We have tried disabling the firewall, it didn’t fix it.

    Could it be an Apache/PHP configuration or module that we are missing?

    Thanks!

    Thread Starter naner13

    (@naner13)

    Here’s the URL to the fresh wordpress install.
    http://test.outlookmag.org/

    Thread Starter naner13

    (@naner13)

    Nothing happens, it displays the URL as plain text.

    Thread Starter naner13

    (@naner13)

    What do you mean by via oEmbed? Something like the following?

    require_once("wp-load.php");
    $embed_code = wp_oembed_get('http://vimeo.com/114998128');
    print($embed_code);

    It returns false everytime. Yes, using the embed code works fine.

    Let me make sure all those permissions are fixed and I’ll send the URL.

    Thanks again.

    Thread Starter naner13

    (@naner13)

    Hey James,

    I’ve come a lot further since I posted this question, but I’m still having issues. First I set up a test where I called wp_oembed_get and noticed that it would ALWAYS return false regardless of the video I was trying to load (vimeo, youtube). We can’t figure out why that’s happening.

    We modified the script to be able to get more information/detailed errors from the server, here’s the response: https://gist.github.com/anonymous/efc99814d2d4e7a4a7ad

    Notice that under the error sections it says: “Resolving timed out after 5123 milliseconds”. To prove that DNS was working fine I set up a php script to call gethostbyname for vimeo.com and also made a call to the video url using curl, both worked fine, meaning PHP was able to resolve the host. We tried to change the timeout on Apache and PHP but that didn’t solve the problem.

    We are running a CentOS 7 Linux installation. SELinux is set to permissive and we have even tried to set the firewall off but still doesn’t work. We also set up a fresh wordpress install on the same server to test things, so it is not plugin or theme related.

    On the fresh install we set all permissions to 777 to make sure it was not a permissions issue either. No luck.

    Any ideas? Thanks a lot!!!

Viewing 9 replies - 1 through 9 (of 9 total)