Title: Jetpack plugin connects to Jetpack API on http://jetpack.com (not httpS)
Last modified: November 27, 2020

---

# Jetpack plugin connects to Jetpack API on http://jetpack.com (not httpS)

 *  Resolved [aetherscythe](https://wordpress.org/support/users/aetherscythe/)
 * (@aetherscythe)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/jetpack-plugin-connects-to-jetpack-api-on-http-jetpack-com-not-https/)
 * Jetpack plugin connects to Jetpack API on [http://jetpack.com](http://jetpack.com)
   even when [https://jetpack.com](https://jetpack.com) is also available
 * This should be fixed in the code.
    Here are some more details:
 * GET **http**://jetpack.wordpress.com/jetpack.test/1/ 200 OK-
    HTTP API Transport:
   curl DNS Resolution Time: 0.0121 Connection Time: 0.0235 Transfer Start Time (
   TTFB): 0.1146 Response Size: 22 B Response Content Type: text/plain;charset=utf-
   8 IP Address: 192.0.78.33 – Jetpack_Cxn_Tests->test__outbound_http() wp-content/
   plugins/jetpack/_inc/lib/debugger/class-jetpack-cxn-tests.php:379 Jetpack_Cxn_Test_Base-
   >run_test() wp-content/plugins/jetpack/_inc/lib/debugger/class-jetpack-cxn-test-
   base.php:140 {closure}() wp-content/plugins/jetpack/_inc/lib/debugger/debug-functions.
   php:56 WP_Site_Health->perform_test() wp-admin/includes/class-wp-site-health.
   php:175 WP_Site_Health->enqueue_scripts() wp-admin/includes/class-wp-site-health.
   php:128 do_action(‘admin_enqueue_scripts’) wp-includes/plugin.php:478

Viewing 1 replies (of 1 total)

 *  Thread Starter [aetherscythe](https://wordpress.org/support/users/aetherscythe/)
 * (@aetherscythe)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/jetpack-plugin-connects-to-jetpack-api-on-http-jetpack-com-not-https/#post-13718530)
 * Nevermind. This happened, simply because the built-in Site Health explicitly 
   checks both http and https. In normal operations the http mode is not being used,
   AFAICT.
 * See here:
 * ./public_html/wp-content/plugins/jetpack/_inc/lib/debugger/class-jetpack-cxn-
   tests.php: $request = wp_remote_get( preg_replace( ‘/^https:/’, ‘http:’, JETPACK__API_BASE).‘
   test/1/’ );
    ./public_html/wp-content/plugins/jetpack/_inc/lib/debugger/class-
   jetpack-cxn-tests.php: $request = wp_remote_get( preg_replace( ‘/^http:/’, ‘https:’,
   JETPACK__API_BASE ) . ‘test/1/’ );
    -  This reply was modified 5 years, 6 months ago by [aetherscythe](https://wordpress.org/support/users/aetherscythe/).

Viewing 1 replies (of 1 total)

The topic ‘Jetpack plugin connects to Jetpack API on http://jetpack.com (not httpS)’
is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [aetherscythe](https://wordpress.org/support/users/aetherscythe/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/jetpack-plugin-connects-to-jetpack-api-on-http-jetpack-com-not-https/#post-13718530)
 * Status: resolved