com.atlassian.connector.commons.jira.rss.JIRAException: 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

Ecosystem JIRA | Wayne May | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I am connectiong to, for example, https://jira.example.com:8443, but JIRA is failing with the handshake. The previous stable version had the same problem, so I updated to the snapshot version com.atlassian.connector.commons.jira.rss.JIRAException: 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 at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getProjects(JIRAServerFacade2Impl.java:236) at com.atlassian.theplugin.commons.jira.IntelliJJiraServerFacade.getProjects(IntelliJJiraServerFacade.java:89) at com.atlassian.theplugin.commons.jira.cache.JIRAServerCache.getProjects(JIRAServerCache.java:123) at com.atlassian.theplugin.commons.jira.cache.JIRAServerModelImpl.getProjects(JIRAServerModelImpl.java:160) at com.atlassian.theplugin.idea.jira.IssueListToolWindowPanel$LocalJiraIssueListModelListener$ModelChangedRunnable.run(IssueListToolWindowPanel.java:1549) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:602) at java.awt.EventQueue$1.run(EventQueue.java:600) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:611) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:686) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:416) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:374) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: 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 at com.atlassian.connector.commons.jira.soap.JIRASessionImpl.login(JIRASessionImpl.java:199) at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getSoapSession(JIRAServerFacade2Impl.java:92) at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getProjects(JIRAServerFacade2Impl.java:220) ... 22 more

    Ecosystem JIRA | 5 years ago | Wayne May
    com.atlassian.connector.commons.jira.rss.JIRAException: 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
  2. 0

    I am connectiong to, for example, https://jira.example.com:8443, but JIRA is failing with the handshake. The previous stable version had the same problem, so I updated to the snapshot version com.atlassian.connector.commons.jira.rss.JIRAException: 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 at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getProjects(JIRAServerFacade2Impl.java:236) at com.atlassian.theplugin.commons.jira.IntelliJJiraServerFacade.getProjects(IntelliJJiraServerFacade.java:89) at com.atlassian.theplugin.commons.jira.cache.JIRAServerCache.getProjects(JIRAServerCache.java:123) at com.atlassian.theplugin.commons.jira.cache.JIRAServerModelImpl.getProjects(JIRAServerModelImpl.java:160) at com.atlassian.theplugin.idea.jira.IssueListToolWindowPanel$LocalJiraIssueListModelListener$ModelChangedRunnable.run(IssueListToolWindowPanel.java:1549) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:602) at java.awt.EventQueue$1.run(EventQueue.java:600) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:611) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:686) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:416) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:374) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: 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 at com.atlassian.connector.commons.jira.soap.JIRASessionImpl.login(JIRASessionImpl.java:199) at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getSoapSession(JIRAServerFacade2Impl.java:92) at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getProjects(JIRAServerFacade2Impl.java:220) ... 22 more

    Ecosystem JIRA | 5 years ago | Wayne May
    com.atlassian.connector.commons.jira.rss.JIRAException: 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
  3. 0

    Suddently stopped connecting to JIRA. Error stack is below. Web Browser finds the JIRA server and logs in with no trouble. Deleting and re-creating the JIRA connection in Atlassian doesn't help. com.atlassian.connector.commons.jira.rss.JIRAException: (301)Moved Permanently at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getProjects(JIRAServerFacade2Impl.java:236) at com.atlassian.theplugin.commons.jira.IntelliJJiraServerFacade.getProjects(IntelliJJiraServerFacade.java:89) at com.atlassian.theplugin.commons.jira.cache.JIRAServerCache.getProjects(JIRAServerCache.java:123) at com.atlassian.theplugin.commons.jira.cache.JIRAServerModelImpl.getProjects(JIRAServerModelImpl.java:160) at com.atlassian.theplugin.idea.jira.IssueListToolWindowPanel$LocalJiraIssueListModelListener$ModelChangedRunnable.run(IssueListToolWindowPanel.java:1549) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:602) at java.awt.EventQueue$1.run(EventQueue.java:600) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:611) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:694) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:416) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:374) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: (301)Moved Permanently at com.atlassian.connector.commons.jira.soap.JIRASessionImpl.login(JIRASessionImpl.java:199) at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getSoapSession(JIRAServerFacade2Impl.java:92) at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getProjects(JIRAServerFacade2Impl.java:220) ... 22 more

    Ecosystem JIRA | 5 years ago | Marina Chernyavskaya
    com.atlassian.connector.commons.jira.rss.JIRAException: (301)Moved Permanently
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Troubleshooting Server Connection in the IntelliJ Connector - Atlassian IDE Connectors - Atlassian Documentation

    atlassian.com | 8 months ago
    com.atlassian.connector.commons.jira.rss.JIRAException: (401)Authorization Required
  6. 0

    null java.lang.ExceptionInInitializerError at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at com.atlassian.connector.commons.jira.soap.axis.JiraSoapServiceServiceLocator.<init>(JiraSoapServiceServiceLocator.java:13) at com.atlassian.connector.commons.jira.soap.JIRASessionImpl.<init>(JIRASessionImpl.java:177) at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.testServerConnection(JIRAServerFacade2Impl.java:134) at com.atlassian.theplugin.commons.jira.IntelliJJiraServerFacade.testServerConnection(IntelliJJiraServerFacade.java:239) at com.atlassian.theplugin.commons.jira.cache.JIRAServerCache.checkServer(JIRAServerCache.java:87) at com.atlassian.theplugin.commons.jira.cache.JIRAServerModelImpl.checkServer(JIRAServerModelImpl.java:136) at com.atlassian.theplugin.idea.jira.IssueListToolWindowPanel$MetadataFetcherBackgroundableTask.run(IssueListToolWindowPanel.java:1050) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:474) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:205) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:196) at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:353)

    Ecosystem JIRA | 6 years ago | Feng Wu
    java.lang.ExceptionInInitializerError

    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. com.atlassian.theplugin.commons.remoteapi.RemoteApiException

      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

      at com.atlassian.connector.commons.jira.soap.JIRASessionImpl.login()
    2. com.atlassian.connector
      JIRAServerFacade2Impl.getProjects
      1. com.atlassian.connector.commons.jira.soap.JIRASessionImpl.login(JIRASessionImpl.java:199)
      2. com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getSoapSession(JIRAServerFacade2Impl.java:92)
      3. com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getProjects(JIRAServerFacade2Impl.java:220)
      3 frames
    3. com.atlassian.theplugin
      IssueListToolWindowPanel$LocalJiraIssueListModelListener$ModelChangedRunnable.run
      1. com.atlassian.theplugin.commons.jira.IntelliJJiraServerFacade.getProjects(IntelliJJiraServerFacade.java:89)
      2. com.atlassian.theplugin.commons.jira.cache.JIRAServerCache.getProjects(JIRAServerCache.java:123)
      3. com.atlassian.theplugin.commons.jira.cache.JIRAServerModelImpl.getProjects(JIRAServerModelImpl.java:160)
      4. com.atlassian.theplugin.idea.jira.IssueListToolWindowPanel$LocalJiraIssueListModelListener$ModelChangedRunnable.run(IssueListToolWindowPanel.java:1549)
      4 frames
    4. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
      3. java.awt.EventQueue.access$000(EventQueue.java:84)
      4. java.awt.EventQueue$1.run(EventQueue.java:602)
      5. java.awt.EventQueue$1.run(EventQueue.java:600)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
      8 frames
    5. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:686)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534)
      3. com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:416)
      4. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:374)
      4 frames
    6. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      6 frames