Title: Image Optimization cURL error
Last modified: May 31, 2018

---

# Image Optimization cURL error

 *  Resolved [majama](https://wordpress.org/support/users/majama/)
 * (@majama)
 * [8 years ago](https://wordpress.org/support/topic/image-optimization-curl-error/)
 * ERRORS:
    IAPI Error cURL error 28: Operation timed out after 15000 milliseconds
   with 0 bytes received Failed to push to LiteSpeed IAPI server: “no auth_key”
 * BACKGROUND:
    We recently migrated our site to a new VPS. Image optimization was
   working fine on the old server; however, I’ve been running into some issues with
   the new server. I already updated the IAPI key. Any suggestions on how I may 
   solve this problem?
 * SITE LINK: [https://SquarzPies.com](https://SquarzPies.com)
 * REPORT: TXQGBZCB
 * DEBUG LOG:
    05/31/18 00:07:36.385 [34.198.229.186:41844 1 bOv] POST HTTP/1.1 /
   05/31/18 00:07:36.385 [34.198.229.186:41844 1 bOv] Query String: litespeed_callback
   =1 05/31/18 00:07:36.982 [34.198.229.186:41844 1 bOv] [IAPI] __callback hash 
   check Moy6TbfV2aeaEYvg: passed 05/31/18 00:07:36.982 [34.198.229.186:41844 1 
   bOv] [Router] LSCWP_CTRL: sapi_passive_callback 05/31/18 00:07:36.982 [34.198.229.186:
   41844 1 bOv] [Router] LSCWP_CTRL verified: ‘sapi_passive_callback’ 05/31/18 00:
   07:36.982 [34.198.229.186:41844 1 bOv] [Router] parsed type: request_callback
   05/31/18 00:07:36.982 [34.198.229.186:41844 1 bOv] [IAPI] __callback request 
   hash: Moy6TbfV2aeaEYvg 05/31/18 00:07:36.982 [34.198.229.186:41844 1 bOv] [Ctrl]
   not cacheable before ctrl finalize 05/31/18 00:07:36.982 [34.198.229.186:41844
   1 bOv] [Router] get_uid: 0 05/31/18 00:07:36.982 [34.198.229.186:41844 1 bOv][
   Router] get_role: 05/31/18 00:07:36.983 [34.198.229.186:41844 1 bOv] [Router]
   role: guest 05/31/18 00:07:36.983 [34.198.229.186:41844 1 bOv] [Vary] role id:
   failed, guest 05/31/18 00:07:36.983 [34.198.229.186:41844 1 bOv] X-LiteSpeed-
   Cache-Control: no-cache 05/31/18 00:07:36.984 [34.198.229.186:41844 1 bOv] GUI
   init 05/31/18 00:07:36.984 [34.198.229.186:41844 1 bOv] [Optm] bypass: Not frontend
   HTML type 05/31/18 00:07:36.984 [34.198.229.186:41844 1 bOv] End response
 * ===============================================
    05/31/18 00:07:48.679 [98.191.186.108:
   59482 1 b3i] [IAPI] failed to post: cURL error 28: Operation timed out after 
   15000 milliseconds with 0 bytes received 05/31/18 00:07:48.679 [98.191.186.108:
   59482 1 b3i] [IAPI] request key failed: — ‘cURL error 28: Operation timed out
   after 15000 milliseconds with 0 bytes received’ 05/31/18 00:07:48.703 [98.191.186.108:
   59482 1 b3i] [IAPI] posting to : [https://wp.api.litespeedtech.com/request_optimize](https://wp.api.litespeedtech.com/request_optimize)
   05/31/18 00:07:49.302 [98.191.186.108:59482 1 b3i] [IAPI] failed to decode post
   json: “no auth_key” 05/31/18 00:07:49.302 [98.191.186.108:59482 1 b3i] [Img_Optm]
   Failed to post to LiteSpeed IAPI server — ‘”no auth_key”‘ 05/31/18 00:07:49.306[
   98.191.186.108:59482 1 b3i] [Ctrl] not cacheable before ctrl finalize 05/31/18
   00:07:49.306 [98.191.186.108:59482 1 b3i] [Router] get_uid: 1 05/31/18 00:07:
   49.306 [98.191.186.108:59482 1 b3i] [Router] get_role: administrator 05/31/18
   00:07:49.307 [98.191.186.108:59482 1 b3i] X-LiteSpeed-Cache-Control: no-cache
   05/31/18 00:07:49.307 [98.191.186.108:59482 1 b3i] [Optm] bypass: Not frontend
   HTML type 05/31/18 00:07:49.307 [98.191.186.108:59482 1 b3i] End response
    -  This topic was modified 8 years ago by [majama](https://wordpress.org/support/users/majama/).

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [8 years ago](https://wordpress.org/support/topic/image-optimization-curl-error/#post-10343363)
 * Hi,
 * That looks like network issue ?
 * Could you please try telnet it from your server to image server ?
 * You can get server list at bottom of this wiki:
 * [https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:image-optimization](https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:image-optimization)
 * Best regards,
 *  Thread Starter [majama](https://wordpress.org/support/users/majama/)
 * (@majama)
 * [8 years ago](https://wordpress.org/support/topic/image-optimization-curl-error/#post-10344375)
 * You’re right. Such a simple fix. Thanks for pointing me in the correct direction!

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

The topic ‘Image Optimization cURL error’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [majama](https://wordpress.org/support/users/majama/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/image-optimization-curl-error/#post-10344375)
 * Status: resolved