Hi all, I'm generally new to Nest and the Node backend.
Right now, I'm having trouble running bull - there seems to be no connection to Redis. The bull-monitor also spins the spinner endlessly on startup.
Using Redis on Upstash, connection via cli works successfully.
I don't want to dump big chunks of code here, but what could I share as an example?
For example, here is the root module:
@Module({
imports: [
ConfigModule.forRoot({
isGlobal: true,
cache: true,
load: [appConfig],
}),
BullModule.forRootAsync({
inject: [ConfigService],
useFactory: async (appConfig: ConfigService) => {
console.log(appConfig.get('redisUrl'));
return {
url: appConfig.get('redisUrl'),
};
},
}),
BullMonitorModule,
],
})
The strange thing is that no matter what props I specify to connect, I never get an error from bull. Is there some debug mode, maybe?