Category "redis"

Can't connect Redis with Heroku

I'm kinda new but what I did so far was the following: Created Redis cloud account, set it up on RedisInsight on my computer. Heroku was fully deployed, went to

How can I restore or load backup rdb file in in-memory redis?

I have Redis instances in k8s with one master and 2 slave. I backup from rdb file that said for persistent Redis but I don't have persistent path so when I copy

How to Kill all Celery background proces

Killing all celery processes involves 'grep'ing on 'ps' command and run kill command on all PID. Greping on ps command results in showing up self process info o

Django WebSocket connection to 'ws://127.0.0.1:8000/ws/chat/8_9/' failed:

I am doing a Django project in which I have added a live chat feature using Django channels. When I finished the messaging part I worked on other parts of the p

Redis cluster with one master and N replica/slave

Is it possible to create a Redis cluster with only 1 master and N slaves/replicas? I tried it and it failed: redis-cli --cluster create 127.0.0.1:7000 127.0.0.1

dotnet core Subscriber is not being triggered after Publishing

I'm working on a Redis(StackExchange.Redis) PUBSUB system in Dotnet core and everything works normally until after I publish to my channel. The subscriber simpl

RedisException php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution

I have Redis and php-redis extension installed but whenever I wanna use a queue in Laravel I just get the error below RedisException php_network_getaddresses: g

How to write and read custom objects to and from Redis with Python?

I have an ordered dictionary where the values are of a custom type object (for example datetime.datetime) and I want to cache it to Redis. What is a good and se

Django +docker-compose + Celery + redis - How to use Redis deployed in my own remote server?

I have a Django app deployed in Docker containers. I have 3 config environnements: dev, preprod and prod. dev is my local environnement (localhost) and preprod/

How to get all the documents from an index in Redisearch?

I am using RediSearch and storing the data in an Index through documents. I want to get all the documents from the Index, please suggest.

Laravel Echo Server, Redis, Socket.IO: Can't seem to make them work

I'm developing real-time app with Laravel. Since I don't want to use Pusher, I'm trying to make websockets work using Laravel Echo Server, Redis, and Socket.IO.

redis-cli --pipe yields MOVED errors when bulk uploading to Elasticache with cluster-mode enabled

I am trying to use redis-cli --pipe to bulk upload some commands to my AWS Elasticache for redis cluster. The commands come from parsing a file via a custom awk

How to sync data between two Elasticache Redis Instances

I have two AWS Elasticache instances, One of the instances (lets say instance A) has very important data sets and connections on it, downtime is unacceptable. B

Redis cache InvalidOperationException: Reading is not allowed after reader was completed

I have one webjob that is continously inserting data into redis I have another time trigger function to read data from the same redis cache after every 5 minute

Will data loss in AWS Redis cluster, if I will change instance type?

I can't find information, on how to change my AWS Redis cluster instance type and won't lose my data in it?

Redis Connection Error with Heroku Redis Instance: Redis connection to failed - read ECONNRESET heroku instance

I have a node js app. And I use Redis from Heroku Redis(with async-redis library). Actually, I have two different Heroku accounts and two different Node.js apps

Heroku / Redis Connection error on Python/Django Project

I'm trying to set up django so it send automatic email when a certain date in my models i reached. However i setup a Heroku-Redis server and am trying to connec

Problems with migrating to Redis 4.x in Node

I am trying to migrate my google cloud app engine from Redis 3.x to 4.x. However, it appears that there have been some major changes in Redis 4.x. It appears th

missing 'error' handler on this Redis client

It's really an odd issue I cannot detect, here's my adapter. import { IoAdapter } from '@nestjs/platform-socket.io'; import { ServerOptions } from 'socket.io';

Run periodic task defined from the view | Flask & Celery

I'm trying to run a simple periodic task every 10 seconds using flask and celery with the following code in my controllers.py: @celery.task() def print_hello(wo