Fatal error: Uncaught RedisException: Connection

Hey there,
I’ve got php 7 / mage 2 & redis … but I can shut redis down if that’s what is needed here. I’m just having trouble even getting a connection. I’ve confirmed that redis is functioning as the magento 2 session handler without any problems, and corrected the session path to make sure that it was pointed towards redis. 
 
I have consulted a github with a similar issue, but was unable to produce the same outcome with the suggested solution. 
 
Let me know what other ideas you might have :-)! Thank you
 
STACK TRACE:
Fatal error: Uncaught RedisException: Connection closed in /var/www/vhosts/dev.sugargliderinfo.org/public_html/pub/ub-tool/yii/web/CHttpSession.php:135 Stack trace: #0 /var/www/vhosts/dev.sugargliderinfo.org/public_html/pub/ub-tool/yii/web/CHttpSession.php(135): session_write_close() #1 [internal function]: CHttpSession->close() #2 {main} thrown in /var/www/vhosts/dev.sugargliderinfo.org/public_html/pub/ub-tool/yii/web/CHttpSession.php on line 135

1 answer

Profile photo of Mall Staff 184060.00 $tone February 23, 2017
Public

Hi there,
Our tool use the Yii framework as core functions. And in case you want to use Rediscache in your server, maybe this post will help you to solve:
HTTP Sessions using Redis in Yii
You can make your custom settings in the config file of our tool at path: pub/ub-tool/protected/config/main.php
In case you can’t do it. Let’s tell me know information about your Rediscache servers: host, port, database…
And provide me the admin, ssh credentials and web root folder path of your Magento2.
I will check further and help you out.
Regards,
Mall.

#1

Please login or Register to Submit Answer

Written By

Comments