Issue
When attempting to link Source Control to a Git repository, the following error appears: "The operation encountered an unexpected error. Check the node log file." When checking the node logs, this exception is seen:
SEVERE *** ERROR *** Error occurred while exporting application
com.glide.sourcecontrol.SourceControlException: org.eclipse.jgit.api.errors.TransportException: http://12.34.567.890/example.git:
insufficient data written
Release
All Supported Releases
Cause
This usually occurs when attempting to link to a self-hosted repository on a local server in your network. If the firewall is not configured correctly, communication from the ServiceNow servers will be blocked, and your repository will be unreachable.
Resolution
Your server has to be reachable by the internet. Otherwise, you will need to work with ServiceNow to set up a proxy. Alternatively, you can opt for a secure hosted repository from services like GitHub, GitLab, or BitBucket.