Random git LFS errors

Unity Cloud Build will fail to build our project around 20-30% of the time due to git LFS errors listed below. Trying again it will often build correctly (without any changes to the noted files having been made). Is it possible to make the build process a bit more resilient to network errors, e.g. increase retries? Thanks.

Error downloading object: XXX.jpg (XXX)
Errors logged to /BUILD_PATH/XXX.log
Error downloading object: XXX.jpg (XXX)
Smudge error: Error downloading XXX: batch response: Fatal error: Server error: https://bitbucket.org/XXX/info/lfs/objects/batch from HTTP 502: batch response: Fatal error: Server error: https://bitbucket.org/XXX/info/lfs/objects/batch from HTTP 502

or

Smudge error: Error downloading XXX: batch response: http: Post /account/signin/?next=/account/signin/%3Fnext%3D/account/signin/%253FnextXXX/info/lfs/objects/batch: stopped after 3 redirects: batch response: http: Post /account/signin/?next=/account/signin/%3Fnext%3D/account/signin/%253FnexXXX/info/lfs/objects/batch: stopped after 3 redirects

or

Smudge error: Error buffering media file: http: Get https://media-api.atlassian.io/file/XXX/binary: dial tcp: lookup media-api.atlassian.io: no such host:

Hello,

Please PM me a link to your project :slight_smile:

  • Sophia

Done, thanks!