Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3549

Studio 3.1.2 GA3 Installation Fails Due to Missing DXP Token

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.1.2
    • Fix Version/s: None
    • Component/s: Installer
    • Labels:
      None
    • Environment:
      Windows 7

      Description

      Description:
      The client reports being unable to install LDS due to a missing DXP token error. I have been able to reproduce this issue but the resolution provided in the following IDE ticket fixed the issue for me.
      -IDE-3368-

      I provided the information to the client but they are receiving the following error when running the command:

      Command

      java -jar "com.liferay.portal.tools.bundle.support-3.0.2.jar" createToken --force --email varun.shah@medimpact.com --password xxxxx

      Error

      Exception in thread "main" 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:1884)
              at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)
              at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270)
              at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1341)
              at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153)
              at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
              at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
              at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)
              at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
              at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
              at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
              at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
              at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
              at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
              at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
              at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
              at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
              at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
              at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
              at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
              at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
              at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
              at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
              at com.liferay.portal.tools.bundle.support.internal.util.HttpUtil.createToken(HttpUtil.java:89)
              at com.liferay.portal.tools.bundle.support.commands.CreateTokenCommand.execute(CreateTokenCommand.java:66)
              at com.liferay.portal.tools.bundle.support.BundleSupport.main(BundleSupport.java:73)
      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:385)
              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:326)
              at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
              at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)
              at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323)
              ... 22 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:196)
              at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
              at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
              ... 28 more

      I wondered if this had something to do with the client's network or firewall but I am not sure.

      Steps To Reproduce:

      1. On a Windows 7 machine, download Liferay Developer Studio 3.1.2 GA3 for Windows
      2. Open the installer
      3. Begin setup by clicking Next
      4. Leave the default location and click Next
      5. Select "Liferay DXP Bundle and click Next
      6. Enter liferay.com credentials and start the download

      Expected Results:
      The download completes and the installer completes the LDS installation.

      Actual Results:
      The installer begins downloading, stops, then fails with a DXP token download error.

       

        Attachments

          Activity

            People

            Assignee:
            lr_ide LR IDE
            Reporter:
            jonathan.aichler Jonathan Aichler (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 14 weeks ago

                Packages

                Version Package