Skip to content

ERROR [ExceptionsHandler] Reached the max retries per request limit (which is 20). #22

Description

@flazouh

Hi, I'm getting:

2024-10-12T12:25:40.950 app[287175df06e218] lhr [info] 323 2024-10-12 12:25:40.942 ERROR [ExceptionsHandler] Reached the max retries per request limit (which is 20). Refer to "maxRetriesPerRequest" option for details
# fly.toml app configuration file generated for fluent-redis on 2024-10-12T13:54:52+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'fluent-redis'
primary_region = 'lhr'

[build]
  image = 'flyio/redis:6.2.6'

[[mounts]]
  source = 'redis_server'
  destination = '/data'

[[services]]
  protocol = 'tcp'
  internal_port = 6379
  ports = []

[[vm]]
  size = 'shared-cpu-1x'

[[metrics]]
  port = 9091
  path = '/metrics'

I'm putting the following url in my main app:

redis://default:****@fluent-redis.internal:6379?family=6 as REDIS_URL

And I get these logs in my app on startup:

2024-10-12T12:22:30.767 app[d8dd673fed7d38] lhr [info] [fluent-backend] 323 2024-10-12 12:22:30.767 LOG [RedisModule] default: the connection was successfully established +0ms

From the import { RedisModule } from "@liaoliaots/nestjs-redis";

RedisModule.forRoot({
			readyLog: true,
			config: {
				url: process.env.REDIS_URL,
			},
		}),
		```
		
But when actually trying to queue something with bull, I get the 

```ts
2024-10-12T12:25:40.950 app[287175df06e218] lhr [info] [fluent-backend] 323 2024-10-12 12:25:40.942 ERROR [ExceptionsHandler] Reached the max retries per request limit (which is 20). Refer to "maxRetriesPerRequest" option for details

Thanks in advance for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions