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

getting (ConnectionError, HTTPError) and no retries #54

Open
salihboshnak opened this issue Feb 25, 2023 · 2 comments
Open

getting (ConnectionError, HTTPError) and no retries #54

salihboshnak opened this issue Feb 25, 2023 · 2 comments

Comments

@salihboshnak
Copy link

Hi there

i am using this library to send notification to my clients
sometimes i get the following error

except (ConnectionError, HTTPError) as exc:
    # Encountered some Connection or HTTP error - retry a few times in
    # case it is transient.
    rollbar.report_exc_info(
        extra_data={'token': token, 'message': message, 'extra': extra})
    raise self.retry(exc=exc)

but AFAIU in this case there should be retires

but my clients claim they did not get the notification at all

can you please help finding a way to do retries

@julianpacker
Copy link
Collaborator

I can't say for sure, but I left a comment in my code about a year ago saying
"this usually happens because we are making too many requests from the same IP"

and then I waited 5 seconds before trying again.

Hopefully that helps

@julianpacker
Copy link
Collaborator

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