-
Notifications
You must be signed in to change notification settings - Fork 16
supply crashed while uploading a new apk #59
Comments
Thank for reporting. Adding full stacktrack -
|
The google api client 0.9 handles timeouts and large files in a different way. See googleapis/google-api-ruby-client#289 How big is your APK? |
I found the same problem. My APK is about 40mb. |
@peleteiro I'll enable debugging to see if this is there's more info. We could try something like that: https://developers.google.com/api-client-library/ruby/guide/media_upload but it looks from the stack that it was already retrying. Also note this issue: https://issues.jenkins-ci.org/browse/JENKINS-31204 |
+1. app = 16 mb |
I had the crash while uploading screenshots (approx 1 MB per screenshot, after about 20 files) |
it is ok now.
|
Still continue the same error for me. Stracktrace: 9dd8599c9d09d13c17eb30fa66a4c794 |
Same here.
|
FWIW, using the |
@josefdlange @avishayil @ikermart those errors are most probably transient communication errors. The fact that it appears to work if you try again, or in a different context (e.g. CLI) isn't a sign that the problem isn't there. We did some work on the Apple set of tools to reduce these issues, we will most probably have to do something similar here. In the mean time, the best solution is probably to try again later. |
Does |
@josefdlange not that I know of. But you can easily implement a generic retry mechanism:
note: the script was updated to fix the display of the counter. |
Attached is a simple patch to use retries and increased connection timeouts. I completely missed that. Taken from https://github.com/google/google-api-ruby-client/blob/ee962bab45e91774186fa339b9224b063e96de51/README.md#errors--retries Test on my upload that failed on a slower connection. |
Improve stability while uploading (#59) Timeout to 300s, retries to 5
This should be fixed with supply 0.5.1 👍 If you still run into issues with the latest version please open a new issue with terminal output. Include |
This issue was migrated to fastlane/fastlane#3381. Please post all further comments there.
|
After updating to 0.4, supply crashed
Number: 3397b552472248388b3b01576a42100e
Used the json_key flag to upload the apk.
The text was updated successfully, but these errors were encountered: