Hello Mike and Th3Alibi,

If one of you is willing to file a ticket in the Jenkins JIRA with repro
steps and cc me via comment, I'll be happy to take a look.

Thanks,
Cliff

On Sun, Aug 13, 2017 at 11:46 PM, Mike Flynn <[email protected]> wrote:

> Any update on this thread? I'm seeing the exact same error in my
> jenkins.log when trying to make a pipeline in a repo via the Blue Ocean
> wizard.
>
>
> On Thursday, June 22, 2017 at 7:15:38 AM UTC-7, Th3Alibi wrote:
>>
>> I've tried both.
>>
>> On Tuesday, 20 June 2017 16:52:08 UTC-4, Keith Zantow wrote:
>>>
>>> Did you use the link in the Blue Ocean UI to create your token or did
>>> you create it manually?
>>>
>>>
>>> On Tue, Jun 20, 2017 at 4:14 PM, Th3Alibi <[email protected]> wrote:
>>>
>>>> I am having a hard time using Blue Ocean.  When I add my token and
>>>> attempt to create a new pipeline, Jenkins logs are showing below stack
>>>> trace.  This is happening in both standalone jenkins and cloudbees
>>>> enterprise.  The token is good, I have tested the auth.  We are using an
>>>> organization account with private repositories on GitHub.
>>>>
>>>> Standalone Jenkins: 2.46.3
>>>> java version "1.8.0_40"
>>>> Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
>>>> Java HotSpot(TM) Client VM (build 25.40-b25, mixed mode)
>>>>
>>>> Cloudbees Enterprise Anywhere:
>>>> cje-mm:2.46.3-rolling
>>>>
>>>> Jun 20, 2017 4:00:46 PM io.jenkins.blueocean.blueocean
>>>> _github_pipeline.GithubPipelineCreateRequest cleanupOnError
>>>> SEVERE: Error creating pipeline [ORG_NAME]: {"message":"Bad
>>>> credentials","documentation_url":"https://developer.github.com/v3"}
>>>> java.io.FileNotFoundException: {"message":"Bad
>>>> credentials","documentation_url":"https://developer.github.com/v3"}
>>>>         at org.kohsuke.github.Requester.handleApiError(Requester.java:6
>>>> 50)
>>>>         at org.kohsuke.github.Requester._to(Requester.java:283)
>>>>         at org.kohsuke.github.Requester.to(Requester.java:224)
>>>>         at org.kohsuke.github.GitHub.checkApiUrlValidity(GitHub.java:
>>>> 668)
>>>>         at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.c
>>>> heckApiUrlValidity(GitHubSCMSource.java:501)
>>>>         at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.r
>>>> etrieve(GitHubSCMSource.java:444)
>>>>         at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
>>>>         at jenkins.scm.api.SCMSource.fetch(SCMSource.java:230)
>>>>         at io.jenkins.blueocean.blueocean_github_pipeline.GithubPipelin
>>>> eCreateRequest.repoHasJenkinsFile(GithubPipelineCreateRequest.java:304)
>>>>         at io.jenkins.blueocean.blueocean_github_pipeline.GithubPipelin
>>>> eCreateRequest.create(GithubPipelineCreateRequest.java:173)
>>>>         at io.jenkins.blueocean.rest.model.BluePipelineContainer.create
>>>> (BluePipelineContainer.java:48)
>>>>         at io.jenkins.blueocean.rest.model.BluePipelineContainer.create
>>>> (BluePipelineContainer.java:44)
>>>>         at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown
>>>> Source)
>>>>         at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.
>>>> java:343)
>>>>         at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184
>>>> )
>>>>         at org.kohsuke.stapler.SelectionInterceptedFunction$Adapter.
>>>> invoke(SelectionInterceptedFunction.java:36)
>>>>         at org.kohsuke.stapler.verb.HttpVerbInterceptor.invoke(HttpVerb
>>>> Interceptor.java:48)
>>>>         at org.kohsuke.stapler.SelectionInterceptedFunction.bindAndInvo
>>>> ke(SelectionInterceptedFunction.java:26)
>>>>         at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(F
>>>> unction.java:117)
>>>>         at org.kohsuke.stapler.IndexDispatcher.dispatch(IndexDispatcher
>>>> .java:26)
>>>>         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
>>>>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
>>>>         at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:20
>>>> 9)
>>>>         at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDi
>>>> spatcher.java:58)
>>>>         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
>>>>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
>>>>         at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374
>>>> )
>>>>         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
>>>>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
>>>>         at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374
>>>> )
>>>>         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
>>>>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
>>>>         at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374
>>>> )
>>>>         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
>>>>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
>>>>         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:686)
>>>>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
>>>>         at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374
>>>> )
>>>>         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
>>>>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
>>>>         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
>>>>         at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
>>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>>>>         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder
>>>> .java:812)
>>>>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1669)
>>>>         at hudson.util.PluginServletFilter$1.doFilter(
>>>> PluginServletFilter.java:135)
>>>>         at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFi
>>>> lter.doFilter(Endpoint.java:225)
>>>>         at hudson.util.PluginServletFilter$1.doFilter(
>>>> PluginServletFilter.java:132)
>>>>         at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceC
>>>> acheControl.java:134)
>>>>         at hudson.util.PluginServletFilter$1.doFilter(
>>>> PluginServletFilter.java:132)
>>>>         at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.d
>>>> oFilter(JwtAuthenticationFilter.java:51)
>>>>         at hudson.util.PluginServletFilter$1.doFilter(
>>>> PluginServletFilter.java:132)
>>>>         at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.
>>>> java:125)
>>>>         at hudson.util.PluginServletFilter$1.doFilter(
>>>> PluginServletFilter.java:132)
>>>>         at hudson.util.PluginServletFilter.doFilter(PluginServletFilter
>>>> .java:126)
>>>>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>>         at io.jenkins.blueocean.rest.APICrumbExclusion.process(APICrumb
>>>> Exclusion.java:30)
>>>>         at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:
>>>> 58)
>>>>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>>         at hudson.security.ChainedServletFilter$1.doFilter(
>>>> ChainedServletFilter.java:84)
>>>>         at hudson.security.UnwrapSecurityExceptionFilter.doFilter(Unwra
>>>> pSecurityExceptionFilter.java:51)
>>>>         at hudson.security.ChainedServletFilter$1.doFilter(
>>>> ChainedServletFilter.java:87)
>>>>         at jenkins.security.ExceptionTranslationFilter.doFilter(Excepti
>>>> onTranslationFilter.java:117)
>>>>         at hudson.security.ChainedServletFilter$1.doFilter(
>>>> ChainedServletFilter.java:87)
>>>>         at org.acegisecurity.providers.anonymous.AnonymousProcessingFil
>>>> ter.doFilter(AnonymousProcessingFilter.java:125)
>>>>         at hudson.security.ChainedServletFilter$1.doFilter(
>>>> ChainedServletFilter.java:87)
>>>>         at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.d
>>>> oFilter(RememberMeProcessingFilter.java:142)
>>>>         at hudson.security.ChainedServletFilter$1.doFilter(
>>>> ChainedServletFilter.java:87)
>>>>         at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(Abstr
>>>> actProcessingFilter.java:271)
>>>>         at hudson.security.ChainedServletFilter$1.doFilter(
>>>> ChainedServletFilter.java:87)
>>>>         at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderPr
>>>> ocessor.java:93)
>>>>         at hudson.security.ChainedServletFilter$1.doFilter(
>>>> ChainedServletFilter.java:87)
>>>>         at org.acegisecurity.context.HttpSessionContextIntegrationFilte
>>>> r.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(ChainedServlet
>>>> Filter.java:76)
>>>>         at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
>>>>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>>         at org.kohsuke.stapler.compression.CompressionFilter.doFilter(
>>>> CompressionFilter.java:49)
>>>>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>>         at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodi
>>>> ngFilter.java:82)
>>>>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>>         at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(Diag
>>>> nosticThreadNameFilter.java:30)
>>>>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilte
>>>> r(ServletHandler.java:1652)
>>>>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHan
>>>> dler.java:585)
>>>>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(Scoped
>>>> Handler.java:143)
>>>>         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHa
>>>> ndler.java:553)
>>>>         at org.eclipse.jetty.server.session.SessionHandler.doHandle(
>>>> SessionHandler.java:223)
>>>>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
>>>> ContextHandler.java:1127)
>>>>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHand
>>>> ler.java:515)
>>>>         at org.eclipse.jetty.server.session.SessionHandler.doScope(
>>>> SessionHandler.java:185)
>>>>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(
>>>> ContextHandler.java:1061)
>>>>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(Scoped
>>>> Handler.java:141)
>>>>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(Handl
>>>> erWrapper.java:97)
>>>>         at org.eclipse.jetty.server.Server.handle(Server.java:499)
>>>>         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.
>>>> java:311)
>>>>         at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConne
>>>> ction.java:257)
>>>>         at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnec
>>>> tion.java:544)
>>>>         at winstone.BoundedExecutorService$1.run(BoundedExecutorService
>>>> .java:77)
>>>>         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
>>>> Source)
>>>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>>>> Source)
>>>>         at java.lang.Thread.run(Unknown Source)
>>>> Caused by: java.io.FileNotFoundException: https://api.github.com/
>>>>         at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getIn
>>>> putStream(HttpURLConnectionImpl.java:243)
>>>>         at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnectio
>>>> n.getInputStream(DelegatingHttpsURLConnection.java:210)
>>>>         at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getI
>>>> nputStream(HttpsURLConnectionImpl.java:25)
>>>>         at org.kohsuke.github.Requester.parse(Requester.java:596)
>>>>         at org.kohsuke.github.Requester._to(Requester.java:262)
>>>>         ... 100 more
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Jenkins Developers" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>>> gid/jenkinsci-dev/21c7b6db-13ce-4abc-8130-772335c0bdd5%40goo
>>>> glegroups.com
>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/21c7b6db-13ce-4abc-8130-772335c0bdd5%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/2727a583-21a5-4eda-9410-8124168fe991%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/2727a583-21a5-4eda-9410-8124168fe991%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAFm%3D0hfZONzy-uMD%2BzJH9%2BbNRjJYkd8LLhxHVXGyKCv1TNs87Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to