0xArc ⚡
0xArc ⚡
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
All seems good brod-a
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
@Brody did not see any errors and server didnt crash Can i keep this thread up till I confirm by testing a few stuff around the server
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
will try and let you know
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
the cache manager redis store package is outdated, but i remember vaguely that we have it that since certain feature with nestjs was not working but let me try updating it to experiment
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
"cache-manager": "^4",
"cache-manager-redis-store": "2.0.0",
"cache-manager": "^4",
"cache-manager-redis-store": "2.0.0",
only these are relevant libraries for using redis
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
replaced by this
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
unused library
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
"redisStore" is from this
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
no its not
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
CacheModule.registerAsync({
isGlobal: true,
imports: [ConfigModule],
inject: [ConfigService],
useFactory: (configService: ConfigService) => ({
family: 0,
store: redisStore,
url: configService.get('REDIS_URL'),
password: configService.get('REDIS_PASSWORD'),
username: configService.get('REDIS_USERNAME'),
ttl: 5,
}),
}),
CacheModule.registerAsync({
isGlobal: true,
imports: [ConfigModule],
inject: [ConfigService],
useFactory: (configService: ConfigService) => ({
family: 0,
store: redisStore,
url: configService.get('REDIS_URL'),
password: configService.get('REDIS_PASSWORD'),
username: configService.get('REDIS_USERNAME'),
ttl: 5,
}),
}),
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
just pushed, building now
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
thought the project id linked to pr
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
sorry, my bad
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
under pr-47
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
copied id from browser
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
Yeah
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
had referenced it from here
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
No description
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
oh i see, so this url is invalid?
47 replies
RRailway
Created by 0xArc ⚡ on 8/14/2024 in #✋|help
Nestjs <> Redis Unable to connect to redis using private network url
redis://[username]:[password]@redis-awln.railway.internal:6379?family=0
47 replies