Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http.postBuffer size issue #110

Open
ramesh-patel opened this issue Sep 24, 2021 · 1 comment
Open

http.postBuffer size issue #110

ramesh-patel opened this issue Sep 24, 2021 · 1 comment
Labels
needs more info More information is needed

Comments

@ramesh-patel
Copy link

Environment Details

Agent : ubuntu-latest

Description

Failing mirroring pipeline due to http.postBuffer size , Can you please increase default size or provide size as a parameter so we can set this parameter accordingly.

Log Output

Starting: user-service - Mirror

Task : Mirror Git Repository
Description : A straightforward utility to mirror one Git repository to another location
Version : 1.1.12
Author : Swellaby
Help : More Information

/usr/bin/git -c http.sslVerify=true clone --mirror https://@my-vsts.visualstudio.com/DefaultCollection/xxxx-project/_git/repo_name.git
Cloning into bare repository 'repo_name.git'...
/usr/bin/git -c http.sslVerify=true -C repo_name.git push --mirror https://
@github.xxxxx.com/xxxx-project/repo_name.git
error: unable to rewind rpc post data - try increasing http.postBuffer
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date
##[error]Error: The process '/usr/bin/git' failed with exit code 1
Finishing: user-service - Mirror

@calebcartwright
Copy link
Member

Thanks for reaching out

Are you able to reproduce this consistently or was it a transient occurrence?
Does globally setting the post buffer to an increased size in a preceding step resolve the issue?

@calebcartwright calebcartwright added the needs more info More information is needed label Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info More information is needed
Projects
None yet
Development

No branches or pull requests

2 participants