Title: plugin causes REST API loopback error
Last modified: June 19, 2020

---

# plugin causes REST API loopback error

 *  [mikmikmik](https://wordpress.org/support/users/mikmikmik/)
 * (@mikmikmik)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/plugin-causes-rest-api-loopback-error/)
 * When I have this plugin enabled, the WordPress Health Check reports:
 * The REST API encountered an error Performance
    The REST API is one way WordPress,
   and other applications, communicate with the server. One example is the block
   editor screen, which relies on this to display, and save, your posts and pages.
 * The REST API request failed due to an error.
    Error: [] cURL error 28: Operation
   timed out after 10001 milliseconds with 0 bytes received
 * Your site could not complete a loopback request Performance
    Loopback requests
   are used to run scheduled events, and are also used by the built-in editors for
   themes and plugins to verify code stability.
 * The loopback request to your site failed, this means features relying on them
   are not currently working as expected.
    Error encountered: (0) cURL error 28:
   Operation timed out after 10000 milliseconds with 0 bytes received
 * Turning off the plugin and the problems go away. Is it a false positive, or is
   this plugin doing something with loopbacks?

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

 *  Plugin Author [Damian](https://wordpress.org/support/users/timersys/)
 * (@timersys)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/plugin-causes-rest-api-loopback-error/#post-13009200)
 * Hi [@mikmikmik](https://wordpress.org/support/users/mikmikmik/),
    no, the plugin
   is not using loopbacks. I just tried locally and on a clean site and it works
   fine on my case.
 * We don’t use curl either.
 *  Thread Starter [mikmikmik](https://wordpress.org/support/users/mikmikmik/)
 * (@mikmikmik)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/plugin-causes-rest-api-loopback-error/#post-13011672)
 * Hi Damian,
 * I’ve tested on 3 different sites (both Apache and Litespeed) and they all show
   the REST API error in Site Health (/wp-admin/site-health.php) when the plugin
   is turned on. No other changes are being made. No other plugins activated.
 * “The REST API is one way WordPress, and other applications, communicate with 
   the server. One example is the block editor screen, which relies on this to display,
   and save, your posts and pages.
 * The REST API request failed due to an error.
    Error: cURL error 28: Operation
   timed out after 10001 milliseconds with 0 bytes received (http_request_failed)”
 *  [liftcreativeagency](https://wordpress.org/support/users/liftcreativeagency/)
 * (@liftcreativeagency)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/plugin-causes-rest-api-loopback-error/#post-13329010)
 * Hi all!
    same here. I deactivate all plugin from 2 websites and the problem is
   the Geotargeting LITE plugin
 * Issue: “An active PHP session was detected
 * A PHP session was created by a session_start() function call. This interferes
   with REST API and loopback requests. The session should be closed by session_write_close()
   before making any HTTP requests.”
 *  Plugin Author [Damian](https://wordpress.org/support/users/timersys/)
 * (@timersys)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/plugin-causes-rest-api-loopback-error/#post-13405164)
 * Sorry for the delay!
    I found start_session was in the plugin from legacy code,
   because it’s not used anymore. So I went ahead and removed it in the new version
   just launched.
 * Please let me know if that fixes your issue.

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

The topic ‘plugin causes REST API loopback error’ is closed to new replies.

 * ![](https://ps.w.org/geotargeting/assets/icon-256x256.png?rev=1829366)
 * [GeoTargeting Lite - WordPress Geolocation](https://wordpress.org/plugins/geotargeting/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geotargeting/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geotargeting/)
 * [Active Topics](https://wordpress.org/support/plugin/geotargeting/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geotargeting/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geotargeting/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Damian](https://wordpress.org/support/users/timersys/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/plugin-causes-rest-api-loopback-error/#post-13405164)
 * Status: not resolved