Problem
When setting up Git folders, you encounter an issue syncing or cloning your Git repo. You may see an error message.
“Error creating repo, Remote repo not found”
Cause
Databricks Git folder functionality operates from the Databricks control plane. When you link a Git repository, the control plane needs to establish an outbound connection to your Git server to clone, pull, and push changes.
If your Git server's firewall or IP allowlist doesn't recognize the IP address originating from the Databricks control plane, it will block the connection attempt, preventing Git folders from syncing.
Solution
- Identify your Databricks workspace region.
- Navigate to the IP addresses and domains for Databricks services and assets (AWS | Azure | GCP) documentation. (Select your cloud provider from the provided links.)
- Navigate to the “Outbound IPs from Databricks control plane” section of the documentation.
- Find the row for your Databricks region.
- Add the listed IP addresses to your IP allowlist configuration on your Git server. Consult your Git server's documentation (such as GitHub Enterprise, GitLab, or other) for instructions on how to manage IP allowlists.
Note
Remember to keep this list updated if Databricks announces changes to their outbound IPs for your region.