Error "git-upload-pack not found in <script> at line number 4" While Configuring GitHub Repository in XLR Shared Configuration

Follow

Shashank Srivastava -

Issue

Under XLR Shared configuration, we can add a GitHub repository. If the URL to the repository is incorrectly specified, we will see an "git-upload-pack not found in <script> at line number 4" error in XLR logs.

Environment

Xl Release

Resolution

To fix this error, make sure the URL to the GitHub repository is correct & there are no typos.

Cause

XLR's git client tries to locate the GitHub repository specified in Shared configuration & if that repository is either unreachable or incorrect, we receive this error.

Additional Information

Below logs appear in XLR logging.

com.xebialabs.platform.script.jython.JythonException: Error while executing script [jython-expression]: org.eclipse.jgit.api.errors.TransportException: org.eclipse.jgit.api.errors.TransportException: https://github.com/user/: https://github.com/user/info/refs?service=git-upload-pack not found in <script> at line number 4
Tags

xlr, github, shared configuration

Have more questions? Submit a request
Powered by Zendesk