25,639
questions
0
votes
0
answers
6
views
How to work around SpringSessionBackedReactiveSessionRegistry bug? (Spring Security, Spring Session)
Any suggestions on how to work around the below bug, or am I doing something fundamentally wrong? Whenever I do something like val contextAttr = session.getAttribute<Map<String, Any>>(...
0
votes
0
answers
11
views
Getting this exception in Redisson Client
I was monitoring my server and saw these logs repeatedly and I cannot understand the cause of this.l It is only a warn log but what might be causing it?
2024-08-29 16:54:54.851 [redisson-timer-3-1] ...
1
vote
0
answers
19
views
CrashLoopBack and unable to expose Sentry-web
I finished deploying Sentry
The kafka-controller keeps going into CrashLoopBackOff.
For kafka-controller
[2024-08-29 14:39:51,534] WARN [RaftManager id=0] Error connecting to node sentry-kafka-...
0
votes
0
answers
29
views
Is splitting a large JSON on Redis is more efficient than storing a big one? [closed]
I'm building a Node.js server that handles large file uploads to S3 using multipart uploads. To ensure consistency across multiple Kubernetes pods, I'm storing chunk upload data in a large JSON object ...
0
votes
0
answers
25
views
Unable to find image locally docker: Error response from daemon: {"message":"connection refused"}
I've been using docker several time from my company computer but not continiously and never had any problem before. Today i try to run this command(from windows cmd) :
docker run -d --name ...
0
votes
0
answers
16
views
NestJs Cron Jobs Which Previously Worked Are not Functioning
We're using NestJS scheduler for cron jobs, we've had a certain amount of cron tasks which have been running without any issues in production. However we've recently doubled the amount of cron tasks, ...
0
votes
1
answer
20
views
Are the results of FT.SEARCH ordered by their scores by default?
According to the documentation of FT.SEARCH, it has a WITHSCORES argument to get the internal scores of the documents, and a SCORER argument to specify a function for scoring the documents, such as ...
0
votes
1
answer
44
views
How to set hash tags correctly for a uuid key stored as byte array in Redis
As per Redis documentation hashtags could be used to force assign keys to the same hash slot. I have a use case where we are storing {UUID}Integer as a byte array in Redis where I expect only the UUID ...
0
votes
0
answers
9
views
How to find when was redis cache last cleared | Magento domain
How to find when was redis cache last cleared | Magento domain
is there way to find the details?
Checked redis info details, is the uptime info is linked with cache clearing. How often redis will ...
0
votes
0
answers
29
views
Why does my XMLHttpRequest cancel my background task before reloading the page
I'm trying to send a XMLHttpRequest to my backend if a user chooses to reload the webpage while a task is running on the backend. It is to function like this:
The user starts the task(translation).
...
0
votes
0
answers
67
views
Unexplained Memory Spikes with Dockerized Go Application and PostgreSQL/Redis Setup
I'm not sure if this is a ServerFault issue, but I will try to post this here first, as my software is programmed with go.
So have I Ubuntu 22.04, running the following:
docker and docker-compose
...
0
votes
1
answer
78
views
+200
go-redis: dial tcp: lookup i/o timeout
go-redis does not recover after being idle and I am not sure how to configure it to automatically reconnect and retry. When my service tries to execute a redis command after being idle, it fails the ...
0
votes
2
answers
42
views
How to avoid duplicate notifications when subscribing multiple times to the same Redis channel?
I have an issue where, if I subscribe multiple times to the same Redis channel, my subscribers start receiving duplicate messages.
Here is my subscription method:
public void ...
0
votes
1
answer
15
views
How to poll a redis++ subscriber
I am using redis++ for an application with a redis backend. We rely on pubsub for some communication between different processes.
Currently, we use socket_timeout and a loop to consume messages. This ...
1
vote
2
answers
57
views
Redis vs Aerospike vs Couchbase as a cache use cases? [closed]
I scoured stack overflow and reddit trying to gather as much information as possible and wanted to ask for suggestions on which caching solution to use for the following use cases (with persistence in ...
0
votes
0
answers
42
views
Celery Worker in C++ using Redis
What is a correct approach to creating a Celery worker in C++ using Redis as the message broker?
In this blog post, the author describes a Celery worker that runs tasks queued on RabbitMQ (AMQP). The ...
1
vote
1
answer
32
views
Spring Session / Security - Redis Sessions not being properly deleted
I have a Spring OAuth Client (BFF), between a Public Angular Client, and an Auth0 Authorization server. When I login, the BFF correctly persists the session to Redis (and with it, the Authorized ...
0
votes
1
answer
13
views
adding NGINX proxy_pass to Redis and mongodb got errors
I need to proxy redis and mongodb through nginx.
This is config file in /etc/nginx/nginx.conf.
stream {
server {
listen 27030;
proxy_connect_timeout 1s;
proxy_timeout 3s;
...
0
votes
0
answers
31
views
use lua script and redis for set pattern in location openresty
stream.conf.template:
server {
charset utf-8;
client_max_body_size 128M;
listen 80;
listen 443 ssl http2;
ssl_certificate /ssl/ssl.everything;
ssl_certificate_key /ssl/...
0
votes
0
answers
16
views
How to detect folder file upload in Minio with Redis
I have this architecture:
Basically:
user will upload in Minio bucket, a new folders with set of files
I will require to add those file to a new queue in redis
a DAG is triggered every X min to ...
0
votes
0
answers
17
views
Celery and Redis Command Overload Despite Optimizations in Django App
I’m facing an issue with my Celery + Redis setup for a Django project where the number of Redis commands being executed is skyrocketing despite having made several optimizations. I’m using Upstash ...
0
votes
1
answer
25
views
Redis ft.search lettuce return java object instead of Document<K, V>
Is is possible to return plan java object and not Document<K, V> using lettucemod with Redis Stack?
The API seems to strange, as I understand this:
StatefulRedisModulesConnection<K, V> ...
0
votes
0
answers
14
views
Spring Session Redis - always getting could not get resource from pool
The bug
This is the bug I keep getting, when I load my Spring Application:
2024-08-23T00:17:20.005+01:00 INFO 9758 --- [BFFApplication] [ main] o.s.b.web.embedded.netty.NettyWebServer : ...
0
votes
1
answer
40
views
Can't Connect to Redis in Docker with NestJS
I am trying to connect to a Redis instance running in a Docker container from my NestJS application. However, I'm encountering connection issues when using the URL for the Redis connection. When I ...
0
votes
0
answers
27
views
How to Observe and reload bean if connection status changes
I have a spring boot application with redis cache support
During runtime is there a way to detect if redis server is down/up ?
And based on that reload the Bean that is connecting app with redis to ...
0
votes
0
answers
22
views
Exact completion moment of the Spring Boot Redis executePipelined method
I use the executePipelined method to push some records to Redis. And then some other code.
stringRedisTemplate.executePipelined(new RedisCallback<Object>() {
public Object doInRedis(...
1
vote
0
answers
31
views
Microsoft.Web.SessionStateProvider - Timeout Performing EVAL
Can someone help me identify what is the bottleneck here in my Redis Master-Replica setup? Adding some of my observations
This is happening randomly
This suggest that a timeout has occurred while ...
0
votes
0
answers
28
views
JedisConnectionException: Unexpected end of stream (when Redis timeout already set to 0)
I've seen a few other questions on SO for this exception, but the answers are generally "set the timeout on the server side to 0" which the Redis instances I've been using already have. ...
0
votes
1
answer
70
views
Kubernetes headless service endpoint problem
We have a stateful redis deployment on multi node Kubernetes cluster. (v1.27.15)
There are two services named "redis" and "redis-headless"
There are 3 nodes in the cluster. When we ...
0
votes
1
answer
29
views
Migrating ~80k keys with REDIS and RIOT: missing ~750 keys each time
I am trying to migrate data from one instance of Redis 7.4 to another instance with the same version with RIOT:
./riot-3.1.5/bin/riot \
--metrics \
-n 1 -h $SOURCE_REDIS_HOST -p $SOURCE_REDIS_PORT ...
0
votes
0
answers
24
views
Setting Cookie is working in postman but not in chrome vercel production
I am trying to create a login function for my movies website and im using passportjs for authentication, the cookie is working in postman but when i integrate it to the login function of my front end ...
0
votes
0
answers
15
views
Spring Session - Webflux - Redis Session Clean Up / Evicter - not working
I've followed the main documentation guidance with the following code, for cleaning sessions using Spring Session
@Configuration
@EnableScheduling
internal class RedisCleanUpConfig {
/**
* ...
-2
votes
1
answer
42
views
Is there any plan for Redis 7.X running on AlmaLinux 9? [closed]
i can´t find an answer to my question above.
Is there any way to install or upgrade Redis on Almalinux greater than 7.0?
There is onle this rotten Git @ https://git.almalinux.org/rpms/redis
Tried to ...
-4
votes
0
answers
35
views
{Solved} What will happen if I insert a record into AWS ElastiCache Redis with the same primary key as an existing record that has an expired TTL?
I currently have a record with the primary key 654 in AWS ElastiCache Redis Cache, but its TTL has expired and it hasn't been deleted yet.
If I attempt to insert a record with the same primary key but ...
0
votes
0
answers
25
views
How to Handle Cache Invalidation in Redis When Query Predicates Change in a Paging System
I'm working on a system where I cache paginated results using Redis. The caching logic stores data for the current page, the next page, and the page after that. Each page's cache key is based on the ...
0
votes
1
answer
50
views
Cannot use a pattern to find keys in redis even when keys do exist
I am using Azure Redis and I cannot get this simple search to work
What am I doing wrong?
When I search for a specific key which I know is in the cache its not found?
private async Task ...
0
votes
0
answers
25
views
EOF occurred in violation of protocol (_ssl.c:1133) [closed]
I am getting following error with few of the connections EOF occurred in violation of protocol (_ssl.c:1133).
using djang_redis==5.2.0
and redis==5.0.0
the redis is on version 6.X
Tried to change ...
0
votes
0
answers
22
views
django-cacheops error: Unknown Redis command called from Lua script
Using these versions I'm trying to cache data in Django with cacheops
Python = 3.12.4
Redis = 7.0.4
Django = 5.0.7
django-cacheops = 7.0.2
but the response returns the following error:
redis....
0
votes
0
answers
8
views
transactions with redis and org.springframework.data.jpa.repository
I've implemented a microservice that saves and retrieves data on redis making usage of jpa crud repository. When I save a message, I've a method like this:
@Repository
public interface ...
1
vote
0
answers
21
views
Spring Security - How do I delete a Security Context from Redis?
I have a Spring OAuth Client, that persists most things to Redis, as you can see below
How, however can I delete a security context object from Redis? Otherwise I'm assuming it will just keep ...
0
votes
1
answer
78
views
Spring Security - BFF - not redirecting and Token Relay not able to access Principal [closed]
When I try to access a Resource Server endpoint through a Spring Cloud Gateway instance configured with oauth2Login and the TokenRelay filter, it just goes straight to that - without checking if the ...
-1
votes
0
answers
17
views
data extract and print from redis in python3
The data has been inserted into redis by springboot java rest api E.g.
r.put(Hash_value,key,value)
Am trying to retrieve the same using python code to print the keys There are around 5 HASH ...
0
votes
1
answer
32
views
How to resolve CROSSSLOT key error on Redis Cluster using Spring Boot and RedisHash with Multiple Indexes
Im trying to solve the CROSSSLOT Keys in request don't hash to the same slot when using @RedisHash on an entity class having more then one @Indexed on varaiables.
Is there any way to store the hashing ...
0
votes
0
answers
19
views
Redisson as session manager in Tomcat with JSF mojarra 2.3 application
I am trying to take my application on Redis to remove stickiness and enable session replication.
When i did load testing without redis the over all time was about 500ms. But when i enabled redis by ...
-1
votes
0
answers
46
views
How to Handle Class Path Changes in Java Serialization with Redis Cache?
The @class property is used to include the class information of an object when it is serialized, allowing it to be accurately restored to the correct class type during deserialization.
(i'm using ...
0
votes
0
answers
12
views
Redis Cluster Configuration Error: ERROR o.r.c.ClusterConnectionManager redisson-netty-2-7 Can't connect to master:
I am trying to create a redis cluster in my docker local machine. I have successfully created all my nodes which has 30001-30006 external port and 6379 internal port. When i try to run the application ...
1
vote
0
answers
18
views
Redis Latency Issues: High Response Time for Repeated Requests on WSL with phpredis
I am experiencing unexpected latency issues with Redis in my Laravel application. Here are the details:
Setup:
Redis Client: I am using the phpredis extension.
Environment: Redis is running on Windows ...
0
votes
2
answers
43
views
Render image from memory
I have an ASP.NET control on a form. Declared as:
<asp:imagebutton runat="server" Id="myImage1"/>
In the code behind, I get an image from a Redis database. I read the image ...
0
votes
0
answers
28
views
Can anybody figure out why my script showing "Error : AggregateError"?
I am trying to build a mailing system with nodejs and i am working the inquirer, redis and express.
I am trying to store the value from the inquirer input temporary with redis and i have done ...
0
votes
0
answers
36
views
I get an error when I want to save messages in a real-time chat application in Django
I don't get any error like this
import json
from channels.generic.websocket import AsyncWebsocketConsumer
from channels.db import database_sync_to_async
from .models import ChatRoom
class ...