org.kohsuke.github.HttpException: Server returned HTTP response code: -1, message: 'null' for URL: https://api.github.com/user

Stack Overflow | YafimK | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SonarQube jenkins plugin returns "Server returned HTTP response code: -1, message: 'null' for URL: https://api.github.com/user"

    Stack Overflow | 6 months ago | YafimK
    org.kohsuke.github.HttpException: Server returned HTTP response code: -1, message: 'null' for URL: https://api.github.com/user
  2. 0

    OS X SSL Manager- Green URLs in manager but getting errors when navigating to site - Sahi Community Forums

    sahipro.com | 11 months ago
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
  3. 0

    Jersey client handshake error

    Stack Overflow | 4 years ago | David031
    com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    WDSL2Java exception when I run it on https URL

    Stack Overflow | 3 years ago | kdureidy
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
  6. 0

    CAS Tomcat SSLHandshakeException

    Stack Overflow | 5 years ago | glcp
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.net.ssl.SSLHandshakeException

    Received fatal alert: access_denied

    at sun.security.ssl.Alerts.getSSLException()
  2. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.Alerts.getSSLException(Alerts.java:192)[na:1.8.0_77]
    2. sun.security.ssl.Alerts.getSSLException(Alerts.java:154)[na:1.8.0_77]
    3. sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2023)[na:1.8.0_77]
    4. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1125)[na:1.8.0_77]
    5. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)[na:1.8.0_77]
    6. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)[na:1.8.0_77]
    7. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)[na:1.8.0_77]
    7 frames
  3. Java RT
    HttpsURLConnectionImpl.getResponseCode
    1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)[na:1.8.0_77]
    2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)[na:1.8.0_77]
    3. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)[na:1.8.0_77]
    4. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)[na:1.8.0_77]
    5. java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)[na:1.8.0_77]
    6. sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)[na:1.8.0_77]
    6 frames
  4. org.kohsuke.github
    GitHubBuilder.build
    1. org.kohsuke.github.Requester.parse(Requester.java:510)[github-api-1.76.jar:na]
    2. org.kohsuke.github.Requester._to(Requester.java:247)[github-api-1.76.jar:na]
    3. org.kohsuke.github.Requester.to(Requester.java:209)[github-api-1.76.jar:na]
    4. org.kohsuke.github.GitHub.getMyself(GitHub.java:279)[github-api-1.76.jar:na]
    5. org.kohsuke.github.GitHub.<init>(GitHub.java:145)[github-api-1.76.jar:na]
    6. org.kohsuke.github.GitHubBuilder.build(GitHubBuilder.java:196)[github-api-1.76.jar:na]
    6 frames
  5. org.sonar.plugins
    PullRequestProjectBuilder.build
    1. org.sonar.plugins.github.PullRequestFacade.init(PullRequestFacade.java:80)[sonar-github-plugin-1.3.jar:na]
    2. org.sonar.plugins.github.PullRequestProjectBuilder.build(PullRequestProjectBuilder.java:52)[sonar-github-plugin-1.3.jar:na]
    2 frames
  6. org.sonar.scanner
    ImmutableProjectReactorProvider.provide
    1. org.sonar.scanner.scan.ProjectBuildersExecutor.execute(ProjectBuildersExecutor.java:53)[sonar-scanner-engine-shaded-6.0.jar:na]
    2. org.sonar.scanner.scan.ImmutableProjectReactorProvider.provide(ImmutableProjectReactorProvider.java:32)[sonar-scanner-engine-shaded-6.0.jar:na]
    2 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
    4 frames
  8. PicoContainer Core
    DefaultPicoContainer.getComponent
    1. org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129)[sonar-scanner-engine-shaded-6.0.jar:na]
    2. org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39)[sonar-scanner-engine-shaded-6.0.jar:na]
    3. org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113)[sonar-scanner-engine-shaded-6.0.jar:na]
    4. org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)[sonar-scanner-engine-shaded-6.0.jar:na]
    5. org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)[sonar-scanner-engine-shaded-6.0.jar:na]
    6. org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)[sonar-scanner-engine-shaded-6.0.jar:na]
    7. org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)[sonar-scanner-engine-shaded-6.0.jar:na]
    8. org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)[sonar-scanner-engine-shaded-6.0.jar:na]
    9. org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)[sonar-scanner-engine-shaded-6.0.jar:na]
    10. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)[sonar-scanner-engine-shaded-6.0.jar:na]
    10 frames
  9. org.sonar.core
    ComponentContainer$ExtendedDefaultPicoContainer.getComponent
    1. org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:67)[sonar-scanner-engine-shaded-6.0.jar:na]
    1 frame
  10. PicoContainer Core
    DefaultPicoContainer.start
    1. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)[sonar-scanner-engine-shaded-6.0.jar:na]
    2. org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)[sonar-scanner-engine-shaded-6.0.jar:na]
    3. org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)[sonar-scanner-engine-shaded-6.0.jar:na]
    4. org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)[sonar-scanner-engine-shaded-6.0.jar:na]
    5. org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)[sonar-scanner-engine-shaded-6.0.jar:na]
    6. org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)[sonar-scanner-engine-shaded-6.0.jar:na]
    7. org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)[sonar-scanner-engine-shaded-6.0.jar:na]
    8. org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)[sonar-scanner-engine-shaded-6.0.jar:na]
    9. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)[sonar-scanner-engine-shaded-6.0.jar:na]
    10. org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)[sonar-scanner-engine-shaded-6.0.jar:na]
    11. org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)[sonar-scanner-engine-shaded-6.0.jar:na]
    12. org.picocontainer.DefaultPicoContainer.instantiateComponentAsIsStartable(DefaultPicoContainer.java:1034)[sonar-scanner-engine-shaded-6.0.jar:na]
    13. org.picocontainer.DefaultPicoContainer.addAdapterIfStartable(DefaultPicoContainer.java:1026)[sonar-scanner-engine-shaded-6.0.jar:na]
    14. org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1003)[sonar-scanner-engine-shaded-6.0.jar:na]
    15. org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)[sonar-scanner-engine-shaded-6.0.jar:na]
    15 frames
  11. org.sonar.core
    ComponentContainer.execute
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:141)[sonar-scanner-engine-shaded-6.0.jar:na]
    2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-6.0.jar:na]
    2 frames
  12. org.sonar.scanner
    TaskContainer.doAfterStart
    1. org.sonar.scanner.task.ScanTask.execute(ScanTask.java:47)[sonar-scanner-engine-shaded-6.0.jar:na]
    2. org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:86)[sonar-scanner-engine-shaded-6.0.jar:na]
    2 frames
  13. org.sonar.core
    ComponentContainer.execute
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-6.0.jar:na]
    2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-6.0.jar:na]
    2 frames
  14. org.sonar.scanner
    GlobalContainer.executeTask
    1. org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:115)[sonar-scanner-engine-shaded-6.0.jar:na]
    1 frame
  15. SonarQube
    Batch.executeTask
    1. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:118)[sonar-scanner-engine-shaded-6.0.jar:na]
    1 frame
  16. org.sonarsource.scanner
    BatchIsolatedLauncher.execute
    1. org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)[sonar-scanner-api-batch4396532511294315936.jar:na]
    1 frame
  17. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
    4 frames
  18. org.sonarsource.scanner
    IsolatedLauncherProxy.invoke
    1. org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)[sonar-scanner-api-2.6.jar:na]
    1 frame
  19. com.sun.proxy
    $Proxy23.execute
    1. com.sun.proxy.$Proxy23.execute(Unknown Source)[na:na]
    1 frame
  20. org.sonarsource.scanner
    SonarQubeMojo.execute
    1. org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:240)[sonar-scanner-api-2.6.jar:na]
    2. org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151)[sonar-scanner-api-2.6.jar:na]
    3. org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute(ScannerBootstrapper.java:78)[sonar-maven-plugin-3.0.2.jar:na]
    4. org.sonarsource.scanner.maven.SonarQubeMojo.execute(SonarQubeMojo.java:112)[sonar-maven-plugin-3.0.2.jar:na]
    4 frames
  21. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)[maven-core-3.3.9.jar:3.3.9]
    1 frame
  22. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)[maven-core-3.3.9.jar:3.3.9]
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)[maven-core-3.3.9.jar:3.3.9]
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)[maven-core-3.3.9.jar:3.3.9]
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)[maven-core-3.3.9.jar:3.3.9]
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)[maven-core-3.3.9.jar:3.3.9]
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)[maven-core-3.3.9.jar:3.3.9]
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)[maven-core-3.3.9.jar:3.3.9]
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)[maven-core-3.3.9.jar:3.3.9]
    9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)[maven-core-3.3.9.jar:3.3.9]
    10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)[maven-core-3.3.9.jar:3.3.9]
    10 frames
  23. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)[maven-embedder-3.3.9.jar:3.3.9]
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)[maven-embedder-3.3.9.jar:3.3.9]
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)[maven-embedder-3.3.9.jar:3.3.9]
    3 frames
  24. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
    4 frames
  25. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)[plexus-classworlds-2.5.2.jar:na]
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)[plexus-classworlds-2.5.2.jar:na]
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)[plexus-classworlds-2.5.2.jar:na]
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)[plexus-classworlds-2.5.2.jar:na]
    4 frames