Cannot Retrieve Domain Key
-
Hi all
I’m trying to get a Domain Key within the litespeed cache plugin.
I’m currently running the site on a jelastic environment based on https://docs.jelastic.com/wordpress-cluster/
So Basically a Litespeed ADC and a Litespeed WebServer backed by a MARIADB Cluster.
Basically all works fine but getting the domain key returns the following error:
1) The POST callback to https://uat-3.hebu-shop.ch/wp-json/litespeed/v1/token failed.The server returns a 401 error. Deactivating all the plugins was not helping at all. I’ve also tried a database repair of the litespeed plugin as suggested in another thread.
I’ve checked a dozen of thread regarding this. Basically i can tell that there is not firewall issue. WAF is deactivate on Litespeed and on the Security Tab if granted access to ALL. I think that wordpress is blocking the request for some reasons, but i don’t know why. Looks like it needs a login on the
wp-json/litespeed/v1/token
the basewp-json/litespeed/v1/tokenis accessible.So please have a look on the HTACCESS:
# BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## <IfModule LiteSpeed> RewriteEngine on CacheLookup on RewriteRule .* - [E=Cache-Control:no-autoflush] RewriteRule \.litespeed_conf\.dat - [F,L] ### marker MOBILE start ### RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk/|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi [NC] RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+ismobile] ### marker MOBILE end ### ### marker CACHE RESOURCE start ### RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600] ### marker CACHE RESOURCE end ### ### marker FAVICON start ### RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400] ### marker FAVICON end ### ### marker DROPQS start ### CacheKeyModify -qs:fbclid CacheKeyModify -qs:gclid CacheKeyModify -qs:utm* CacheKeyModify -qs:_ga ### marker DROPQS end ### </IfModule> ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END LSCACHE # BEGIN NON_LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END NON_LSCACHE Header always set Strict-Transport-Security "max-age=31536000" # BEGIN WordPress # Die Anweisungen (Zeilen) zwischen „BEGIN WordPress“ und „END WordPress“ sind # dynamisch generiert und sollten nur über WordPress-Filter geändert werden. # Alle Änderungen an den Anweisungen zwischen diesen Markierungen werden überschrieben. # END WordPressDo you have any hint were I can continue with my investigations?
Best Regards, Fabo
The page I need help with: [log in to see the link]
The topic ‘Cannot Retrieve Domain Key’ is closed to new replies.