Expand my Community achievements bar.

SOLVED

site catalyst integration issue

Avatar

Level 2

Hi all,

I am working on integrating sitecatalyst with cq5.5, done with all the configurations. I am able to test the credentials on sc.omniture.com and even added the user to web services access api group and also able to get data center url as response by testing in developer.omniture.com. But getting error when trying to login into site catalyst on CQ side, throwing error that please check the credentials and try again. We are using proxy server in between and even configured http client 3.1 bundle with apprpriate proxy server details. When I tried accessing error log of the cq instance I am getting this error. Can any one please help me out regarding this, thanks a lot in advance.

*ERROR* [10.1.40.158 [1394048496932] POST /libs/cq/analytics/sitecatalyst/service.json HTTP/1.1] com.day.cq.analytics.sitecatalyst.impl.servlets.SitecatalystServlet Call to SiteCatalyst method 'Connect' failed com.day.cq.analytics.sitecatalyst.SitecatalystException: not authenticated

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:323)

Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validatoreption: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validatoreption: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

org.apache.commons.httpclient.HttpMethodBase Cookie rejected: "$Version=0; BCSI-CS-2e61a7594f932e26=2; $Path=/". Illegal path attribute "/". Path of origin: "api.omniture.com:443"
05.03.2014 12:06:01.978 *WARN* [10.1.40.158 [1394039161939] POST /libs/cq/analytics/sitecatalyst/service.json HTTP/1.1] org.apache.commons.httpclient.HttpMethodBase Cookie rejected: "$Version=0; BIGipServerpool-binnacle_8080=398458890.36895.0000; $Path=/". Illegal path attribute "/". Path of origin: "api.omniture.com:443"
05.03.2014 12:06:01.979 *INFO* [10.1.40.158 [1394039161939] POST /libs/cq/analytics/sitecatalyst/service.json HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector Failure authenticating with BASIC 'NFCU_AD'@binnacle.nfcu.net:8080
05.03.2014 12:06:01.979 *WARN* [10.1.40.158 [1394039161939] POST /libs/cq/analytics/sitecatalyst/service.json HTTP/1.1] com.day.cq.analytics.sitecatalyst.impl.SitecatalystHttpClientImpl Request to SiteCatalyst Company.GetEndPoint failed com.day.cq.analytics.sitecatalyst.SitecatalystException: Stream closed

1 Accepted Solution

Avatar

Correct answer by
Level 2

Akhil - I would like to add some more information that when I tried this with another CQ instance and network outside my company network it worked. I am able to integrate the site catalyst with CQ using those details which indicates there is nothing problem on site catalyst side. It might be some firewall issue or some other network issue, please help me out.

thank you

View solution in original post

3 Replies

Avatar

Level 4

Hi,

You can troubleshoot the integration issues here: http://helpx.adobe.com/experience-manager/kb/sitecatalystintegrationtroubleshooting.html .

Reason: Error code: sun.security.validator.ValidatorException: PKIX path building failed: 

However, if still this doesnt work then you can refer for the below documentation:

1)http://stackoverflow.com/questions/20417245/javax-net-ssl-sslhandshakeexception-sun-security-validat...

2)http://www.java-samples.com/showtutorial.php?tutorialid=210

If everything fails else you can raise a ticket with the Adobe Experience Manager (formerly CQ) Team.(http://helpx.adobe.com/marketing-cloud/contact-support.html).

 

Let me know if it helps you. You can mark it as closed if it solves your query.

Thanks

Akhil

Avatar

Level 2

Hi Akhil,

I appreciate your reply, I installed the ca certificate by using keytool import command. Even then I am not able to login into the site catalyst, this time I am not getting the SSL security exception but I see the following stack trace in the error log

*ERROR* [0:0:0:0:0:0:0:1 [1394341318870] POST /libs/cq/analytics/sitecatalyst/service.json HTTP/1.1] com.day.cq.analytics.sitecatalyst.impl.servlets.SitecatalystServlet Call to SiteCatalyst method 'Connect' failed com.day.cq.analytics.sitecatalyst.SitecatalystException: not authenticated

Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)

    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
    at sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
    at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
    at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127)
    at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    at com.day.cq.analytics.sitecatalyst.impl.SitecatalystHttpClientImpl.execute(SitecatalystHttpClientImpl.java:183)
    at com.day.cq.analytics.sitecatalyst.impl.SitecatalystHttpClientImpl.execute(SitecatalystHttpClientImpl.java:163)
    at com.day.cq.analytics.sitecatalyst.impl.SitecatalystHttpClientImpl.execute(SitecatalystHttpClientImpl.java:156)

*INFO* [0:0:0:0:0:0:0:1 [1394341318870] POST /libs/cq/analytics/sitecatalyst/service.json HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
09.03.2014 00:02:03.967 *INFO* [0:0:0:0:0:0:0:1 [1394341318870] POST /libs/cq/analytics/sitecatalyst/service.json HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector Retrying request
09.03.2014 00:02:04.967 *INFO* [0:0:0:0:0:0:0:1 [1394341318870] POST /libs/cq/analytics/sitecatalyst/service.json HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
09.03.2014 00:02:04.967 *INFO* [0:0:0:0:0:0:0:1 [1394341318870] POST /libs/cq/analytics/sitecatalyst/service.json HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector Retrying request
09.03.2014 00:02:05.969 *INFO* [0:0:0:0:0:0:0:1 [1394341318870] POST /libs/cq/analytics/sitecatalyst/service.json HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
09.03.2014 00:02:05.969 *INFO* [0:0:0:0:0:0:0:1 [1394341318870] POST /libs/cq/analytics/sitecatalyst/service.json HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector Retrying request
09.03.2014 00:02:06.970 *WARN* [0:0:0:0:0:0:0:1 [1394341318870] POST /libs/cq/analytics/sitecatalyst/service.json HTTP/1.1] com.day.cq.analytics.sitecatalyst.impl.SitecatalystHttpClientImpl Request to SiteCatalyst Company.GetEndPoint failed com.day.cq.analytics.sitecatalyst.SitecatalystException: Connection refused: connect

Thanks,

Cq lover

Avatar

Correct answer by
Level 2

Akhil - I would like to add some more information that when I tried this with another CQ instance and network outside my company network it worked. I am able to integrate the site catalyst with CQ using those details which indicates there is nothing problem on site catalyst side. It might be some firewall issue or some other network issue, please help me out.

thank you