Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to the jenkins #231

Open
sumathjairaj opened this issue Apr 19, 2017 · 1 comment
Open

Unable to connect to the jenkins #231

sumathjairaj opened this issue Apr 19, 2017 · 1 comment

Comments

@sumathjairaj
Copy link

I am passing giving valid credentials still I am getting
JenkinsApi::Exceptions::Unauthorized: Invalid credentials are provided.

I, [2017-04-19T16:02:10.835361 #30632] INFO -- : Building job 'test_job'
F, [2017-04-19T16:02:12.409195 #30632] FATAL -- : JenkinsApi::Exceptions::Unauthorized: Invalid credentials are provided.
/Users/sj050948/.rvm/gems/ruby-2.3.3/gems/jenkins_api_client-1.5.3/lib/jenkins_api_client/client.rb:782:in handle_exception': Invalid credentials are provided. (JenkinsApi::Exceptions::Unauthorized) from /Users/sj050948/.rvm/gems/ruby-2.3.3/gems/jenkins_api_client-1.5.3/lib/jenkins_api_client/client.rb:377:in api_get_request'
from /Users/sj050948/.rvm/gems/ruby-2.3.3/gems/jenkins_api_client-1.5.3/lib/jenkins_api_client/client.rb:513:in use_crumbs?' from /Users/sj050948/.rvm/gems/ruby-2.3.3/gems/jenkins_api_client-1.5.3/lib/jenkins_api_client/client.rb:682:in refresh_crumbs'
from /Users/sj050948/.rvm/gems/ruby-2.3.3/gems/jenkins_api_client-1.5.3/lib/jenkins_api_client/client.rb:393:in api_post_request' from /Users/sj050948/.rvm/gems/ruby-2.3.3/gems/jenkins_api_client-1.5.3/lib/jenkins_api_client/job.rb:854:in build'

@katelovescode
Copy link
Contributor

Can you provide me with a little more information about your environment and how you're accessing Jenkins (through IRB or via the gem installation in your app, etc)? If I don't hear back in a month I'll close this as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants