Error Jenkins: Failed to connect to repository

0 votes
I'm unable to connect Jenkins on a github repo.

When I specify the repository URL, Jenkins returns the following error message:

Failed to connect to repository : Failed to connect to //Zulaikha12/git-test.git (status = 407)
Jul 6, 2018 in Jenkins by Zulaikha
• 160 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

This happens when you create the ssh files with the root user access. This makes root the owner of the files.

The solution is to just change the ownership to the Jenkins user.

chown jenkins 
chown jenkins id_rsa
answered Jul 6, 2018 by Sophie may
• 9,050 points

Related Questions In Jenkins

0 votes
1 answer
0 votes
1 answer

Error while talking to remote Oracle DB using Jenkins-CI

I installed Oracle XE to talk to ...READ MORE

answered May 1, 2018 in Jenkins by shubham
• 6,480 points
0 votes
1 answer

Jenkins failed to set git

Change to the jenkins user and run the command ...READ MORE

answered Jul 19, 2018 in Jenkins by Kalgi
• 2,620 points
+13 votes
2 answers
0 votes
1 answer
0 votes
5 answers

How to resolve this error “Jenkins Host key verification failed”?

HI Mam, Please check the following solution:: 1. Switch ...READ MORE

answered May 3 in Jenkins by anonymous
0 votes
2 answers

How to solve this error “Jenkins - j_acegi_security_check” ?

This is how I resolved this issue: # ...READ MORE

answered Aug 13, 2018 in Jenkins by lina
• 8,100 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.