Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting HTTP ERROR 404 with Jenkins

I am getting below error when trying to access jenkins pipeline url. I tried clearing the browser cache, tried different browsers etc but no luck. the same pipeline url works fine for other users but not for me. any ideas why it throwing 404 error for me? many thanks!

HTTP ERROR 404
Problem accessing /job/jenkins/job/test/. Reason:

    Not Found
Powered by Jetty:// 9.4.z-SNAPSHOT
like image 874
Deepak Prasad Avatar asked Mar 06 '18 06:03

Deepak Prasad


3 Answers

After loging in as an administrator, use the url http://localhost:8080.

It initially takes to the url that says jenkins in it's name, which will not work. The URL you want to access is http://localhost:8080

Also if you have a different port binded you can try to call the url as http://[ip]:[port]/jenkins

like image 184
BoskiJunior Avatar answered Nov 05 '22 21:11

BoskiJunior


If you get such error like it was mentioned above you should access through the URL "http://localhost:8081/jenkins/", but not only "http://localhost:8081". Btw my port is 8081 because of the circumstance that my 8080 port is already used. Have a good day!

like image 34
Vladislav Borsch Avatar answered Nov 05 '22 19:11

Vladislav Borsch


There can be probably one of these reasons :

  1. You do not have the access to the job.
  2. You do have access to the job but you are not logged in . Try to login to jenkins in another window and check remember me on this computer , then open that url.
  3. You are trying to access it from another server which is not whitelisted from the jenkins master server ,i.e it is not allowed access.

These are the best guesses I coud get .If these do not work then someone needs to manually check the url you are entering and other environment related issues themselves.

like image 22
Siddhant Mishra Avatar answered Nov 05 '22 20:11

Siddhant Mishra