Hello! Digging in to all the things and having trouble cloning a project. It says “Connection Error: Project Clone Failed: Please verify the repository url, your permissions and credentials if the repository is private.”
The repository is private but it is within my space and my user is correctly configured. I also removed the GitHub integration and re-added it.
Now I’m running into another issue, which is that the path already exists when I try a second time, so I’m not sure I can even troubleshoot or try fixes.
Please tick the appropriate box to help us categorize your post
Bug or Error
Feature Request
Documentation Issue
Other
This post describes two issues. Clarifying here because it’s too late to edit my original post.
FIRST ISSUE (this thread, resolved here): Path already exists when I try a second time to download the problematic repo.
We’ve identified that this is related to the partially-downloaded repo not being cleaned up. It seems likely that this could have been a timing issue. E.g., the attempt to re-download failed because the first download was still in the process of being deleted.
Above response from @twhitehouse is helpful to cleanup partially downloaded repos on disk and make sure that there isn’t anything lingering.
Not sure where/why/how it being out of spec would cause the clone to fail, but with limited insight into the git operations and clone otherwise confidently working outside of Workbench I could see the possibility that Workbench is rejecting the repo after a successful clone, but reporting a misleading connection error. Seems less likely to be network in this case, especially since we’ve now confirmed from multiple locations/environments/etc.