anyone else can't connect to their redis

Had no issues yesterday but today been running into: redis.exceptions.ConnectionError: Error 111 connecting to containers-us-west-194.railway.app:6648. Connection refused.
31 Replies
Percy
Percy2y ago
Project ID: 1d40932a-c0c4-4819-9b30-9de2a9ee93ca
ricepapi
ricepapi2y ago
1d40932a-c0c4-4819-9b30-9de2a9ee93ca
Ray
Ray2y ago
How are you connecting to it?
ricepapi
ricepapi2y ago
redisInsight and redis python package
Ray
Ray2y ago
Can you share the connection code please?
ricepapi
ricepapi2y ago

redis_client = redis.Redis(
host=HOST, port=PORT, db=0, username=USERNAME, password=PASSWORD)

redis_client = redis.Redis(
host=HOST, port=PORT, db=0, username=USERNAME, password=PASSWORD)
Brody
Brody2y ago
can you show us a screenshot of your service variables, but include a full screenshot of your browser window please
ricepapi
ricepapi2y ago
is it safe to post the variables on this thread?
Brody
Brody2y ago
this is a public thread, so please don't
ricepapi
ricepapi2y ago
ok can i DM you?
Brody
Brody2y ago
the variables are hidden by default, leave them hidden and take a screenshot please that, you have no issues posting here
ricepapi
ricepapi2y ago
Brody
Brody2y ago
where is your service? that's just a database
ricepapi
ricepapi2y ago
im only using railway for the redis db
Brody
Brody2y ago
can you connect to redis with something like dbgate?
ricepapi
ricepapi2y ago
I’ve been trying with redisInsight which is something simile I believe and it doesn’t seem to be working either Something I did notice was the redis server’s log showed that it was continuously restarting
Brody
Brody2y ago
do you have data on that database?
ricepapi
ricepapi2y ago
Yes
Brody
Brody2y ago
important data?
Ray
Ray2y ago
checking it out also, you should not have "important data" in Redis 😬 @ricepapi are you connecting to this instance from a Railway service?
ricepapi
ricepapi2y ago
no just using a python script
Ray
Ray2y ago
running locally?
ricepapi
ricepapi2y ago
yeah it's not too important its just for caching but slows down previous api calls we have done yes
Ray
Ray2y ago
wanna DM me them so I can double check?
ricepapi
ricepapi2y ago
so i was just looking into the memory logs again -- the random fluctuations in mem coincided with when i was having issues
ricepapi
ricepapi2y ago
but it seems like its now been resolved after trying it again now i think it works now -- after trying again apologies for the wild goose chase -- was just confused why it was down for that hour
Ray
Ray2y ago
haha no worries, glad it's working!
ricepapi
ricepapi2y ago
hey im running into this issue again -- the logs keep on repeating the following which leads me to assume the container is continuously restarting, is this normal?
ricepapi
ricepapi2y ago
do u think its because i am hitting some kind of memory limit?
Brody
Brody2y ago
not ideal, but even after you get this fixed, whats gonna stop this from happening again?? depending on what you use redis for https://upstash.com/ might be a great replacement
JustJake
JustJake2y ago
Is it maxed at 500MB? If so that's definitely the free tier user limit
Want results from more Discord servers?
Add your server