error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503 Service Unavailable

Hello,

I'm trying to push large repository into Bitbucket and it's giving me below error. could you please help me to resolve this issue. we are in final stage of migrating our SVN projects into Git. 

krishan@krishan-VirtualBox:~/GitMigration/ngp_fo_oms_core_egypt$ git push --all
Password for 'https://h_krishan@bitbucket.org':
Counting objects: 291319, done.
Compressing objects: 100% (99442/99442), done.
Writing objects: 100% (291319/291319), 37.45 MiB | 0 bytes/s, done.
Total 291319 (delta 112184), reused 290868 (delta 111736)
error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503 Service Unavailable
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

I have tried by increasing the buffer size to the largest individual file size of my repository as below. but issue is still there.

git config --global http.postBuffer 524288000

Thank you.

 

2 answers

1 accepted

This widget could not be displayed.

Hello,

What you get it could be related to the proxy_read_timeout of nginx (or any other similar configuration of the proxy in front of Bitbucket). Since you're uploading a large repository BB takes a while to create the pack file on the server without notifying the client. The proxy will close the connection after the timeout but normally you should find what had been uploaded on the server. If it's the case you should open a ticket to the support team to increase this timeout.

Hope it helps.

Cheers,
Ahmed.

This widget could not be displayed.

Yes even though i get the above error, i can see some of my data had uploaded in the server.

I will create a ticket to extend the proxy time out period.

Thanks.  

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,199 views 8 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you