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
• 760 points
394 views

1 answer to this question.

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 id_rsa.pub 
chown jenkins id_rsa
answered Jul 6, 2018 by Sophie may
• 9,430 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,870 points
205 views
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
137 views
+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
3,442 views
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
807 views