Skip to content

Commit 593f9c2

Browse files
authored
docs: disclaimer on MTUs on git clone error (#2627)
## Description Adds a simple disclaimer for anyone who hits the Docker clone error to view context at this issue: https://github.com/kurtosis-tech/kurtosis/pull/2627/files and if they want follow the suggestions made there (either pull package locally or attempt to adjust MTUs) ## Is this change user facing? YES ## References #2627
1 parent 0819b8c commit 593f9c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/server/api_container/server/startosis_engine/startosis_packages/git_package_content_provider/git_package_content_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ func (provider *GitPackageContentProvider) cloneWithRetries(parsedURL *shared_ut
465465
// We silence the underlying error here as it can be confusing to the user. For example, when there's a typo in
466466
// the repo name, pointing to a non existing repo, the underlying error is: "authentication required"
467467
logrus.Errorf("Error cloning git repository: '%s' to '%s'. Error was: \n%s", parsedURL.GetGitURL(), gitClonePath, err.Error())
468-
return nil, startosis_errors.NewInterpretationError("Error in cloning git repository '%s' to '%s'. Make sure that '%v' exists or if it's a private repository, that you are logged into GitHub via `kurtosis github login`.", parsedURL.GetGitURL(), gitClonePath, parsedURL.GetGitURL())
468+
return nil, startosis_errors.NewInterpretationError("Error in cloning git repository '%s' to '%s'. Make sure that '%v' exists or if it's a private repository, that you are logged into GitHub via `kurtosis github login`.\nIf this is NOT a private repo, there could be an issue with MTUs configured by Docker networks. Please refer to discussion and articles at this issue: https://github.com/kurtosis-tech/kurtosis/issues/2150", parsedURL.GetGitURL(), gitClonePath, parsedURL.GetGitURL())
469469
}
470470
return repo, nil
471471
}

0 commit comments

Comments
 (0)