Server Error redis.exceptions.ConnectionError: Error while reading from socket: ('Connection closed by server.',)

When trying to delete a sales invoice and a customer this error pops up. However I can create customers and sales invoices with no issues.
Server Error

redis.exceptions.ConnectionError: Error while reading from socket: ('Connection closed by server.'

Managed to solve this by running

sudo lsof -i -P -n | grep LISTEN

Then look for the process pid number using port 11000

Then

sudo kill -9 ‘pid number’

bench restart

sudo supervisorctl restart all

1 Like