Closed trevjonez closed 2 years ago
Well that's a bummer. Seems like a good FR, don't see why it should be configurable though. We should just use this http://googleapis.github.io/google-http-java-client/exponential-backoff.html
I ran into the same problem recently while uploading multiple whitelabel apps at once. It worked completely fine a month or two ago, but now for some reason it fails unless I upload one by one.
This will be available in the 4.0 snapshots in ~1 hour.
Problem description
We recently added internal app sharing uploads to our PR pipelines, and it seems that API likes to throw 502's way more often than I would have expected. Given that a rerun or two is usually all it takes to get a 200 OK, Would it be reasonable to add an off by default configurable retry mechanism? Probably just a delay time and max count.
Potential solutions/workarounds
Manual intervention :disappointed:
Additional context