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://user@example.com/plesk-git/example.git/' -
Preferred domain at Domains > example.com > Hosting settings is set to "www"
-
Following messages can be found in domain access log
203.0.113.2 - - [31/May/2018:16:25:55 +0200] "GET /plesk-git/example.git/info/refs?service=git-upload-pack HTTP/1.1" 301 3927 "-" "git/1.8.3.1"
203.0.113.2 - - [31/May/2018:16:25:58 +0200] "GET /plesk-git/example.git/info/refs?service=git-upload-pack HTTP/1.1" 401 4932 "-" "git/1.8.3.1"
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.
Comments
0 comments
Please sign in to leave a comment.