Hello Appian Community - I'm following the guide for the Appian Version Manager here:
Deployment Automation
I'm facing an issue when running the `version-application.sh` file where it's erroring out when the tool is trying to send metrics to Google Analytics. My company has security tooling that I suspect is causing this. Is there a way to disable the Google Analytics when running the shell script? The error output is below. Thanks in advance!
2024-01-11 14:26:41,514 - Checking for DDLs2024-01-11 14:26:41,519 - Checking for Flyway directories2024-01-11 14:26:41,648 - Committed all changes to repository at \.local-repo\.git. Commit hash: ffc9cd21f4d874a4f2d9a4cd69e8d50d8cf3eabd2024-01-11 14:26:43,092 - Changes pushed successfully.2024-01-11 14:26:43,094 - close() called when useCnt is already zero for Repository[\.local-repo\.git]2024-01-11 14:26:43,477 - Exception while sending the Google Analytics tracker request com.brsanthu.googleanalytics.httpclient.HttpRequest@6f05106cjavax.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 sun.security.ssl.Alert.createSSLException(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.TransportContext.fatal(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.TransportContext.fatal(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.TransportContext.fatal(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.SSLHandshake.consume(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.HandshakeContext.dispatch(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.HandshakeContext.dispatch(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.TransportContext.dispatch(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.SSLTransport.decode(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.SSLSocketImpl.decode(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:1.8.0_281] at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:436) ~[appian-adm-versioning-client-2.5.30.jar:?] at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384) ~[appian-adm-versioning-client-2.5.30.jar:?] at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ~[appian-adm-versioning-client-2.5.30.jar:?] at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[appian-adm-versioning-client-2.5.30.jar:?] at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[appian-adm-versioning-client-2.5.30.jar:?] at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[appian-adm-versioning-client-2.5.30.jar:?] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[appian-adm-versioning-client-2.5.30.jar:?] at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[appian-adm-versioning-client-2.5.30.jar:?] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[appian-adm-versioning-client-2.5.30.jar:?] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[appian-adm-versioning-client-2.5.30.jar:?] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[appian-adm-versioning-client-2.5.30.jar:?] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[appian-adm-versioning-client-2.5.30.jar:?] at com.brsanthu.googleanalytics.httpclient.ApacheHttpClientImpl.execute(ApacheHttpClientImpl.java:86) ~[appian-adm-versioning-client-2.5.30.jar:?] at com.brsanthu.googleanalytics.httpclient.ApacheHttpClientImpl.post(ApacheHttpClientImpl.java:102) ~[appian-adm-versioning-client-2.5.30.jar:?] at com.brsanthu.googleanalytics.internal.GoogleAnalyticsImpl.postSingle(GoogleAnalyticsImpl.java:165) ~[appian-adm-versioning-client-2.5.30.jar:?] at com.brsanthu.googleanalytics.internal.GoogleAnalyticsImpl.post(GoogleAnalyticsImpl.java:105) ~[appian-adm-versioning-client-2.5.30.jar:?] at com.brsanthu.googleanalytics.internal.GoogleAnalyticsImpl.lambda$postAsync$0(GoogleAnalyticsImpl.java:91) ~[appian-adm-versioning-client-2.5.30.jar:?] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_281] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_281] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_281] at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]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(Unknown Source) ~[?:1.8.0_281] at sun.security.validator.PKIXValidator.engineValidate(Unknown Source) ~[?:1.8.0_281] at sun.security.validator.Validator.validate(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source) ~[?:1.8.0_281] ... 33 moreCaused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source) ~[?:1.8.0_281] at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source) ~[?:1.8.0_281] at java.security.cert.CertPathBuilder.build(Unknown Source) ~[?:1.8.0_281] at sun.security.validator.PKIXValidator.doBuild(Unknown Source) ~[?:1.8.0_281] at sun.security.validator.PKIXValidator.engineValidate(Unknown Source) ~[?:1.8.0_281] at sun.security.validator.Validator.validate(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source) ~[?:1.8.0_281] at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source) ~[?:1.8.0_281] ... 33 more2024-01-11 14:26:43,482 - Exception while sending the Google Analytics tracker request Request [parms={EVENT_CATEGORY=ADM Versioning Client, USER_LANGUAGE=en-US, TRACKING_ID=UA-118652049-3, DOCUMENT_ENCODING=Cp1252, CLIENT_ID=0c05a6d5-34ff-431a-8873-29b94800ea6c, EVENT_VALUE=6401, HIT_TYPE=event, USER_ID=5e11dd66b0b6a5832eea74612e3c424922f9dd406bcbd92c5b64e2380827350a, PROTOCOL_VERSION=1, EVENT_ACTION=Add Contents, EVENT_LABEL=Execution Time (ms)}, customDimensions={cd2=Standalone, cd1=5e11dd66b0b6a5832eea74612e3c424922f9dd406bcbd92c5b64e2380827350a}, customMetrics={}]java.lang.NullPointerException: null at com.brsanthu.googleanalytics.httpclient.ApacheHttpClientImpl.post(ApacheHttpClientImpl.java:113) ~[appian-adm-versioning-client-2.5.30.jar:?] at com.brsanthu.googleanalytics.internal.GoogleAnalyticsImpl.postSingle(GoogleAnalyticsImpl.java:165) ~[appian-adm-versioning-client-2.5.30.jar:?] at com.brsanthu.googleanalytics.internal.GoogleAnalyticsImpl.post(GoogleAnalyticsImpl.java:105) ~[appian-adm-versioning-client-2.5.30.jar:?] at com.brsanthu.googleanalytics.internal.GoogleAnalyticsImpl.lambda$postAsync$0(GoogleAnalyticsImpl.java:91) ~[appian-adm-versioning-client-2.5.30.jar:?] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_281] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_281] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_281] at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
Discussion posts and replies are publicly visible
From that page you linked to:
Hello Mathieu - thanks for your suggestion. I'm running the AVM tool from my command line not the web browser. Is there a way to disable from the command line?