Hi,
I am trying to integrate Squash TM with JIRA for bug reporting. I have copied the Squash JIRA plugin to the plugins folder and restarted Squash. During the execution of the test case from the campaign workspace, I am getting error message "bug tracker not reachable". Below is the details and log.
Could you please help me to figure out why I am getting this error and the resolution.
JIRA Version: JIRA v6.4.11 (Secured site)
Squash TM Version: squash-tm-1.13.2.RELEASE
Squash TM JIRA plugin version: plugin.bugtracker.jira-1.2.0.RELEASE
Log:
====
[16-04-21 11:49:55.369] SquashTM - 11464 INFO [squashtest.tm.service.ThreadPool
TaskScheduler-9] []--- org.squashtest.tm.plugin.bugtracker.jira.soap.internal.Ji
raSoapClientFacade: JIRA SOAP client : attempting to reach 'https://jira.honeywe
ll.com/jira/rpc/soap/jirasoapservice-v2'
[16-04-21 11:49:55.369] SquashTM - 11464 INFO [squashtest.tm.service.ThreadPool
TaskScheduler-9] []--- org.squashtest.tm.plugin.bugtracker.jira.soap.internal.Ji
raSoapClientFacade: JIRA SOAP client : successfully reached the end point
[16-04-21 11:49:55.369] SquashTM - 11464 INFO [squashtest.tm.service.ThreadPool
TaskScheduler-9] []--- org.squashtest.tm.plugin.bugtracker.jira.soap.internal.Ji
raSoapClientFacade: JIRA SOAP client : creating session for E866835
[16-04-21 11:50:04.055] SquashTM - 11464 INFO [squashtest.tm.service.ThreadPool
TaskScheduler-9] []--- org.squashtest.tm.plugin.bugtracker.jira.soap.internal.Ji
raSoapClientFacade: JIRA SOAP client : user successfully authenticated
[16-04-21 11:50:04.604] SquashTM - 11464 ERROR [squashtest.tm.service.ThreadPool
TaskScheduler-9] []--- org.squashtest.tm.plugin.bugtracker.jira.soap.internal.Ji
raSoapClientFacade: JIRA SOAP client : an error occured during operation : GetSt
atuses
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelop ... rException
faultSubcode:
faultString: javax.net.ssl.SSLHandshakeException: sun.security.validator.Valida
torException: PKIX path building failed: sun.security.provider.certpath.SunCertP
athBuilderException: unable to find valid certification path to requested target
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: ... hakeExcept
ion: sun.security.validator.ValidatorException: PKIX path building failed: sun.s
ecurity.provider.certpath.SunCertPathBuilderException: unable to find valid cert
ification path to requested target
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source
)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFac
tory.java:186)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1
91)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
va:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at org.squashtest.tm.plugin.bugtracker.jira.soap.binding.Jirasoapservice
V2SoapBindingStub.getStatuses(JirasoapserviceV2SoapBindingStub.java:4959)
at org.squashtest.tm.plugin.bugtracker.jira.soap.internal.operations.Get
Statuses.doIt(GetStatuses.java:39)
at org.squashtest.tm.plugin.bugtracker.jira.soap.internal.operations.Get
Statuses.doIt(GetStatuses.java:1)
at org.squashtest.tm.plugin.bugtracker.jira.soap.internal.JiraSoapClient
Facade.doInCatchBlock(JiraSoapClientFacade.java:290)
at org.squashtest.tm.plugin.bugtracker.jira.soap.internal.JiraSoapClient
Facade.getStatuses(JiraSoapClientFacade.java:156)
at org.squashtest.tm.plugin.bugtracker.jira.soap.internal.JiraSoapConnec
tor.getStatuses(JiraSoapConnector.java:131)
at org.squashtest.tm.plugin.bugtracker.jira.soap.internal.JiraSoapConnec
tor.findIssues(JiraSoapConnector.java:294)
at org.squashtest.csp.core.bugtracker.service.SimpleBugtrackerConnectorA
dapter.findIssues(SimpleBugtrackerConnectorAdapter.java:112)
at org.squashtest.csp.core.bugtracker.service.BugTrackersServiceImpl.get
Issues(BugTrackersServiceImpl.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:157)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(
AsyncExecutionInterceptor.java:110)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
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: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Sour
ce)
... 44 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Sourc
e)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown
Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 50 more
{http://xml.apache.org/axis/}hostname:IE1FLT5W9PX52
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderExce
ption: unable to find valid certification path to requested target
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at org.squashtest.tm.plugin.bugtracker.jira.soap.binding.Jirasoapservice
V2SoapBindingStub.getStatuses(JirasoapserviceV2SoapBindingStub.java:4959)
at org.squashtest.tm.plugin.bugtracker.jira.soap.internal.operations.Get
Statuses.doIt(GetStatuses.java:39)
at org.squashtest.tm.plugin.bugtracker.jira.soap.internal.operations.Get
Statuses.doIt(GetStatuses.java:1)
at org.squashtest.tm.plugin.bugtracker.jira.soap.internal.JiraSoapClient
Facade.doInCatchBlock(JiraSoapClientFacade.java:290)
at org.squashtest.tm.plugin.bugtracker.jira.soap.internal.JiraSoapClient
Facade.getStatuses(JiraSoapClientFacade.java:156)
at org.squashtest.tm.plugin.bugtracker.jira.soap.internal.JiraSoapConnec
tor.getStatuses(JiraSoapConnector.java:131)
at org.squashtest.tm.plugin.bugtracker.jira.soap.internal.JiraSoapConnec
tor.findIssues(JiraSoapConnector.java:294)
at org.squashtest.csp.core.bugtracker.service.SimpleBugtrackerConnectorA
dapter.findIssues(SimpleBugtrackerConnectorAdapter.java:112)
at org.squashtest.csp.core.bugtracker.service.BugTrackersServiceImpl.get
Issues(BugTrackersServiceImpl.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:157)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(
AsyncExecutionInterceptor.java:110)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
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: javax.net.ssl.SSLHandshakeException: sun.security.validator.Validator
Exception: PKIX path building failed: sun.security.provider.certpath.SunCertPath
BuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source
)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFac
tory.java:186)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1
91)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
va:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
... 32 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Sour
ce)
... 44 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Sourc
e)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown
Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 50 more
Error in connecting to JIRA
Error in connecting to JIRA
Hi,
I don't know if you still are waiting for a response, but for those who have the same problem, it comes from the certification chain. Maybe the certificates in the trustsore are not installed properly.
The Squash Team
I don't know if you still are waiting for a response, but for those who have the same problem, it comes from the certification chain. Maybe the certificates in the trustsore are not installed properly.
The Squash Team