-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Consider to provide SENTRY_HTTP_RETRY_DELAY #2165
Comments
@ganadist how exactly would being able to configure the retry delay help in your situation? I believe we already have an exponential backoff for retries |
In my case, mapping.txt file size is about 800Mb or larger and retry value is set as 25. (I heard that retry value would be enough when it is 10 from Sentry engineer) And when try again to perform And duration to perform It looks max backoff value is 5sec only in sentry-cli. Is it possible to provide increased backoff value on sentry cli? |
Currently this is not possible, but we could add this feature. However, to be clear, the retry occurs after the upload has already failed. So, even though it takes 3-4 minutes to perform the upload, we would still wait 5 seconds after the failure to retry with the current max retry value. We would not retry already 5 seconds after starting the upload. So, I am unsure whether this would fix your problem. Perhaps, you could try adding a manual retry to your script? Or is the Sentry CLI being called by the Sentry Gradle plugin? |
I have an issue which is related with uploading
mapping.txt
file,And reported it at getsentry/sentry-android-gradle-plugin#764
Then, I got answer that
SENTRY_HTTP_MAX_RETRIES
env would solve my problem.After I set
SENTRY_HTTP_MAX_RETRIES=25
, but I got same issue.In my experience, when perform
:app:uploadSentryProguardMappingsRelease
task multiple in this case, upload task can be succeeded.The difference with increasing the SENTRY_HTTP_MAX_RETRIES value is that it takes quite a bit of time to perform the gradle task.
In sentry-cli upload, if you can give the upload retry a time interval, I think it will provide a similar effect.
The text was updated successfully, but these errors were encountered: