There are upcoming maintenance events which may impact our services. Learn more

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

  • 1

Problem Description

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/ 

Was this answer helpful?

← Back