There was a problem loading the comments.

You receive a fatal error while deploying from git repo with Plesk

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Plesk indicates one or all of the following errors when attempting to connect to your GitHub repo:

  • remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/{username}/repo.git/'
  • ERROR: Repository not found. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

Resolution

  1. The most obvious first solution is to ensure you actually do have the right username and password entered to connect to the private repository
  2. Next, check to ensure you've configured Plesk to use SSH connectivity  mode -- this is required for private repositories
  3. Finally, ensure that you do not have ".git" at the end of the repo name like the above error shows. Remove the ".git" so the ending looks like /repo/ 

Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

CAPTCHA

On-Premise Help Desk Software by SupportPal
© Support Portal - WP Lighthost