[JIRA] [github-oauth-plugin] (JENKINS-27118) Exception due to https://api.github.com/repos/owner/repo/collaborators not found
Title: Message Title Sam Gleske resolved as Fixed Fixed in 0.21 with configurable scopes. Jenkins / JENKINS-27118 Exception due to https://api.github.com/repos/owner/repo/collaborators not found Change By: Sam Gleske Status: Open Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [github-oauth-plugin] (JENKINS-27118) Exception due to https://api.github.com/repos/owner/repo/collaborators not found
Title: Message Title Sam Gleske assigned an issue to Sam Gleske Jenkins / JENKINS-27118 Exception due to https://api.github.com/repos/owner/repo/collaborators not found Change By: Sam Gleske Assignee: Sam Kottler Gleske Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [github-oauth-plugin] (JENKINS-27118) Exception due to https://api.github.com/repos/owner/repo/collaborators not found
Title: Message Title Sam Gleske commented on JENKINS-27118 Re: Exception due to https://api.github.com/repos/owner/repo/collaborators not found Likely fixed in release 0.21. The oauth scope has now been set to read:org which gives the plugin to view org membership for a user. Can you please test it out and report back? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [github-oauth-plugin] (JENKINS-27118) Exception due to https://api.github.com/repos/owner/repo/collaborators not found
Title: Message Title Tadej Janež commented on JENKINS-27118 Re: Exception due to https://api.github.com/repos/owner/repo/collaborators not found I've updated to the latest LTS version of Jenkins (1.609.1) and the latest version of all the plugins and the issue still remains... Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [github-oauth-plugin] (JENKINS-27118) Exception due to https://api.github.com/repos/owner/repo/collaborators not found
Cor Bosman commented on JENKINS-27118 Exception due to https://api.github.com/repos/owner/repo/collaborators not found Same issue here as well, but it doesnt affect all non-admin users. Only some non-admin users are affected in our setup. Unfortunately those users cant use jenkins at all right now. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [github-oauth-plugin] (JENKINS-27118) Exception due to https://api.github.com/repos/owner/repo/collaborators not found
Weston Odom commented on JENKINS-27118 Exception due to https://api.github.com/repos/owner/repo/collaborators not found I also have the same issue. All non-admin jenkins users get that stacktrace and error. All plugins are at their latest version. The github user that jenkins uses has write permissions, so I think it should be able to access the information. Is that incorrect? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [github-oauth-plugin] (JENKINS-27118) Exception due to https://api.github.com/repos/owner/repo/collaborators not found
Tadej Janež created JENKINS-27118 Exception due to https://api.github.com/repos/owner/repo/collaborators not found Issue Type: Bug Assignee: Sam Kottler Components: github-oauth-plugin Created: 25/Feb/15 9:48 AM Description: I'm seeing the following exception when a certain user tries to log-in via the GitHub OAuth plugin: Feb 25, 2015 8:57:19 AM SEVERE org.jenkinsci.plugins.GithubAuthenticationToken hasRepositoryPermission an exception was thrown java.util.concurrent.ExecutionException: java.io.FileNotFoundException: https://api.github.com/repos/genialis/genesis/collaborators at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:289) at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:276) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:111) at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:132) at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2381) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2351) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) at com.google.common.cache.LocalCache.get(LocalCache.java:3965) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764) at org.jenkinsci.plugins.GithubAuthenticationToken.hasRepositoryPermission(GithubAuthenticationToken.java:161) at org.jenkinsci.plugins.GithubRequireOrganizationMembershipACL.hasRepositoryPermission(GithubRequireOrganizationMembershipACL.java:246) at org.jenkinsci.plugins.GithubRequireOrganizationMembershipACL.hasPermission(GithubRequireOrganizationMembershipACL.java:92) at hudson.security.ACL.hasPermission(ACL.java:68) at hudson.model.AbstractItem.hasPermission(AbstractItem.java:504) at jenkins.model.Jenkins.getItem(Jenkins.java:2321) at hudson.model.Hudson.getJob(Hudson.java:142) at sun.reflect.GeneratedMethodAccessor300.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:745) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:875) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648) at org.kohsuke.stapler.Stapler.service(Stapler.java:237) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at
[JIRA] [github-oauth-plugin] (JENKINS-27118) Exception due to https://api.github.com/repos/owner/repo/collaborators not found
Tadej Janež updated JENKINS-27118 Exception due to https://api.github.com/repos/owner/repo/collaborators not found This is the screen a user gets when this exception happens. Change By: Tadej Janež (25/Feb/15 10:10 AM) Attachment: JenkinsGitHubOAuthpluginproblem.png This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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.