vsts-mirror-git-repository
vsts-mirror-git-repository copied to clipboard
http.postBuffer size issue
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
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?