Issues with UiPath Studio not able to connect to GitHub.
Issues with UiPath Studio not able to connect to GitHub.
Error Message: 23.10.0+Branch.master.Sha.e038c5a32a4f890ba12a3c04ac465dc8811521e0
Unable to clone from the given repository. Please make sure that the remote is available and try again.
GIT: UiPath.Studio.Contracts.RecoverableException: Unable to clone from the given repository. Please make sure that the remote is available and try again.
---> LibGit2Sharp.LibGit2SharpException: failed to parse supported auth schemes: The operation identifier is not valid.
Ensure that these below mentioned things are followed,
- If the organization uses a firewall or a proxy server, it may be blocking the connection to GitHub. Check with the IT department to make sure that the necessary ports and domains are whitelisted
- Ensure to use the correct URL for the enterprise GitHub instance. It should be in the format: https://github.yourcompany.com
- In some cases, GitHub may require to use a personal access token instead of a password for authentication. Generate a personal access token in the GitHub account settings and use it in UiPath Studio
- Ensure to use a version of UiPath Studio that is compatible with the GitHub Enterprise version. Check for any updates or patches that may resolve compatibility issues
- Double-check the permissions on the repository in GitHub. At least read access is required to clone the repository. To push changes, write access is required.
Steps to resolve the below error messages:
- For Using Sign in with GitHub:
Based on the error message, it seems like UiPath Studio is unable to clone from the specified repository. This can be due to several reasons:
- Incorrect repository link: Check if correct repository URL is presented, and see if is possible to manually connect and clone from it.
- Authentication failure: The error message failed to parse supported AUTH schemes: The operation identifier is not valid, suggests that there might be some issue with your authentication process. Please check if your GitHub account is correctly linked and has the proper permissions to clone the repository.
- Network connectivity issue: Ensure the machine has a proper internet connection and is able to connect to the GitHub server. Firewall or proxy settings might be blocking the connection.
- Using Username/Password
- For Username and Password: This error essentially means that UiPath Studio is having issues cloning from the specified Git repository. If you are using a username/password for authentication, here are a few things you should check:
- Authentication Details: Make sure the username and password you have provided are correct.
- Two Factor Authentication: If two factor authentication is enabled for your GitHub account, you will not be able to clone the repository using just the username and password. You will need to use a Personal Access Token instead.
- Permissions: Ensure that your GitHub user account has the necessary permissions to clone the repository.
- Repository URL: Make sure that the repository URL is correct and the repository is accessible.
- Network Connection: Ensure that your network connection is stable, and if you are behind a corporate firewall, check that it is not blocking the connection to GitHub.
- Personal Access Token
- For Personal Access Token: The error message indicates that there is an issue with cloning from the repository, possibly due to issues with authentication, the repository URL or network connectivity.
If you're using Personal Access Tokens (PATs) for authentication, ensure that:
- Your PAT is correct: Double-check the token you have entered and make sure it's accurate.
- Scope of PAT: Ensure that the PAT you generated has the correct permissions to access and clone the repository.
- The PAT hasn’t expired: PATs have an expiration date, they need to be regenerated upon expiry.
If these aspects are correct, follow the previously mentioned steps: confirming the repository URL, checking your network connectivity, and ensuring there aren't any issues with your UiPath Studio installation.