• Resolved Hrishikesh

    (@hrishikeshbharaligmailcom)


    Hi,
    I am using Cloudflare CDN service for my site. I am unable to connect Cloudflare with Hummingbird Plugin.
    When I go to Caching > Browser Caching > Cloudflare > Setup and input my email ID and Global API Key and press Connect, I get the following error message :

    Error: Cloudflare error: Missing X-Auth-Email header [403]

    I have tried un-installing and fresh install of HB Plugin and also created a fresh API keys in Cloudflare, but to no avail.
    Please help.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • @hrishikeshbharaligmailcom,

    Seems like you’re using an incorrect combination of email / API key.
    Could you please try and reset Hummingbird settings? You need to visit this page to do so: wp-admin/admin.php?page=wphb&wphb-clear=all

    Best regards,
    Anton

    Thread Starter Hrishikesh

    (@hrishikeshbharaligmailcom)

    Seems like you’re using an incorrect combination of email / API key.

    I think we can safely rule out this possibility as I have double-checked everything. Also, to avoid typos, I have copied the email ID and Global API Key from the Cloudflare account directly and pasted in the settings area.

    Could you please try and reset Hummingbird settings? You need to visit this page to do so: wp-admin/admin.php?page=wphb&wphb-clear=all

    I have done it but it didn’t work.
    I visited https://thousandmilessite.in/wp-admin/admin.php?page=wphb&wphb-clear=all and got redirected to https://thousandmilessite.in/wp-admin/admin.php?page=wphb (i.e. Hummingbird Dashboard)

    Then, I again went to Caching > Browser Caching > Configure and input Cloudflare email and API key. But still, it gave the same error

    Error: Cloudflare error: Missing X-Auth-Email header [403]

    In my quest to debug this issue, I turned ON WP_DEBUG_LOG and found this PHP Warning repeated multiple times in the log:
    [02-Apr-2019 05:58:40 UTC] PHP Warning: include(): Failed opening '*redacted*/public_html/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/share/php') in *redacted*/public_html/wp-settings.php on line 84

    Could this be a reason for the issue?

    P.S. Another strange thing I have noticed is that I’m unable to activate Page Caching. When I press the Activate button in Caching > Page Caching, the page simply reloads without any changes.

    I have checked my WP-CONFIG file and WP_CACHE is set to true.

    define('WP_CACHE', true); // Added by WP Hummingbird
    /* That's all, stop editing! Happy blogging. */

    @hrishikeshbharaligmailcom,

    Regarding the Cloudflare error, you should consult with Cloudflare support. Their API is reporting that the key/email combination is invalid.

    Regarding other issues and warnings – it seems that there is no wp-content/advanced-cache.php present. You should try to disable Page Caching, remove define(‘WP_CACHE’, true) from wp-config.php and try to enable it again. Hummingbird should be able to add all configurations automatically.

    Best regards,
    Anton

    Thread Starter Hrishikesh

    (@hrishikeshbharaligmailcom)

    Regarding other issues and warnings – it seems that there is no wp-content/advanced-cache.php present. You should try to disable Page Caching, remove define(‘WP_CACHE’, true) from wp-config.php and try to enable it again. Hummingbird should be able to add all configurations automatically.

    I removed the define(‘WP_CACHE’, true) from wp-config.php and tried re-activating Page Caching, but it doesn’t work. It simply re-loads the page. I again checked wp-config.php and found the define(‘WP_CACHE’, true) added by Hummingbird.
    Also, the WP_DEBUG_LOG still shows the PHP warning :

    [03-Apr-2019 06:35:52 UTC] PHP Warning: include(): Failed opening '*redacted*/public_html/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/share/php') in *redacted*/public_html/wp-settings.php on line 84

    • This reply was modified 5 years, 7 months ago by Hrishikesh. Reason: Redacted directory URL for security reasons

    @hrishikeshbharaligmailcom,

    Is the file wp-content/advanced-cache.php present? If not, there’s a permission issue. You can copy it manually from wp-content/plugins/hummingbird-performance/core/advanced-cache.php

    Best regards,
    Anton

    Thread Starter Hrishikesh

    (@hrishikeshbharaligmailcom)

    Is the file wp-content/advanced-cache.php present? If not, there’s a permission issue. You can copy it manually from wp-content/plugins/hummingbird-performance/core/advanced-cache.php

    Thanks Anton. You were right! The advanced-cache.php was missing in wp-content directory. I have manually copied from hummingbird directory. Please check & verify whether the following file permissions for advanced-cache.php is correct:
    -rwxrwxr– 774
    File Owner (User:Group) www-data:www-data

    Also, I was able to successfully connect to Cloudflare after doing this.

    However, I am facing a new issue. Inside all Hummingbird Pages (in WP Dashboard), I receive the Quick Setup Pop-Up.

      If I click on Skip, the page simply reloads and the pop-up appears again.
      If I click on Run Performace Test, the progress starts at 35% and remains stuck there and then, the page reloads and the Quick Setup pop-up appears again.

    Please help.

    • This reply was modified 5 years, 7 months ago by Hrishikesh. Reason: Removed unneccesary tags

    @hrishikeshbharaligmailcom,

    This seems like a server caching issue. Do you have object cache on your hosting?

    Best regards,
    Anton

    Thread Starter Hrishikesh

    (@hrishikeshbharaligmailcom)

    This seems like a server caching issue. Do you have object cache on your hosting?

    Brilliant!

    Yes. I am using Redis Object Caching. I flushed the Object Cache and then tried to run a Performance Test. It’s working!

    Thanks man for your awesome support! Really appreciate it. ??

    Welcome. Glad that you were able to resolve all the issues ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error: Cloudflare error: Missing X-Auth-Email header [403]’ is closed to new replies.