Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-91829

remote staging error is caused by selecting the secure connection option

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.0.X, 7.1.X, 7.2.X, Master
    • Fix Version/s: Master
    • Component/s: Staging

      Description

      Bug:

      When configuring the remote staging connection error is caused by selecting the secure connection option on (checked box). You can still connect to remote staging, if the secure connection option is turned off (unchecked box).

       

      Set up:

      *Local Live: http://localhost:9080/* 
      *Remote: http://localhost:8080/* 

      Steps to Reproduce:

      1)  Live- Open incognito window: URL: 127.0.0.1:9080

      2) Remote- Open incognito window: localhost:8080

      3) Go to Live site. Create a new site.  Note: the Live site id to use in step#6.

      4) Go to Remote site. Control Panel>Site. Create a new site. 

      5) In Remote site. Go to Administration> Publishing> Staging. Select Remote Live.

      6)  Enter Remote Live Connection Settings

      • Remote Host/IP: 127.0.0.1
      • Remote Port: 9080
      • Remote Site ID: (Live site id#)

      7) Check box. Use a secure network connection.

      8) Staged Contents. Check box, Select all. 

      9) Save. 

      Expected Results:

       Should connect to remote staging.

      Actual Result:

      Did not connect to remote staging. Displayed an error message. Unexpected error occurred in initial publication. See image.

       

      Other: Console Error:

      Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

      2019-03-08 18:09:41.331 DEBUG [http-nio-8080-exec-6][StagingConfigurationPortlet:175] com.liferay.exportimport.kernel.exception.RemoteExportException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

       

      Reproduced on Environment: 

      Alpine Linux 3.8.1+Tomcat 9.0.10+MySQL5.7
      Git ID: 59035aea7242c0f9484270213a9ba712946c2221

       

        Attachments

        1. 8080staging-error.png
          8080staging-error.png
          115 kB
        2. 9080 site remote-secure.png
          9080 site remote-secure.png
          134 kB
        3. live-site-id.png
          live-site-id.png
          93 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                29 weeks ago

                Packages

                Version Package
                Master