Response status code does not indicate success: 401 (Unauthorized)

735 views
Skip to first unread message

Sandeep Grandham

unread,
May 1, 2017, 7:47:26 AM5/1/17
to Jenkins Users
Hi..
I am configured one project in jenkins, and source code is there in Bitbucket and packages are there in Nexus.
while i triggered build i am getting Response status code does not indicate success: 401 (Unauthorized) issue,
but same thing if i build from command prompt, its working fine, if it is in authentication issue while i build from my local also it have to fail, but its working fine there.
but jenkins only it showing this issue, same build its work fine 2 days back, but now only i am getting error.
Any suggetions tp resolve this issue.


Thanks,
sandeep

Mark Waite

unread,
May 1, 2017, 8:52:52 AM5/1/17
to Jenkins Users
You say that you're getting a response status code 401, but you don't say what is returning that response status code.  Are you checking the job status with a call to the Jenkins REST API, and it is returning 401?  Is the job attempting to push to Nexus and that is reporting 401?  Is the job a maven job trying to pull from some form of authenticated server, and that is returning a 401?

Since it worked fine two days ago, it is likely best to investigate what changed since two days ago.  Did a password change on some system?  Did a configuration change somewhere?

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1f1350c9-76e3-43a1-9977-4ebfee83e2dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages