Support » Plugin: LiteSpeed Cache » LiteSpeed Cache Image Optimization

  • Resolved kioub

    (@kioub)


    Hello,

    I am using the latest version of the plugin (v1.6.2.1). The LiteSpeed server version is 5.1.17

    When I click on the “Request Key” button at the “LiteSpeed Cache Image Optimization” page the following error is returned:

    SAPI Error hash does not match: …….

    Can you please elaborate on the cause of the issue?

    • This topic was modified 4 years, 7 months ago by kioub.
    • This topic was modified 4 years, 7 months ago by kioub.
Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Support Hai Zheng⚡

    (@hailite)

    Can you post the full error here? It should be two hash strings within your ....

    Thread Starter kioub

    (@kioub)

    Thank you for the quick response.

    The full error is shown below (hash changes every time I try to connect).

    SAPI Error hash does not match: xWrVVbJlfEJHuAtv

    To my understanding this is only one hashcode.

    Plugin Support Hai Zheng⚡

    (@hailite)

    Can you do it again and paste the new error now?

    Thats fine even it changed. Its supposed to change each time.

    Thread Starter kioub

    (@kioub)

    The new message is the one shown below:

    SAPI Error hash does not match: ClientCB[] Server[ef4zzkWQ16aIQveZ]

    Plugin Support Hai Zheng⚡

    (@hailite)

    Please turn on debug log and send a request again. After you send a request there should be a callback log. Can you paste it here?

    Thread Starter kioub

    (@kioub)

    Hello, I have enabled “Advanced” debug level also. Below are the results:

    11/07/17 18:56:08.906 [162.158.90.208:30761 1 KLo] GET HTTP/1.1 /wp-admin/admin.php
    11/07/17 18:56:08.906 [162.158.90.208:30761 1 KLo] Query String: page=lscache-settings&settings-updated=true
    11/07/17 18:56:08.906 [162.158.90.208:30761 1 KLo] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
    11/07/17 18:56:08.906 [162.158.90.208:30761 1 KLo] Accept Encoding: gzip
    11/07/17 18:56:08.906 [162.158.90.208:30761 1 KLo] Cookie _lscache_vary: 8415bdf63c825dedea76f58a34d7d815
    11/07/17 18:56:08.906 [162.158.90.208:30761 1 KLo] X-LSCACHE: true
    11/07/17 18:56:08.906 [162.158.90.208:30761 1 KLo] LSCACHE_VARY_VALUE: +webp
    11/07/17 18:56:08.956 [162.158.90.208:30761 1 KLo] Media init
    11/07/17 18:56:08.956 [162.158.90.208:30761 1 KLo] X Cache_control -> private ( logged in user )
    11/07/17 18:56:08.957 [162.158.90.208:30761 1 KLo] CDN init
    11/07/17 18:56:08.957 [162.158.90.208:30761 1 KLo] Task init
    11/07/17 18:56:08.957 [162.158.90.208:30761 1 KLo] LSCWP_CTRL bypassed empty
    11/07/17 18:56:09.049 [162.158.90.208:30761 1 KLo] X Cache_control -> no Cache ( Admin page ) \ LSC_Control::set_nocache()@229 \ LSC_Admin->admin_init()@103
    11/07/17 18:56:09.117 [162.158.90.208:30761 1 KLo] Data init
    11/07/17 18:56:09.117 [162.158.90.208:30761 1 KLo] Data: Checking optm table
    11/07/17 18:56:09.117 [162.158.90.208:30761 1 KLo] Data: Existed
    11/07/17 18:56:09.125 [162.158.90.208:30761 1 KLo] CHK html bypass: miss footer const
    11/07/17 18:56:09.125 [162.158.90.208:30761 1 KLo] not cacheable before ctrl finalize
    11/07/17 18:56:09.125 [162.158.90.208:30761 1 KLo] get_uid: 1
    11/07/17 18:56:09.125 [162.158.90.208:30761 1 KLo] Vary role group: administrator
    11/07/17 18:56:09.125 [162.158.90.208:30761 1 KLo] Vary show_admin_bar_front: true
    11/07/17 18:56:09.125 [162.158.90.208:30761 1 KLo] Vary admin bar : true
    11/07/17 18:56:09.125 [162.158.90.208:30761 1 KLo] X Cache_control -> no Cache ( changing default vary 8415bdf63c825dedea76f58a34d7d815 => admin_bar:1;logged-in:1;role:99 ) \ LSC_Control::set_nocache()@229 \ LSC_Vary->_update_default_vary()@247 \ LSC_Vary->_finalize()@440
    11/07/17 18:56:09.125 [162.158.90.208:30761 1 KLo] X-LiteSpeed-Cache-Control: no-cache
    11/07/17 18:56:09.127 [162.158.90.208:30761 1 KLo] CHK html bypass: miss footer const
    11/07/17 18:56:09.127 [162.158.90.208:30761 1 KLo] Media bypass: Not frontend HTML type
    11/07/17 18:56:09.127 [162.158.90.208:30761 1 KLo] GUI bypassed by no counter
    11/07/17 18:56:09.127 [162.158.90.208:30761 1 KLo] Optimizer bypass: Not frontend HTML type
    11/07/17 18:56:09.127 [162.158.90.208:30761 1 KLo] CDN bypass
    11/07/17 18:56:09.127 [162.158.90.208:30761 1 KLo] End response
    ——————————————————————————–

    11/07/17 18:56:17.495 [141.101.69.79:32267 1 uOR] GET HTTP/1.1 /feed/
    11/07/17 18:56:17.495 [141.101.69.79:32267 1 uOR] Query String:
    11/07/17 18:56:17.495 [141.101.69.79:32267 1 uOR] User Agent: Tiny Tiny RSS/1.15.3.4ca621a (http://tt-rss.org/)
    11/07/17 18:56:17.495 [141.101.69.79:32267 1 uOR] Accept Encoding: gzip
    11/07/17 18:56:17.495 [141.101.69.79:32267 1 uOR] X-LSCACHE: true
    11/07/17 18:56:17.545 [141.101.69.79:32267 1 uOR] Media init
    11/07/17 18:56:17.545 [141.101.69.79:32267 1 uOR] CDN init
    11/07/17 18:56:17.545 [141.101.69.79:32267 1 uOR] Task init
    11/07/17 18:56:17.546 [141.101.69.79:32267 1 uOR] LSCWP_CTRL bypassed empty
    11/07/17 18:56:17.611 [141.101.69.79:32267 1 uOR] X Cache_control init on
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] CHK html bypass: miss footer const
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] X Cache_control off – feed
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] X Cache_control -> no Cache \ LSC_Control::set_nocache()@229 \ LSC_Control::finalize()@441 \ LSC->send_headers()@499
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] get_uid: 0
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] Vary role id: failed, guest
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] bypassed role check, guest
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] X-LiteSpeed-Cache-Control: no-cache
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] CHK html bypass: miss footer const
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] Media bypass: Not frontend HTML type
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] GUI bypassed by no counter
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] Optimizer bypass: Not frontend HTML type
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] CDN bypass
    11/07/17 18:56:17.691 [141.101.69.79:32267 1 uOR] End response
    ——————————————————————————–

    11/07/17 18:56:17.832 [162.158.90.208:23081 1 o8a] GET HTTP/1.1 /wp-admin/admin.php
    11/07/17 18:56:17.832 [162.158.90.208:23081 1 o8a] Query String: page=lscache-optimization
    11/07/17 18:56:17.832 [162.158.90.208:23081 1 o8a] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
    11/07/17 18:56:17.832 [162.158.90.208:23081 1 o8a] Accept Encoding: gzip
    11/07/17 18:56:17.832 [162.158.90.208:23081 1 o8a] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
    11/07/17 18:56:17.832 [162.158.90.208:23081 1 o8a] X-LSCACHE: true
    11/07/17 18:56:17.832 [162.158.90.208:23081 1 o8a] LSCACHE_VARY_VALUE: +webp
    11/07/17 18:56:17.886 [162.158.90.208:23081 1 o8a] Media init
    11/07/17 18:56:17.887 [162.158.90.208:23081 1 o8a] X Cache_control -> private ( logged in user )
    11/07/17 18:56:17.887 [162.158.90.208:23081 1 o8a] CDN init
    11/07/17 18:56:17.887 [162.158.90.208:23081 1 o8a] Task init
    11/07/17 18:56:17.887 [162.158.90.208:23081 1 o8a] LSCWP_CTRL bypassed empty
    11/07/17 18:56:17.984 [162.158.90.208:23081 1 o8a] X Cache_control -> no Cache ( Admin page ) \ LSC_Control::set_nocache()@229 \ LSC_Admin->admin_init()@103
    11/07/17 18:56:18.058 [162.158.90.208:23081 1 o8a] CHK html bypass: miss footer const
    11/07/17 18:56:18.058 [162.158.90.208:23081 1 o8a] not cacheable before ctrl finalize
    11/07/17 18:56:18.058 [162.158.90.208:23081 1 o8a] get_uid: 1
    11/07/17 18:56:18.058 [162.158.90.208:23081 1 o8a] Vary role group: administrator
    11/07/17 18:56:18.058 [162.158.90.208:23081 1 o8a] Vary show_admin_bar_front: true
    11/07/17 18:56:18.058 [162.158.90.208:23081 1 o8a] Vary admin bar : true
    11/07/17 18:56:18.059 [162.158.90.208:23081 1 o8a] X-LiteSpeed-Cache-Control: no-cache
    11/07/17 18:56:18.060 [162.158.90.208:23081 1 o8a] CHK html bypass: miss footer const
    11/07/17 18:56:18.060 [162.158.90.208:23081 1 o8a] Media bypass: Not frontend HTML type
    11/07/17 18:56:18.060 [162.158.90.208:23081 1 o8a] GUI bypassed by no counter
    11/07/17 18:56:18.060 [162.158.90.208:23081 1 o8a] Optimizer bypass: Not frontend HTML type
    11/07/17 18:56:18.060 [162.158.90.208:23081 1 o8a] CDN bypass
    11/07/17 18:56:18.060 [162.158.90.208:23081 1 o8a] End response
    ——————————————————————————–

    11/07/17 18:56:20.721 [162.158.90.208:36993 1 YgY] GET HTTP/1.1 /wp-admin/admin.php
    11/07/17 18:56:20.721 [162.158.90.208:36993 1 YgY] Query String: page=lscache-optimization&LSCWP_CTRL=sapi&LSCWP_NONCE=854f671c00&type=request_key
    11/07/17 18:56:20.721 [162.158.90.208:36993 1 YgY] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
    11/07/17 18:56:20.721 [162.158.90.208:36993 1 YgY] Accept Encoding: gzip
    11/07/17 18:56:20.721 [162.158.90.208:36993 1 YgY] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
    11/07/17 18:56:20.721 [162.158.90.208:36993 1 YgY] X-LSCACHE: true
    11/07/17 18:56:20.721 [162.158.90.208:36993 1 YgY] LSCACHE_VARY_VALUE: +webp
    11/07/17 18:56:20.777 [162.158.90.208:36993 1 YgY] Media init
    11/07/17 18:56:20.778 [162.158.90.208:36993 1 YgY] X Cache_control -> private ( logged in user )
    11/07/17 18:56:20.778 [162.158.90.208:36993 1 YgY] CDN init
    11/07/17 18:56:20.778 [162.158.90.208:36993 1 YgY] Task init
    11/07/17 18:56:20.778 [162.158.90.208:36993 1 YgY] LSCWP_CTRL: sapi
    11/07/17 18:56:20.778 [162.158.90.208:36993 1 YgY] LSCWP_CTRL verified: ‘sapi’
    11/07/17 18:56:20.779 [162.158.90.208:36993 1 YgY] Router parsed type: request_key \ LSC_Router::verify_type()@225 \ LSC_Admin_API::sapi_proceed()@96 \ LSC->proceed_action()@286
    11/07/17 18:56:20.780 [162.158.90.208:36993 1 YgY] SAPI posting to : https://wp.api.litespeedtech.com/request_key
    11/07/17 18:56:21.354 [162.158.90.208:36993 1 YgY] SAPI failed to decode post json: “hash does not match: ClientCB[] Server[vD6bvYicz82V8MXO]”
    11/07/17 18:56:21.354 [162.158.90.208:36993 1 YgY] SAPI request key failed: — ‘hash does not match: ClientCB[] Server[vD6bvYicz82V8MXO]’
    11/07/17 18:56:21.355 [162.158.90.208:36993 1 YgY] 301 from https://www.dotnetcodegeeks.com/wp-admin/admin.php
    11/07/17 18:56:21.355 [162.158.90.208:36993 1 YgY] 301 to https://www.dotnetcodegeeks.com/wp-admin/admin.php?page=lscache-optimization&type=request_key
    11/07/17 18:56:21.355 [162.158.90.208:36993 1 YgY] X Cache_control -> no Cache ( 301 to same url ) \ LSC_Control::set_nocache()@229 \ LSC_Control::check_redirect()@349
    11/07/17 18:56:21.356 [162.158.90.208:36993 1 YgY] CHK html bypass: miss footer const
    11/07/17 18:56:21.356 [162.158.90.208:36993 1 YgY] not cacheable before ctrl finalize
    11/07/17 18:56:21.356 [162.158.90.208:36993 1 YgY] get_uid: 1
    11/07/17 18:56:21.356 [162.158.90.208:36993 1 YgY] Vary role group: administrator
    11/07/17 18:56:21.356 [162.158.90.208:36993 1 YgY] Vary show_admin_bar_front: true
    11/07/17 18:56:21.356 [162.158.90.208:36993 1 YgY] Vary admin bar : true
    11/07/17 18:56:21.357 [162.158.90.208:36993 1 YgY] X-LiteSpeed-Cache-Control: no-cache
    11/07/17 18:56:21.357 [162.158.90.208:36993 1 YgY] CHK html bypass: miss footer const
    11/07/17 18:56:21.357 [162.158.90.208:36993 1 YgY] Media bypass: Not frontend HTML type
    11/07/17 18:56:21.357 [162.158.90.208:36993 1 YgY] GUI bypassed by no counter
    11/07/17 18:56:21.357 [162.158.90.208:36993 1 YgY] Optimizer bypass: Not frontend HTML type
    11/07/17 18:56:21.357 [162.158.90.208:36993 1 YgY] CDN bypass
    11/07/17 18:56:21.357 [162.158.90.208:36993 1 YgY] End response
    ——————————————————————————–

    11/07/17 18:56:21.736 [162.158.90.208:26269 1 Wfb] GET HTTP/1.1 /wp-admin/admin.php
    11/07/17 18:56:21.736 [162.158.90.208:26269 1 Wfb] Query String: page=lscache-optimization&type=request_key
    11/07/17 18:56:21.736 [162.158.90.208:26269 1 Wfb] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
    11/07/17 18:56:21.736 [162.158.90.208:26269 1 Wfb] Accept Encoding: gzip
    11/07/17 18:56:21.736 [162.158.90.208:26269 1 Wfb] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
    11/07/17 18:56:21.736 [162.158.90.208:26269 1 Wfb] X-LSCACHE: true
    11/07/17 18:56:21.736 [162.158.90.208:26269 1 Wfb] LSCACHE_VARY_VALUE: +webp
    11/07/17 18:56:21.785 [162.158.90.208:26269 1 Wfb] Media init
    11/07/17 18:56:21.785 [162.158.90.208:26269 1 Wfb] X Cache_control -> private ( logged in user )
    11/07/17 18:56:21.785 [162.158.90.208:26269 1 Wfb] CDN init
    11/07/17 18:56:21.786 [162.158.90.208:26269 1 Wfb] Task init
    11/07/17 18:56:21.786 [162.158.90.208:26269 1 Wfb] LSCWP_CTRL bypassed empty
    11/07/17 18:56:21.881 [162.158.90.208:26269 1 Wfb] X Cache_control -> no Cache ( Admin page ) \ LSC_Control::set_nocache()@229 \ LSC_Admin->admin_init()@103
    11/07/17 18:56:21.948 [162.158.90.208:26269 1 Wfb] CHK html bypass: miss footer const
    11/07/17 18:56:21.948 [162.158.90.208:26269 1 Wfb] not cacheable before ctrl finalize
    11/07/17 18:56:21.956 [162.158.90.208:26269 1 Wfb] get_uid: 1
    11/07/17 18:56:21.956 [162.158.90.208:26269 1 Wfb] Vary role group: administrator
    11/07/17 18:56:21.956 [162.158.90.208:26269 1 Wfb] Vary show_admin_bar_front: true
    11/07/17 18:56:21.956 [162.158.90.208:26269 1 Wfb] Vary admin bar : true
    11/07/17 18:56:21.957 [162.158.90.208:26269 1 Wfb] X-LiteSpeed-Cache-Control: no-cache
    11/07/17 18:56:21.958 [162.158.90.208:26269 1 Wfb] CHK html bypass: miss footer const
    11/07/17 18:56:21.958 [162.158.90.208:26269 1 Wfb] Media bypass: Not frontend HTML type
    11/07/17 18:56:21.958 [162.158.90.208:26269 1 Wfb] GUI bypassed by no counter
    11/07/17 18:56:21.958 [162.158.90.208:26269 1 Wfb] Optimizer bypass: Not frontend HTML type
    11/07/17 18:56:21.958 [162.158.90.208:26269 1 Wfb] CDN bypass
    11/07/17 18:56:21.958 [162.158.90.208:26269 1 Wfb] End response
    ——————————————————————————–

    11/07/17 18:56:28.398 [162.158.90.208:13581 1 ZIe] GET HTTP/1.1 /wp-admin/admin.php
    11/07/17 18:56:28.398 [162.158.90.208:13581 1 ZIe] Query String: page=lscache-debug
    11/07/17 18:56:28.398 [162.158.90.208:13581 1 ZIe] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
    11/07/17 18:56:28.398 [162.158.90.208:13581 1 ZIe] Accept Encoding: gzip
    11/07/17 18:56:28.398 [162.158.90.208:13581 1 ZIe] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
    11/07/17 18:56:28.398 [162.158.90.208:13581 1 ZIe] X-LSCACHE: true
    11/07/17 18:56:28.398 [162.158.90.208:13581 1 ZIe] LSCACHE_VARY_VALUE: +webp
    11/07/17 18:56:28.453 [162.158.90.208:13581 1 ZIe] Media init
    11/07/17 18:56:28.454 [162.158.90.208:13581 1 ZIe] X Cache_control -> private ( logged in user )
    11/07/17 18:56:28.454 [162.158.90.208:13581 1 ZIe] CDN init
    11/07/17 18:56:28.454 [162.158.90.208:13581 1 ZIe] Task init
    11/07/17 18:56:28.454 [162.158.90.208:13581 1 ZIe] LSCWP_CTRL bypassed empty
    11/07/17 18:56:28.569 [162.158.90.208:13581 1 ZIe] X Cache_control -> no Cache ( Admin page ) \ LSC_Control::set_nocache()@229 \ LSC_Admin->admin_init()@103

    Plugin Support Hai Zheng⚡

    (@hailite)

    This is not callback log. callback log is some like :

    11/07/17 12:00:05.425 [192.168.0.54:47568 1 qWJ] POST HTTP/1.1 /
    11/07/17 12:00:05.425 [192.168.0.54:47568 1 qWJ] Query String: litespeed_callback=1

    Please paste it in https://gist.github.com/

    Thread Starter kioub

    (@kioub)

    Where can I find the callback log?

    Thread Starter kioub

    (@kioub)

    Hello,

    I managed to pinpoint the cause of this issue. There seems to be incompatibility with CloudFlare.

    I disabled CloudFlare on my site and the plugin worked.

    Please keep that in mind so as to fix any CloudFlare related incompatibilities in future versions since many sites use their service.

    Plugin Support Uniqe_Eric

    (@eric780217)

    Hi kioub,

    Thanks your information. I have a server with CloudFlare to run image optimize success , so not sure how to reproduce it.
    Here is my debug log:

    yX0] Query String: litespeed_callback=1
    yX0] SAPI __callback hash check 6sAXbd660ZtxnbJx: passed
    yX0] LSCWP_CTRL: sapi_passive_callback
    yX0] LSCWP_CTRL verified: 'sapi_passive_callback'
    yX0] Router parsed type: request_callback
    yX0] SAPI __callback request hash: 6sAXbd660ZtxnbJx

    We can improve or debug if you can share failed callback log from debug log.
    Also, do you set any firewall settings from CloudFlare? Do you use Pro plan?

    Best,
    Eric

    Thread Starter kioub

    (@kioub)

    Hello,

    Below is the portion of the debug log that is logged when I try to retrieve a key:

    11/08/17 21:30:24.054 [162.158.90.208:22037 1 yL4] GET HTTP/1.1 /wp-admin/admin.php
    11/08/17 21:30:24.054 [162.158.90.208:22037 1 yL4] Query String: page=lscache-optimization&LSCWP_CTRL=sapi&LSCWP_NONCE=90be135921&type=request_key
    11/08/17 21:30:24.054 [162.158.90.208:22037 1 yL4] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36
    11/08/17 21:30:24.054 [162.158.90.208:22037 1 yL4] Accept Encoding: gzip
    11/08/17 21:30:24.054 [162.158.90.208:22037 1 yL4] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
    11/08/17 21:30:24.054 [162.158.90.208:22037 1 yL4] X-LSCACHE: true
    11/08/17 21:30:24.054 [162.158.90.208:22037 1 yL4] LSCACHE_VARY_VALUE: +webp
    11/08/17 21:30:24.108 [162.158.90.208:22037 1 yL4] Media init
    11/08/17 21:30:24.109 [162.158.90.208:22037 1 yL4] X Cache_control -> private ( logged in user )
    11/08/17 21:30:24.109 [162.158.90.208:22037 1 yL4] CDN init
    11/08/17 21:30:24.109 [162.158.90.208:22037 1 yL4] Task init
    11/08/17 21:30:24.110 [162.158.90.208:22037 1 yL4] LSCWP_CTRL: sapi
    11/08/17 21:30:24.110 [162.158.90.208:22037 1 yL4] LSCWP_CTRL verified: 'sapi'
    11/08/17 21:30:24.110 [162.158.90.208:22037 1 yL4] Router parsed type: request_key \ LSC_Router::verify_type()@225 \ LSC_Admin_API::sapi_proceed()@96 \ LSC->proceed_action()@286
    11/08/17 21:30:24.111 [162.158.90.208:22037 1 yL4] SAPI posting to : https://wp.api.litespeedtech.com/request_key
    11/08/17 21:30:26.022 [162.158.90.208:22037 1 yL4] SAPI failed to decode post json: "hash does not match: ClientCB[] Server[dX3o0lL2o7AhLIue]"
    11/08/17 21:30:26.022 [162.158.90.208:22037 1 yL4] SAPI request key failed: --- 'hash does not match: ClientCB[] Server[dX3o0lL2o7AhLIue]'
    11/08/17 21:30:26.024 [162.158.90.208:22037 1 yL4] 301 from https://www.dotnetcodegeeks.com/wp-admin/admin.php
    11/08/17 21:30:26.024 [162.158.90.208:22037 1 yL4] 301 to https://www.dotnetcodegeeks.com/wp-admin/admin.php?page=lscache-optimization&type=request_key
    11/08/17 21:30:26.024 [162.158.90.208:22037 1 yL4] X Cache_control -> no Cache ( 301 to same url ) \ LSC_Control::set_nocache()@229 \ LSC_Control::check_redirect()@349
    11/08/17 21:30:26.024 [162.158.90.208:22037 1 yL4] CHK html bypass: miss footer const
    11/08/17 21:30:26.024 [162.158.90.208:22037 1 yL4] not cacheable before ctrl finalize
    11/08/17 21:30:26.025 [162.158.90.208:22037 1 yL4] get_uid: 1
    11/08/17 21:30:26.025 [162.158.90.208:22037 1 yL4] Vary role group: administrator
    11/08/17 21:30:26.025 [162.158.90.208:22037 1 yL4] Vary show_admin_bar_front: true
    11/08/17 21:30:26.025 [162.158.90.208:22037 1 yL4] Vary admin bar : true
    11/08/17 21:30:26.026 [162.158.90.208:22037 1 yL4] X-LiteSpeed-Cache-Control: no-cache
    11/08/17 21:30:26.026 [162.158.90.208:22037 1 yL4] CHK html bypass: miss footer const
    11/08/17 21:30:26.026 [162.158.90.208:22037 1 yL4] Media bypass: Not frontend HTML type
    11/08/17 21:30:26.026 [162.158.90.208:22037 1 yL4] GUI bypassed by no counter
    11/08/17 21:30:26.026 [162.158.90.208:22037 1 yL4] Optimizer bypass: Not frontend HTML type
    11/08/17 21:30:26.026 [162.158.90.208:22037 1 yL4] CDN bypass
    11/08/17 21:30:26.026 [162.158.90.208:22037 1 yL4] End response
    --------------------------------------------------------------------------------
    
    11/08/17 21:30:26.356 [162.158.90.208:13239 1 Uda] GET HTTP/1.1 /wp-admin/admin.php
    11/08/17 21:30:26.356 [162.158.90.208:13239 1 Uda] Query String: page=lscache-optimization&type=request_key
    11/08/17 21:30:26.356 [162.158.90.208:13239 1 Uda] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36
    11/08/17 21:30:26.356 [162.158.90.208:13239 1 Uda] Accept Encoding: gzip
    11/08/17 21:30:26.356 [162.158.90.208:13239 1 Uda] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
    11/08/17 21:30:26.356 [162.158.90.208:13239 1 Uda] X-LSCACHE: true
    11/08/17 21:30:26.356 [162.158.90.208:13239 1 Uda] LSCACHE_VARY_VALUE: +webp
    11/08/17 21:30:26.405 [162.158.90.208:13239 1 Uda] Media init
    11/08/17 21:30:26.405 [162.158.90.208:13239 1 Uda] X Cache_control -> private ( logged in user )
    11/08/17 21:30:26.405 [162.158.90.208:13239 1 Uda] CDN init
    11/08/17 21:30:26.405 [162.158.90.208:13239 1 Uda] Task init
    11/08/17 21:30:26.406 [162.158.90.208:13239 1 Uda] LSCWP_CTRL bypassed empty
    11/08/17 21:30:26.504 [162.158.90.208:13239 1 Uda] X Cache_control -> no Cache ( Admin page ) \ LSC_Control::set_nocache()@229 \ LSC_Admin->admin_init()@103
    11/08/17 21:30:26.573 [162.158.90.208:13239 1 Uda] CHK html bypass: miss footer const
    11/08/17 21:30:26.573 [162.158.90.208:13239 1 Uda] not cacheable before ctrl finalize
    11/08/17 21:30:26.573 [162.158.90.208:13239 1 Uda] get_uid: 1
    11/08/17 21:30:26.573 [162.158.90.208:13239 1 Uda] Vary role group: administrator
    11/08/17 21:30:26.573 [162.158.90.208:13239 1 Uda] Vary show_admin_bar_front: true
    11/08/17 21:30:26.573 [162.158.90.208:13239 1 Uda] Vary admin bar : true
    11/08/17 21:30:26.573 [162.158.90.208:13239 1 Uda] X-LiteSpeed-Cache-Control: no-cache
    11/08/17 21:30:26.574 [162.158.90.208:13239 1 Uda] CHK html bypass: miss footer const
    11/08/17 21:30:26.574 [162.158.90.208:13239 1 Uda] Media bypass: Not frontend HTML type
    11/08/17 21:30:26.574 [162.158.90.208:13239 1 Uda] GUI bypassed by no counter
    11/08/17 21:30:26.574 [162.158.90.208:13239 1 Uda] Optimizer bypass: Not frontend HTML type
    11/08/17 21:30:26.574 [162.158.90.208:13239 1 Uda] CDN bypass
    11/08/17 21:30:26.574 [162.158.90.208:13239 1 Uda] End response
    --------------------------------------------------------------------------------

    I have the default firewall settings (Medium) on CloudFlare, and no I do not use a PRO plan, I am on the free site plan.

    Looking forward to your feedback.

    Best,
    Byron

    Plugin Support Uniqe_Eric

    (@eric780217)

    Hi Byron,

    I still not found any litespeed_callback from your log. Can you try again?
    or something like SAPI __callback hash check xxxx: failed

    You can enable Debug log for Admin only to get error log easier.

    Thanks.
    Eric

    Thread Starter kioub

    (@kioub)

    Hello,

    No matter how many times I try, there is no log entry marked as “callback” recorded in the debug.log file, that is why you cannot find it.

    All it gets recorded is what I posted on my last message. I have enabled debug log from the plugin setting page and set debug level to advanced. Everything else is set to default.

    Looking forward to your feedback.

    Plugin Support Uniqe_Eric

    (@eric780217)

    Not so sure is there any settings will bypass Query String? like from CloudFlare?

    Thread Starter kioub

    (@kioub)

    I do not think so, the caching level is at “Standard” setting. Everything else is pretty much at default values for the free site plan. The main configuration there is that I force redirection to HTTPS through CloudFlare using its “Flexible” HTTPS option.

    The only time I see the litespeed_callback literal in the debug log file is when I Pause CloudFlare for my site. When I resume its operation the logs are as I have posted above.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘LiteSpeed Cache Image Optimization’ is closed to new replies.