No that kind of firewall, what port needed please?Only other thing comes to my mind is some sort of a firewall interference, do you have selinux or any other firewall software activated in your system?
Thanks, the issue is from a server in China, so, if it need external connection, it might be blocked. I will test server on digitalocean later.Usually
'host' => '127.0.0.1',
'port' => 6379,
It is called the great wall of china (and they refer the firewall) it is very restrictive. When you say external connection I am assuming you are asking if redis should be reachable directly using public ips. If this is what you mean the answer is, it is very dangerous to open up the redis to public internet access, so redis should be only reachable internally in between instances. Better yet check these redis security articles. Or this one.Thanks, the issue is from a server in China, so, if it need external connection, it might be blocked. I will test server on digitalocean later.
Would you please clarify whether it need external connection please?
Thanks, it is really great article for redos security.It is called the great wall of china (and they refer the firewall) it is very restrictive. When you say external connection I am assuming you are asking if redis should be reachable directly using public ips. If this is what you mean the answer is, it is very dangerous to open up the redis to public internet access, so redis should be only reachable internally in between instances. Better yet check these redis security articles. Or this one.
China firewall is there whether you set it up or not, it is implemented by Chinese government. So if you have a server from china all your connections are filtered, if you are located in china and trying to connect to any server outside china your connection is filtered or even blocked, also if you live outside china and trying to reach to a server in china your connection is filtered or completely blocked. To troubleshoot redis issues one need to access the server and physically do some test. I would highly encourage you also to check out wordops community forums and post these issues, this might be also wordops related at some point. Hard to say without spending more time to troubleshoot.Thanks, it is really great article for redos security.
if so, the China firewall should not be the reason, since I did not set external connection.
If yes, what might be the real reason please?
define( 'WP_CACHE', true);
define('WP_REDIS_CONFIG', [
'token' => 'Vwwz2Xjf3RLsjJlBxBpLJbJcIRoi9rfszjmOqecMzQ1RB3K8jYQAOMkrCFCi', // 60 chars random string
'host' => '127.0.0.1',
'port' => 6379,
'database' => 1, // change for each site
'timeout' => 1,
'read_timeout' => 0.5,
'async_flush' => true,
'split_alloptions' => true,
'prefetch' => true,
'debug' => false,
'save_commands' => false,
]);
define('WP_REDIS_DISABLED', getenv('WP_REDIS_DISABLED') ?: false);
define( 'WP_REDIS_PREFIX', 'domain' );
define( 'WP_REDIS_SELECTIVE_FLUSH', true);
You can purchase for 1 month and then request a refund.I want Redis Object Cache Pro version v1.13.3 - 2021-06-08, someone can share it for me and everyone![]()
Thanks for sharing bro !!Use the same mu-plugin.php file from this pach!
IN WP-CONFIG.PHP-> NO token is neded! (no license needed)
define( 'WP_CACHE', true);
define('WP_REDIS_CONFIG', [
'host' => '127.0.0.1',
'port' => 6379,
'database' => 1, // change for each site
'timeout' => 1,
'read_timeout' => 0.5,
'async_flush' => true,
'split_alloptions' => true,
'prefetch' => true,
'debug' => false,
'save_commands' => false,
]);
define('WP_REDIS_DISABLED', getenv('WP_REDIS_DISABLED') ?: false);
define( 'WP_REDIS_PREFIX', 'domain' );
define( 'WP_REDIS_SELECTIVE_FLUSH', true);
2500646#0: *55071 FastCGI sent in stderr: "PHP message: PHP Warning: Class __PHP_Incomplete_Class has no unserializer in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/redis-cache-pro/src/Connections/Connection.php on line 49PHP message: objectcache.warning: The key `yst_sm_1_1:6QDm8_dEVe` is incompatible with prefetching and the group `transient` should be added to the non-prefetchable groups. For more information see: https://objectcache.pro/docs/configuration-options/#non-prefetchable-groups" while reading response header from upstream
Delete from settings(wp-confing.php) about non prefetching groupsHi,
I see this error in server log:
Code:2500646#0: *55071 FastCGI sent in stderr: "PHP message: PHP Warning: Class __PHP_Incomplete_Class has no unserializer in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/redis-cache-pro/src/Connections/Connection.php on line 49PHP message: objectcache.warning: The key `yst_sm_1_1:6QDm8_dEVe` is incompatible with prefetching and the group `transient` should be added to the non-prefetchable groups. For more information see: https://objectcache.pro/docs/configuration-options/#non-prefetchable-groups" while reading response header from upstream
Could someone tell me how to solve it?