Could not connect to license server

I am facing licensing issue with server due which couldn’t able to launch Appium Studio Community edition.
Appium Studio Community Edition version : 20.4.6801
MacOS : Catalina 10.15.4

Please help me how to solve below issue, early it was working fine.
would you share the license server address?

Error.log

2020-06-08 15:20:02,782 [main] (experitest.licenseutil.CommunityLicenseUtils) ERROR Could not connect to license server
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 sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1283)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1258)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
at com.experitest.licenseutil.CommunityLicenseUtils.doRestMethod(CommunityLicenseUtils.java:103)
at com.experitest.licenseutil.CommunityLicenseMgr.pingLicenseServer(CommunityLicenseMgr.java:92)
at com.experitest.licenseutil.CommunityLicenseMgr.init(CommunityLicenseMgr.java:65)
at com.experitest.licenseutil.CommunityLM.initLicense(CommunityLM.java:32)
at com.experitest.Headless.performStaticInitialize(Headless.java:519)
at imagestudio.ImageStudioApp$1.call(ImageStudioApp.java:177)
at imagestudio.ImageStudioApp$1.call(ImageStudioApp.java:133)
at com.experitest.utils.LocalInterProcessLock.tryToReentrivelyExecute(LocalInterProcessLock.java:97)
at imagestudio.ImageStudioApp.main(ImageStudioApp.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85)
at com.install4j.runtime.launcher.MacLauncher.main(MacLauncher.java:52)
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:387)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
… 27 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
… 33 more
2020-06-08 15:20:02,784 [main] (experitest.licenseutil.CommunityLicenseMgr) ERROR Failed to receive respond from license server
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 sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)

Hi Experitest team, Please help me here, blocking our work, thanks

the license server is https://mhpfsdcush.execute-api.us-east-2.amazonaws.com/

But I think you also may have to try using your company proxy server in Appium Studio

Thank you! let me try

Can I add company proxy server in Appium Studio as mentioned in doc : https://docs.experitest.com/display/TC/AS-+Proxy+Configuration ?

Hi Kishore,

I contacted to our Network team for whitelisting the license server ( https://mhpfsdcush.execute-api.us-east-2.amazonaws.com/), but it throwing Forbidden message.

Network team asking what Ip and steps how to do whitelisting it.

Could you please help me here on it.

Thank you !
Sanjay

Hi Appium Team,

Do we need to access “setup.icloud.com” url while whitelisting it? Plz suggest, it long pending task

Br,
Sanjay