[JIRA] (JENKINS-49485) jenkin crashes with {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}

2018-02-16 Thread jpe...@veritone.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Perez commented on  JENKINS-49485  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: jenkin crashes with {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}   
 

  
 
 
 
 

 
 I am not using GitHub Enterprise.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-49485) jenkin crashes with {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}

2018-02-14 Thread jpe...@veritone.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Perez commented on  JENKINS-49485  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: jenkin crashes with {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}   
 

  
 
 
 
 

 
 yes, and noticed from jenkins server if I try `curl 'https://api.github.com/?client_id=_secret=' it works so confirming I can communicate using the given client ID and secret.  I really would appreciate some help resolving this. I cannot go the route of using SSH keys because I have dozens of repos in my guthub org and managing all the different SSH keys (one per repo) is not practical.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-49485) jenkin crashes with {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}

2018-02-12 Thread jpe...@veritone.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Perez reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 I changed "OAuth Scope(s)" to "read:org, user:email, repo" as you suggested and getting same java dump...   java.io.FileNotFoundException: https://api.github.com/user at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:243) at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210) at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25) at org.kohsuke.github.Requester.parse(Requester.java:612) at org.kohsuke.github.Requester.parse(Requester.java:594) at org.kohsuke.github.Requester._to(Requester.java:272) Caused: org.kohsuke.github.GHFileNotFoundException: {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"} at org.kohsuke.github.Requester.handleApiError(Requester.java:686) at org.kohsuke.github.Requester._to(Requester.java:293) at org.kohsuke.github.Requester.to(Requester.java:234) at org.kohsuke.github.GitHub.getMyself(GitHub.java:384) at org.kohsuke.github.GitHub.(GitHub.java:158) at org.kohsuke.github.GitHubBuilder.build(GitHubBuilder.java:207) at org.jenkinsci.plugins.GithubAuthenticationToken.getGitHub(GithubAuthenticationToken.java:211) at org.jenkinsci.plugins.GithubAuthenticationToken.(GithubAuthenticationToken.java:126) at org.jenkinsci.plugins.GithubSecurityRealm$1.authenticate(GithubSecurityRealm.java:478) Caused: java.lang.RuntimeException at org.jenkinsci.plugins.GithubSecurityRealm$1.authenticate(GithubSecurityRealm.java:482)   Is there any other logs or places we can look for more clues? Thanks, Jesse  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-49485  
 
 
  jenkin crashes with {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}   
 

  
 
 
 
 

 
Change By: 
 Jesse Perez  
 
 
Resolution: 
 Cannot Reproduce  
 
 
Status: 
 Resolved Reopened  
 

  
 
 
 
 

 
 
 

 
 

[JIRA] (JENKINS-49485) jenkin crashes with {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}

2018-02-10 Thread jpe...@veritone.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Perez updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49485  
 
 
  jenkin crashes with {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}   
 

  
 
 
 
 

 
Change By: 
 Jesse Perez  
 

  
 
 
 
 

 
 I have been trying to get github authentication plugin working but keep getting following java dump...java.io.FileNotFoundException:  [  https://api.github.com/user ]  at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:243) at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210) at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25) at org.kohsuke.github.Requester.parse(Requester.java:612) at org.kohsuke.github.Requester.parse(Requester.java:594) at org.kohsuke.github.Requester._to(Requester.java:272) Caused: org.kohsuke.github.GHFileNotFoundException: \{"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"} at org.kohsuke.github.Requester.handleApiError(Requester.java:686) at org.kohsuke.github.Requester._to(Requester.java:293) at org.kohsuke.github.Requester.to(Requester.java:234) at org.kohsuke.github.GitHub.getMyself(GitHub.java:384) at org.kohsuke.github.GitHub.(GitHub.java:158) at org.kohsuke.github.GitHubBuilder.build(GitHubBuilder.java:207) at org.jenkinsci.plugins.GithubAuthenticationToken.getGitHub(GithubAuthenticationToken.java:211) at org.jenkinsci.plugins.GithubAuthenticationToken.(GithubAuthenticationToken.java:126) at org.jenkinsci.plugins.GithubSecurityRealm$1.authenticate(GithubSecurityRealm.java:478) Caused: java.lang.RuntimeException at org.jenkinsci.plugins.GithubSecurityRealm$1.authenticate(GithubSecurityRealm.java:482) at jenkins.security.BasicHeaderRealPasswordAuthenticator.authenticate(BasicHeaderRealPasswordAuthenticator.java:56) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:79) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at 

[JIRA] (JENKINS-49485) jenkin crashes with {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}

2018-02-09 Thread jpe...@veritone.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Perez created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49485  
 
 
  jenkin crashes with {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Sam Gleske  
 
 
Components: 
 github-oauth-plugin  
 
 
Created: 
 2018-02-10 01:05  
 
 
Labels: 
 jenkins  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 Jesse Perez  
 

  
 
 
 
 

 
 I have been trying to get github authentication plugin working but keep getting following java dump... java.io.FileNotFoundException: https://api.github.com/user at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:243) at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210) at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25) at org.kohsuke.github.Requester.parse(Requester.java:612) at org.kohsuke.github.Requester.parse(Requester.java:594) at org.kohsuke.github.Requester._to(Requester.java:272) Caused: org.kohsuke.github.GHFileNotFoundException: {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"} at org.kohsuke.github.Requester.handleApiError(Requester.java:686) at org.kohsuke.github.Requester._to(Requester.java:293) at org.kohsuke.github.Requester.to(Requester.java:234) at org.kohsuke.github.GitHub.getMyself(GitHub.java:384) at org.kohsuke.github.GitHub.(GitHub.java:158) at org.kohsuke.github.GitHubBuilder.build(GitHubBuilder.java:207) at org.jenkinsci.plugins.GithubAuthenticationToken.getGitHub(GithubAuthenticationToken.java:211) at org.jenkinsci.plugins.GithubAuthenticationToken.(GithubAuthenticationToken.java:126) at org.jenkinsci.plugins.GithubSecurityRealm$1.authenticate(GithubSecurityRealm.java:478) Caused: java.lang.RuntimeException at