How do I fix 'http.postbuffer': out of range issue for SourceTree 3.4.2 on Windows?

James Brascome
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!
April 27, 2022

I tried to fetch from my repo and I got this error. 

    $ git fetch
    fatal: bad numeric config value '9999999999' for 'http.postbuffer': out of range

I tried using this command to set postbuffer to something reasonable.

    $ git config --global http.postBuffer 1048576000

I did this to see if it worked.

    $ git config --get http.postBuffer
    1048576000

I also checked the global setting and saw this.

    $ git config --global --get http.postBuffer
    1048576000

I even looked at my c:\users\[account name]\.gitconfig file to check the value and saw this.

    [http]
    postBuffer = 1048576000

Then I tried fetching again and saw this.

    $ git fetch
    fatal: bad numeric config value '9999999999' for 'http.postbuffer': out of range

I also tried removing the http.postbuffer setting from c:\users\[account name]\.gitconfig. Then, I queried the value from the command line again. The value was still 1048576000. Then, I tried doing a fetch again. I got the same error and it reported that the value was still 9999999999. So, the .gitconfig file says the value is 0, the command line says that it is  1048576000 and the error message says that it is 9999999999!

Can someone tell me how to figure out where Git/SourceTree is looking for this setting and how I can fix this? 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events