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

:enable_retry config option causes all requests to fail #77

Open
brucek opened this issue Mar 30, 2024 · 0 comments
Open

:enable_retry config option causes all requests to fail #77

brucek opened this issue Mar 30, 2024 · 0 comments

Comments

@brucek
Copy link

brucek commented Mar 30, 2024

With enable_retry: false, things are good

Once I enable it, I always get this error:

/usr/local/bundle/gems/novu-1.3.0/lib/novu/api/connection.rb:54:in `request': Max retry attempts reached (StandardError)
	from /usr/local/bundle/gems/novu-1.3.0/lib/novu/api/connection.rb:51:in `block in request'
	from /usr/local/bundle/gems/exponential-backoff-0.0.4/lib/exponential_backoff.rb:50:in `yield'
	from /usr/local/bundle/gems/exponential-backoff-0.0.4/lib/exponential_backoff.rb:50:in `block (2 levels) in intervals'
	from <internal:kernel>:187:in `loop'
	from /usr/local/bundle/gems/exponential-backoff-0.0.4/lib/exponential_backoff.rb:49:in `block in intervals'
	from /usr/local/bundle/gems/novu-1.3.0/lib/novu/api/connection.rb:49:in `each'
	from /usr/local/bundle/gems/novu-1.3.0/lib/novu/api/connection.rb:49:in `each'
	from /usr/local/bundle/gems/novu-1.3.0/lib/novu/api/connection.rb:49:in `request'
	from /usr/local/bundle/gems/novu-1.3.0/lib/novu/api/connection.rb:51:in `block in request'
	from /usr/local/bundle/gems/exponential-backoff-0.0.4/lib/exponential_backoff.rb:50:in `yield'
	from /usr/local/bundle/gems/exponential-backoff-0.0.4/lib/exponential_backoff.rb:50:in `block (2 levels) in intervals'
	from <internal:kernel>:187:in `loop'
	from /usr/local/bundle/gems/exponential-backoff-0.0.4/lib/exponential_backoff.rb:49:in `block in intervals'
	from /usr/local/bundle/gems/novu-1.3.0/lib/novu/api/connection.rb:49:in `each'
	from /usr/local/bundle/gems/novu-1.3.0/lib/novu/api/connection.rb:49:in `each'
	from /usr/local/bundle/gems/novu-1.3.0/lib/novu/api/connection.rb:49:in `request'
	... 30 levels...
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

1 participant