Domain Key issue
-
Hey Guys,
We are having a problem obtaining the domain key for the site. It does not appear to be throwing any errors. However, it shows us this message saying it is applied but does not get the domain key filled. We use WordFence, white-listed IPs, disabled and checked. Could not rectify the issue, any suggestions would be appreciated.
Just so you know there are other websites we hosted on the same server that work really well with the plugin.
Kind regards,
Sam- This topic was modified 3 years ago by Sam Henaka.
The page I need help with: [log in to see the link]
-
Hi,
It is definitely a security issue. Please temporarily disable WordFence and make sure your WP REST API is enabled and try it again. The following is the error log we see on our side:
Body {“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:401}}
Failed, IP 203.57.50.49 blocked in Redis for 2 minRegards.
Hi
Thanks for the reply.
We have disabled the WordFence and checked the site REST API (https://thecreativecollective.com.au//?rest_route=/) which is currently enabled.
We can now see the message “Applied for Domain Key successfully. Please wait for result. Domain Key will be automatically sent to your WordPress.”
Waited, however, nothing came through. WordFence disabled and does the error look same on your end please?
Kind regards,
Sam- This reply was modified 3 years ago by Sam Henaka.
Hi,
Applied for Domain Key successfully. Please wait for result. Domain Key will be automatically sent to your WordPress.
this is the sending information , not receiving
from my side , it still shows 401 error
try this
go to toolbox -> debug setting -> set debug to ON , set log level to advance
in debug include URI , add
/litespeed/v1 /wp-admin/admin.php
now request the domain key again
you should see , in debug log , it will shows up a request like
11/16/21 00:43:09.386 [====== 1 3IB] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 11/16/21 00:43:09.387 [====== 1 3IB] Query String: page=litespeed-general&LSCWP_CTRL=cloud&LSCWP_NONCE=94ac4e943f&litespeed_type=gen_key 11/16/21 00:43:09.387 [====== 1 3IB] HTTP_REFERER: https://domain.com/wp-admin/admin.php?page=litespeed-general 11/16/21 00:43:09.387 [====== 1 3IB] User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.53 11/16/21 00:43:09.387 [====== 1 3IB] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 11/16/21 00:43:09.387 [====== 1 3IB] Accept Encoding: gzip, deflate, br 11/16/21 00:43:09.387 [====== 1 3IB] X-LSCACHE: true 11/16/21 00:43:09.387 [====== 1 3IB] LSCACHE_VARY_VALUE: +webp 11/16/21 00:43:09.447 [====== 1 3IB] [Ctrl] X Cache_control -> private ( logged in user ) 11/16/21 00:43:09.447 [====== 1 3IB] [Media] init 11/16/21 00:43:09.448 [====== 1 3IB] [LQIP] init 11/16/21 00:43:09.448 [====== 1 3IB] [CDN] init 11/16/21 00:43:09.448 [====== 1 3IB] [Router] CDN bypassed: is not ajax call 11/16/21 00:43:09.448 [====== 1 3IB] [Router] CDN bypassed: ajax call from admin 11/16/21 00:43:09.448 [====== 1 3IB] ? Task init 11/16/21 00:43:09.448 [====== 1 3IB] [Router] LSCWP_CTRL: cloud 11/16/21 00:43:09.448 [====== 1 3IB] [Router] LSCWP_CTRL verified: 'cloud' 11/16/21 00:43:09.449 [====== 1 3IB] [Router] parsed type: gen_key => LiteSpeed\Router::verify_type()@454 => LiteSpeed\Cloud->handler()@1156 => LiteSpeed\Router->handler(cloud)@727 11/16/21 00:43:09.576 [====== 1 3IB] ?? ? send request for key successfully.
this is the request it sends to QC server
then wait for 10 minute , check log again , you should see a line like this
https://www.litespeedshare.net/s/d8stku6c
this is working log
now please check on your site and see if it gives any error message
Best regards,
Hi,
Thanks for the prompt reply.
Think there should be something going on.
Followed step by step as you suggested. However, unfortunately, it is not saving and strangely the debug setting is blank when you check back. Then you refresh the page, Debug Settings appear as default. (no saved changes and no console errors too)
Never had this kind of issue before as we are using the plugin on all other websites and works like charm.
Let us know if this is not within your scope, please. Checked the server log and other debug errors, there is nothing related to Litespeed.
Kind regards,
okay , try this guide , then try request domain key again , if that still fails , follow the debug log process
Legend man!
It worked. Should have been the corrupted database when we moved the staging.
Thanks, guys for your help ??
Kind regards,
Sami have the same issue and this is my log :
12/19/21 16:13:26.117 [213.207.201.116:1731 1 ahJ] [Ctrl] 301 from https://nabegheha.com/wp-admin/admin.php 12/19/21 16:13:26.118 [213.207.201.116:1731 1 ahJ] [Ctrl] 301 to https://nabegheha.com/wp-admin/admin.php?page=litespeed-toolbox 12/19/21 16:13:26.118 [213.207.201.116:1731 1 ahJ] [Ctrl] X Cache_control -> no Cache ( 301 to same url ) => LiteSpeed\Control::set_nocache(( 301 to same url ))@362 => LiteSpeed\Control->check_redirect(https://nabegheha.com/wp-admin/admin.php?page=litespeed-toolbox,302)@518 => WP_Hook->apply_filters(https://nabegheha.com/wp-admin/admin.php?page=litespeed-toolbox,ARRAY)@303 => /home/nabegheh/public_html/wp-includes/pluggable.php@189 => /home/nabegheh/public_html/wp-content/plugins/litespeed-cache/src/admin.cls.php@1301 => LiteSpeed\Admin::redirect()@197 12/19/21 16:13:26.119 [213.207.201.116:1731 1 ahJ] ?? [Tag] Add --- HTTP.302 12/19/21 16:13:26.119 [213.207.201.116:1731 1 ahJ] [Core] CHK html bypass: miss footer const 12/19/21 16:13:26.120 [213.207.201.116:1731 1 ahJ] [Ctrl] not cacheable before ctrl finalize 12/19/21 16:13:26.120 [213.207.201.116:1731 1 ahJ] [Router] get_role: administrator 12/19/21 16:13:26.120 [213.207.201.116:1731 1 ahJ] [Vary] role in vary_group [group] 99 12/19/21 16:13:26.120 [213.207.201.116:1731 1 ahJ] [Vary] show_admin_bar_front: true 12/19/21 16:13:26.120 [213.207.201.116:1731 1 ahJ] [Vary] admin bar : true 12/19/21 16:13:26.121 [213.207.201.116:1731 1 ahJ] [Vary] no custimzed vary 12/19/21 16:13:26.121 [213.207.201.116:1731 1 ahJ] ?? X-LiteSpeed-Cache-Control: no-cache 12/19/21 16:13:26.121 [213.207.201.116:1731 1 ahJ] [Core] CHK html bypass: miss footer const 12/19/21 16:13:26.121 [213.207.201.116:1731 1 ahJ] End response -------------------------------------------------------------------------------- 12/19/21 16:13:26.252 [213.207.201.116:1731 1 sB3] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 12/19/21 16:13:26.252 [213.207.201.116:1731 1 sB3] Query String: page=litespeed-toolbox 12/19/21 16:13:26.252 [213.207.201.116:1731 1 sB3] HTTP_REFERER: https://nabegheha.com/wp-admin/admin.php?page=litespeed-toolbox 12/19/21 16:13:26.252 [213.207.201.116:1731 1 sB3] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 12/19/21 16:13:26.252 [213.207.201.116:1731 1 sB3] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 12/19/21 16:13:26.252 [213.207.201.116:1731 1 sB3] Accept Encoding: gzip, deflate, br 12/19/21 16:13:26.252 [213.207.201.116:1731 1 sB3] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99 12/19/21 16:13:26.252 [213.207.201.116:1731 1 sB3] X-LSCACHE: true 12/19/21 16:13:26.503 [213.207.201.116:1731 1 sB3] [Ctrl] X Cache_control -> private ( logged in user ) 12/19/21 16:13:26.504 [213.207.201.116:1731 1 sB3] [Media] init 12/19/21 16:13:26.505 [213.207.201.116:1731 1 sB3] [LQIP] init 12/19/21 16:13:26.506 [213.207.201.116:1731 1 sB3] [CDN] init 12/19/21 16:13:26.506 [213.207.201.116:1731 1 sB3] [Router] CDN bypassed: is not ajax call 12/19/21 16:13:26.506 [213.207.201.116:1731 1 sB3] [Router] CDN bypassed: ajax call from admin 12/19/21 16:13:26.507 [213.207.201.116:1731 1 sB3] ? Task init 12/19/21 16:13:26.507 [213.207.201.116:1731 1 sB3] [Router] LSCWP_CTRL bypassed empty 12/19/21 16:13:26.638 [213.207.201.116:1731 1 sB3] [Ctrl] X Cache_control -> no Cache ( Admin page ) => LiteSpeed\Control::set_nocache(( Admin page ))@362 => LiteSpeed\Admin->admin_init()@66 => WP_Hook->apply_filters(ARRAY)@303 => WP_Hook->do_action(ARRAY)@327 => /home/nabegheh/public_html/wp-admin/admin.php@470 12/19/21 16:13:26.721 [213.207.201.116:1731 1 sB3] [Core] CHK html bypass: miss footer const 12/19/21 16:13:26.721 [213.207.201.116:1731 1 sB3] [Ctrl] not cacheable before ctrl finalize 12/19/21 16:13:26.721 [213.207.201.116:1731 1 sB3] [Router] get_role: administrator 12/19/21 16:13:26.721 [213.207.201.116:1731 1 sB3] [Vary] role in vary_group [group] 99 12/19/21 16:13:26.721 [213.207.201.116:1731 1 sB3] [Vary] show_admin_bar_front: true 12/19/21 16:13:26.722 [213.207.201.116:1731 1 sB3] [Vary] admin bar : true 12/19/21 16:13:26.722 [213.207.201.116:1731 1 sB3] [Vary] no custimzed vary 12/19/21 16:13:26.722 [213.207.201.116:1731 1 sB3] ?? X-LiteSpeed-Cache-Control: no-cache 12/19/21 16:13:26.723 [213.207.201.116:1731 1 sB3] [Core] CHK html bypass: miss footer const 12/19/21 16:13:26.723 [213.207.201.116:1731 1 sB3] End response -------------------------------------------------------------------------------- 12/19/21 16:13:29.744 [213.207.201.116:1731 1 oxw] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 12/19/21 16:13:29.744 [213.207.201.116:1731 1 oxw] Query String: page=litespeed-general&LSCWP_CTRL=cloud&LSCWP_NONCE=9f8f40cf2c&litespeed_type=gen_key 12/19/21 16:13:29.744 [213.207.201.116:1731 1 oxw] HTTP_REFERER: https://nabegheha.com/wp-admin/admin.php?page=litespeed-general 12/19/21 16:13:29.744 [213.207.201.116:1731 1 oxw] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 12/19/21 16:13:29.744 [213.207.201.116:1731 1 oxw] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 12/19/21 16:13:29.744 [213.207.201.116:1731 1 oxw] Accept Encoding: gzip, deflate, br 12/19/21 16:13:29.744 [213.207.201.116:1731 1 oxw] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99 12/19/21 16:13:29.744 [213.207.201.116:1731 1 oxw] X-LSCACHE: true 12/19/21 16:13:30.010 [213.207.201.116:1731 1 oxw] [Ctrl] X Cache_control -> private ( logged in user ) 12/19/21 16:13:30.011 [213.207.201.116:1731 1 oxw] [Media] init 12/19/21 16:13:30.011 [213.207.201.116:1731 1 oxw] [LQIP] init 12/19/21 16:13:30.012 [213.207.201.116:1731 1 oxw] [CDN] init 12/19/21 16:13:30.012 [213.207.201.116:1731 1 oxw] [Router] CDN bypassed: is not ajax call 12/19/21 16:13:30.012 [213.207.201.116:1731 1 oxw] [Router] CDN bypassed: ajax call from admin 12/19/21 16:13:30.012 [213.207.201.116:1731 1 oxw] ? Task init 12/19/21 16:13:30.013 [213.207.201.116:1731 1 oxw] [Router] LSCWP_CTRL: cloud 12/19/21 16:13:30.013 [213.207.201.116:1731 1 oxw] [Router] LSCWP_CTRL verified: 'cloud' 12/19/21 16:13:30.014 [213.207.201.116:1731 1 oxw] [Router] parsed type: gen_key => LiteSpeed\Router::verify_type()@455 => LiteSpeed\Cloud->handler()@1156 => LiteSpeed\Router->handler(cloud)@732 12/19/21 16:13:30.530 [213.207.201.116:1731 1 oxw] ?? ? send request for key successfully. 12/19/21 16:13:30.539 [213.207.201.116:1731 1 oxw] [Ctrl] 301 from https://nabegheha.com/wp-admin/admin.php 12/19/21 16:13:30.540 [213.207.201.116:1731 1 oxw] [Ctrl] 301 to https://nabegheha.com/wp-admin/admin.php?page=litespeed-general 12/19/21 16:13:30.540 [213.207.201.116:1731 1 oxw] [Ctrl] X Cache_control -> no Cache ( 301 to same url ) => LiteSpeed\Control::set_nocache(( 301 to same url ))@362 => LiteSpeed\Control->check_redirect(https://nabegheha.com/wp-admin/admin.php?page=litespeed-general,302)@518 => WP_Hook->apply_filters(https://nabegheha.com/wp-admin/admin.php?page=litespeed-general,ARRAY)@303 => /home/nabegheh/public_html/wp-includes/pluggable.php@189 => /home/nabegheh/public_html/wp-content/plugins/litespeed-cache/src/admin.cls.php@1301 => LiteSpeed\Admin::redirect()@197 12/19/21 16:13:30.541 [213.207.201.116:1731 1 oxw] ?? [Tag] Add --- HTTP.302 12/19/21 16:13:30.541 [213.207.201.116:1731 1 oxw] [Core] CHK html bypass: miss footer const 12/19/21 16:13:30.542 [213.207.201.116:1731 1 oxw] [Ctrl] not cacheable before ctrl finalize 12/19/21 16:13:30.542 [213.207.201.116:1731 1 oxw] [Router] get_role: administrator 12/19/21 16:13:30.542 [213.207.201.116:1731 1 oxw] [Vary] role in vary_group [group] 99 12/19/21 16:13:30.542 [213.207.201.116:1731 1 oxw] [Vary] show_admin_bar_front: true 12/19/21 16:13:30.542 [213.207.201.116:1731 1 oxw] [Vary] admin bar : true 12/19/21 16:13:30.543 [213.207.201.116:1731 1 oxw] [Vary] no custimzed vary 12/19/21 16:13:30.543 [213.207.201.116:1731 1 oxw] ?? X-LiteSpeed-Cache-Control: no-cache 12/19/21 16:13:30.543 [213.207.201.116:1731 1 oxw] [Core] CHK html bypass: miss footer const 12/19/21 16:13:30.543 [213.207.201.116:1731 1 oxw] End response -------------------------------------------------------------------------------- 12/19/21 16:13:30.681 [213.207.201.116:1731 1 Mbu] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 12/19/21 16:13:30.681 [213.207.201.116:1731 1 Mbu] Query String: page=litespeed-general 12/19/21 16:13:30.681 [213.207.201.116:1731 1 Mbu] HTTP_REFERER: https://nabegheha.com/wp-admin/admin.php?page=litespeed-general 12/19/21 16:13:30.681 [213.207.201.116:1731 1 Mbu] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 12/19/21 16:13:30.681 [213.207.201.116:1731 1 Mbu] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 12/19/21 16:13:30.681 [213.207.201.116:1731 1 Mbu] Accept Encoding: gzip, deflate, br 12/19/21 16:13:30.681 [213.207.201.116:1731 1 Mbu] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99 12/19/21 16:13:30.681 [213.207.201.116:1731 1 Mbu] X-LSCACHE: true 12/19/21 16:13:31.160 [213.207.201.116:1731 1 Mbu] [Ctrl] X Cache_control -> private ( logged in user ) 12/19/21 16:13:31.161 [213.207.201.116:1731 1 Mbu] [Media] init 12/19/21 16:13:31.162 [213.207.201.116:1731 1 Mbu] [LQIP] init 12/19/21 16:13:31.163 [213.207.201.116:1731 1 Mbu] [CDN] init 12/19/21 16:13:31.163 [213.207.201.116:1731 1 Mbu] [Router] CDN bypassed: is not ajax call 12/19/21 16:13:31.163 [213.207.201.116:1731 1 Mbu] [Router] CDN bypassed: ajax call from admin 12/19/21 16:13:31.164 [213.207.201.116:1731 1 Mbu] ? Task init 12/19/21 16:13:31.165 [213.207.201.116:1731 1 Mbu] [Router] LSCWP_CTRL bypassed empty 12/19/21 16:13:31.292 [213.207.201.116:1731 1 Mbu] [Ctrl] X Cache_control -> no Cache ( Admin page ) => LiteSpeed\Control::set_nocache(( Admin page ))@362 => LiteSpeed\Admin->admin_init()@66 => WP_Hook->apply_filters(ARRAY)@303 => WP_Hook->do_action(ARRAY)@327 => /home/nabegheh/public_html/wp-admin/admin.php@470 12/19/21 16:13:31.392 [213.207.201.116:1731 1 Mbu] [Core] CHK html bypass: miss footer const 12/19/21 16:13:31.392 [213.207.201.116:1731 1 Mbu] [Ctrl] not cacheable before ctrl finalize 12/19/21 16:13:31.392 [213.207.201.116:1731 1 Mbu] [Router] get_role: administrator 12/19/21 16:13:31.393 [213.207.201.116:1731 1 Mbu] [Vary] role in vary_group [group] 99 12/19/21 16:13:31.393 [213.207.201.116:1731 1 Mbu] [Vary] show_admin_bar_front: true 12/19/21 16:13:31.393 [213.207.201.116:1731 1 Mbu] [Vary] admin bar : true 12/19/21 16:13:31.393 [213.207.201.116:1731 1 Mbu] [Vary] no custimzed vary 12/19/21 16:13:31.393 [213.207.201.116:1731 1 Mbu] ?? X-LiteSpeed-Cache-Control: no-cache 12/19/21 16:13:31.394 [213.207.201.116:1731 1 Mbu] [Core] CHK html bypass: miss footer const 12/19/21 16:13:31.394 [213.207.201.116:1731 1 Mbu] End response --------------------------------------------------------------------------------
please help me
i solved this issue
problem was htaccess .
use this site if you have problem :
https://gist.github.com/seoagentur-hamburg/c96bc796764baaa64d43b70731013f8a
- The topic ‘Domain Key issue’ is closed to new replies.