Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Git push fails with HTTP 503 (curl 22) – RPC failed / remote disconnect

SUJAY KANOLKAR
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2025


I am experiencing repeated errors when pushing commits to my Bitbucket repository. The push fails with the following messages:
```
error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date
```
Error occurs consistently when running `git push` for even 2 files/changes i already used following which worked for few pushed in past week but now this i snot resolving the issue.

```

git config --global http <dot> post Buffer 524288000

git config --global pack <dot> window Memory "100m"
git config --global pack <dot> pack Size Limit "100m"
git config --global pack <dot> threads "1"

git config --global core <dot> compression 0

 ```

 

 

 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 19, 2025

Hi @SUJAY KANOLKAR 

This is a general connection issue error either related to git config or network problems. Can you try increasing the timeout limit and increasing compression?



git config --global http.timeout 300
git config --local core.compression 3

I'd also suggest switching the network you're using, disabling any VPN you may be using and taking a look at firewall/AV configurations.

Cheers!

- Ben (Bitbucket Cloud Support)

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events