mardi 31 décembre 2019

Laravel Redis php_network_getaddresses: getaddrinfo failed: Name or service not known [tcp://redis:6379]

Server throwing below error may be on heavy site traffic or loss of redis connection. But unable to found the cause of this error that can help to resolve. So any help regarding this will be helpful.

Server : Digital Ocean
Frontend : React JS
Backend : laravel (5.8)
Used spiritix/lada-cache library for mysql cashing to manage large amount of data.
Application is running on Docker containers.

production.ERROR: php_network_getaddresses: getaddrinfo failed: Name or service not known [tcp://redis:6379] {"exception":"[object] (Predis\Connection\ConnectionException(code: 0): php_network_getaddresses: getaddrinfo failed: Name or service not known [tcp://redis:6379] at /var/www/vendor/predis/predis/src/Connection/AbstractConnection.php:155)

This error will stops the server as well.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire