Hello.
One of our key users have a seemingly random problem while clicking "Issues" tab after longer inactivity. He gets an "Oops - an error has occurred" message.
Atlassian support helped me with narrowing the search of source of the issue and suggested it is realted to Script Runner plugin:
{code}Thank you for contacting Atlassian Support
Caused by: 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 org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:153) at com.onresolve.jira.groovy.jql.IssuesInSprint.getBoardId(script13670789095662048495194
The above stack traces seems to belong to this third-party plugin called Script Runner.{code}
This error doesn't seem dangerous, just highly inconvenient. I would be glad for any help on finding a source of this error.
Here is a full stack trace from error message.
Stack Trace: [hide] com.atlassian.jira.issue.search.SearchException: 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 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target ... 268 more Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174) ... 274 more
Yeah. When you go to Issues it tries to rerun the last query you did. Maybe this worked previously but now doesn't.
To make it forget the last query get your user to navigate to:
<jira>/issues/?jql=
To fix the error permanently follow the instructions here: https://confluence.atlassian.com/display/DOC/Connecting+to+LDAP+or+JIRA+or+Other+Services+via+SSL
If you don't want to do that you should probably disable the inSprint() function.
Thank you for your quick reply, You saved the day again :)
Unfortunatelly we already tried adding certificates into the keystore, and can't import some of them. Probably we're just doing something wrong :) Anyway, thank you for the priceless help you provide! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.