Symptoms
When attempting to clone or update a repository from the Git Version Control feature in the cPanel UI, you may see an error similar to the following:
CPANEL_ERROR: The system cannot update information for the repository at "/home/username/repository-name" because it cannot access the remote repository.
When attempting a Git Version Control command via the API, you may see an error similar to the following:
CONFIG_TEXT: The system aborted the subprocess “/usr/local/cpanel/3rdparty/bin/git” (process ID “xxxx”) because it reached the timeout of 5 seconds. at /usr/local/cpanel/Cpanel/VersionControl/git.pm line 845.
Cause
cPanel's Git Version Control feature hardcodes a 5-second timeout for git commands such as git clone, etc. Some repositories may take much longer than 5 seconds to complete a task, in which case the git command is killed after 5 seconds, and the task cannot be completed.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-39688. Follow this article to receive an email notification when a solution is published in the product.
Resolution
There are no known workarounds for this issue at this time.
Comments
0 comments
Article is closed for comments.