Symptoms
-
Unable to clone git repository with link shown in the git repository URL, following error occurs:
# git clone https://user@example.com/plesk-git/example.git
Cloning into 'example'...
Password for 'https://user@example.com':
fatal: Authentication failed for 'https://[email protected]/plesk-git/example.git/' -
Preferred domain at Domains > example.com > Hosting settings is set to "www"
Cause
Plesk bug with ID PPPM-8689.
Resolution
-
Connect to the server via SSH.
-
Access repository extending the domain name with
www
in the URL:# git clone https://user@www.example.com/plesk-git/example.git
Note: Use subscription user to authorize with git repository.