LFS: Client error: failed to push some refs
Asked by Mahesh Khambadkone:

Hi,

We're suddenly getting errors pushing large files to our repo:

LFS: Client error: <https://api.media.atlassian.com/upload/20952505-f631-4477-954e-30b26928bb5d/binary?hashAlgorithm=sha256> from HTTP 413

error: failed to push some refs to '<https://yashpalGames2Win@bitbucket.org/games2win/drivingacademy.git>'

We have not changed anything at the proxy level.

The full logs follow :

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c  
diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree -c

lfs.customtransfer.bitbucket-media-api.path=/Applications/Sourcetree.app/Contents/Resources/git_local/git-  
lfs/git-lfs-bitbucket-media-api push -v --tags origin refs/heads/master:refs/heads/master

Pushing to https://yashpalGames2Win@bitbucket.org/games2win/drivingacademy.git  
Fatal error: Server error: <https://bitbucket.org/%7B%7D/%7B49a5546a-9563-43a6-8461->  
257b96092d79%7D/info/lfs/object/verify?upload_id=bca9405b-1caa-47bd-9a1c-d211f52a5aa9  
Errors logged to  
/Users/yashpal/Documents/Projects/DA1/Repsitory/DA1iOS_V3_3/.git/lfs/logs/20190813T195849.474495.log  
Use \`git lfs logs last\` to view the log.  
Fatal error: Server error: <https://bitbucket.org/%7B%7D/%7B49a5546a-9563-43a6-8461->  
257b96092d79%7D/info/lfs/object/verify?upload_id=cc0e99d0-7fe6-4cfe-8780-c6ab8ca332df  
Errors logged to  
/Users/yashpal/Documents/Projects/DA1/Repsitory/DA1iOS_V3_3/.git/lfs/logs/20190813T195849.478267.log  
Use \`git lfs logs last\` to view the log.  
Fatal error: Server error: <https://bitbucket.org/%7B%7D/%7B49a5546a-9563-43a6-8461->  
257b96092d79%7D/info/lfs/object/verify?upload_id=e87f9f0f-d5a2-420f-aa37-64a7d01c9adc  
Errors logged to  
/Users/yashpal/Documents/Projects/DA1/Repsitory/DA1iOS_V3_3/.git/lfs/logs/20190813T195849.479803.log  
Use \`git lfs logs last\` to view the log.  
Fatal error: Server error: <https://bitbucket.org/%7B%7D/%7B49a5546a-9563-43a6-8461->  
257b96092d79%7D/info/lfs/object/verify?upload_id=a4568770-3e1a-4cb7-b2d9-a6ac3c9baa93  
Errors logged to  
/Users/yashpal/Documents/Projects/DA1/Repsitory/DA1iOS_V3_3/.git/lfs/logs/20190813T195849.48119.log  
Use \`git lfs logs last\` to view the log.  
Fatal error: Server error: <https://bitbucket.org/%7B%7D/%7B49a5546a-9563-43a6-8461->  
257b96092d79%7D/info/lfs/object/verify?upload_id=cf5eaa74-aaa0-45de-a8e5-4481c7bb91fc  
Errors logged to  
/Users/yashpal/Documents/Projects/DA1/Repsitory/DA1iOS_V3_3/.git/lfs/logs/20190813T195849.482229.log  
Use \`git lfs logs last\` to view the log.  
LFS: Client error: <https://api.media.atlassian.com/upload/d06720f9-887b-4c38-88d5-c7e8eb69edb3/binary>?  
hashAlgorithm=sha256 from HTTP 413  
Uploading LFS objects: 0% (0/6), 363 KB \| 33 KB/s, done  
error: failed to push some refs to  
'https://yashpalGames2Win@bitbucket.org/games2win/drivingacademy.git'  
Completed with errors, see above


Answers:
author: Bryant Cannon [Legacy Night School]
body: Same here, as of last night. We had two separate team members run into the same issue:

|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ``` $ git push                                                                                                                                        Enter passphrase for key '/c/Users/nightschoolstudio/.ssh/id_rsa':                                                                                Uploading LFS objects:   0% (0/3), 0 B | 486 KB/s, done                                                                                           LFS: Client error: https://api.media.atlassian.com/upload/9f73f759-558e-4c4c-baef-a4d9b7cf24e4/binary?hashAlgorithm=sha256 from HTTP 413          LFS: Client error: https://api.media.atlassian.com/upload/e0fc0bb9-354b-4fce-9fe5-74cb27d7f1ab/binary?hashAlgorithm=sha256 from HTTP 413          LFS: Client error: https://api.media.atlassian.com/upload/d59f6629-2314-4825-9b6e-98ad97bbbccf/binary?hashAlgorithm=sha256 from HTTP 413          error: failed to push some refs to 'git@bitbucket.org:nightschoolstudio/bar.git' ``` |

This makes me think that this is a server issue and that Atlassian changed something bad:

<https://confluence.atlassian.com/bitbucketserverkb/git-lfs-fails-with-error-failed-to-push-some-refs-to-802591026.html>

comments: author: Bryant Cannon [Legacy Night School]
body: Looks like they know about it now: <https://bitbucket.status.atlassian.com/incidents/l18p4qy90hbl>