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


    • 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



      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:

      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:
      • 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



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



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


              • Created:
                Days since last comment:
                41 weeks, 6 days ago


                Version Package