Title: Scan failed &#8211; Only HTTP(S) requests are handled
Last modified: February 7, 2020

---

# Scan failed – Only HTTP(S) requests are handled

 *  [platoche56](https://wordpress.org/support/users/platoche56/)
 * (@platoche56)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/scan-failed-only-https-requests-are-handled/)
 * Hi,
 * I recently installed wordfence and most scans work perfectly with one exception:
   file changes.
 * Wordfence return the following error message:
    `Scan failed: There was an error
   starting the scan: Only HTTP(S) requests are handled.`
 * I tried to allow external scans but it did not work either.
 * I run a standard bitnami wordpress install on google gloud compute engine. All
   my traffic goes through cloudflare with end to end (full) encryption.
 * Any ideas as to how I can solve the problem?
 * Many thanks,
 * Arthur

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

 *  [WFGerroald](https://wordpress.org/support/users/wfgerald/)
 * (@wfgerald)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/scan-failed-only-https-requests-are-handled/#post-12410921)
 * Hey [@platoche56](https://wordpress.org/support/users/platoche56/),
 * Can you send me a Diagnostics report so I can get a better overview of your environment?
   Please navigate to **Wordfence > Tools > Diagnostics**. Here you can select **
   SEND REPORT BY EMAIL**. Please include your WordPress.org username and update
   this thread after you’ve sent it.
 * Thanks,
 * Gerroald
 *  Thread Starter [platoche56](https://wordpress.org/support/users/platoche56/)
 * (@platoche56)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/scan-failed-only-https-requests-are-handled/#post-12412589)
 * All done. Let me know.
 *  [WFGerroald](https://wordpress.org/support/users/wfgerald/)
 * (@wfgerald)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/scan-failed-only-https-requests-are-handled/#post-12429238)
 * Hey [@platoche56](https://wordpress.org/support/users/platoche56/),
 * It looks like there may be some database issues, at least with Wordfence. Currently,
   you’re missing the new database tables, and the old ones from a rewrite are still
   there. It seems something didn’t update correctly. Can you please try completely
   resetting Wordfence, reinstall it and let me know if it helps?
 * [https://www.wordfence.com/help/advanced/remove-or-reset/#remove-or-reset](https://www.wordfence.com/help/advanced/remove-or-reset/#remove-or-reset)
 * Please let me know how it goes.
 * Thanks,
 * Gerroald
 *  Thread Starter [platoche56](https://wordpress.org/support/users/platoche56/)
 * (@platoche56)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/scan-failed-only-https-requests-are-handled/#post-12430845)
 * Hi,
 * All did scan works perfectly. Thanks.
 * I keep having a problem with the the admin url that somehow always revert to 
   my “staging” not “www” prefix. I know the trick to update the values in DB but
   that is slightly irritating I must say. Which values from the DB does it fetch
   to set that value?
 * A
 *  [WFGerroald](https://wordpress.org/support/users/wfgerald/)
 * (@wfgerald)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/scan-failed-only-https-requests-are-handled/#post-12433533)
 * Hey [@platoche56](https://wordpress.org/support/users/platoche56/),
 * Thanks for the update, and happy to hear it!
 * In **WordPress Dashboard > Settings > General** do you have the WordPress and
   Site URLs set to your preference?
 * Thanks,
 * Gerroald
 *  Thread Starter [platoche56](https://wordpress.org/support/users/platoche56/)
 * (@platoche56)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/scan-failed-only-https-requests-are-handled/#post-12435714)
 * Hi,
 * It is greyed out so I believe I set it from the wp-config file.
 * A
 *  [WFGerroald](https://wordpress.org/support/users/wfgerald/)
 * (@wfgerald)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/scan-failed-only-https-requests-are-handled/#post-12438008)
 * Hey [@platoche56](https://wordpress.org/support/users/platoche56/),
 * This is very likely. You can update this as well.
 * [https://wordpress.org/support/article/changing-the-site-url/#edit-wp-config-php](https://wordpress.org/support/article/changing-the-site-url/#edit-wp-config-php)
 * Please give this a try and let me know if it helps.
 * Thanks,
 * Gerroald
 *  Thread Starter [platoche56](https://wordpress.org/support/users/platoche56/)
 * (@platoche56)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/scan-failed-only-https-requests-are-handled/#post-12439626)
 * Hey,
 * Yes I though I had changed it because the settings area was showing the correct
   url but it turns out the http_config was ‘localhost’.
 * All fixed now.
 * Many thanks,
 * A
    -  This reply was modified 6 years, 7 months ago by [platoche56](https://wordpress.org/support/users/platoche56/).
 *  Thread Starter [platoche56](https://wordpress.org/support/users/platoche56/)
 * (@platoche56)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/scan-failed-only-https-requests-are-handled/#post-12539809)
 * Sorry for re-opening but the problem has come back a few days after I marked 
   it as resolved (only posting about it now, I had a lot on my plate).
 * **Problem 1**
    So to be clear, I still face the same scanning error.
 * **Problem 2**
    The URL in DB records (WP_SITEURL WP_HOME) has remained the correct
   one however all emails reference the following admin page url:
 * > The Wordfence administrative URL for this site is: [https://staging.*****.com//wp-admin/admin.php?page=Wordfence](https://staging.*****.com//wp-admin/admin.php?page=Wordfence)
 * It should say “www” not staging…
 * **Problem 3**
    The plugin blocks my customers login in some countries and the
   reset password attempts. It is possible to use wordfence to monitor admin login
   only?
 * Thanks,
 * A
 *  Thread Starter [platoche56](https://wordpress.org/support/users/platoche56/)
 * (@platoche56)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/scan-failed-only-https-requests-are-handled/#post-12671004)
 * Hi,
 * Upping this thread as I am still faced with this error.
 * Thanks,
 * A

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

 The topic ‘Scan failed – Only HTTP(S) requests are handled’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [platoche56](https://wordpress.org/support/users/platoche56/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/scan-failed-only-https-requests-are-handled/#post-12671004)
 * Status: not resolved