Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with background jobs on heroku #18

Open
luigi20 opened this issue Jan 24, 2023 · 1 comment
Open

Problem with background jobs on heroku #18

luigi20 opened this issue Jan 24, 2023 · 1 comment

Comments

@luigi20
Copy link

luigi20 commented Jan 24, 2023

Hello guys. I'm trying to run this same example on heroku, but it's not working. It looks like heroku works differently for working with background jobs and they provide an example with nodejs https://devcenter.heroku.com/articles/node-redis-workers and https://github.com/heroku-examples/ node-workers-example, but I can't transport this to nestjs and also using redis. Does anyone please have a solution or an example I can use? I scoured the web and found nothing. In the end, the application ends up giving this error "maxRetriesPerRequestError: Reached the max retries per request limit (which is 20). Refer to "maxRetriesPerRequest" option for details"

@mmgroner
Copy link

Hey, @luigi20 this might be an issue with the Redis connection.
Did you add
tls: { rejectUnauthorized:false } into your Redis config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants