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

No specified timeout for tunnel connections

    Details

      Description

      Liferay does not specify any timeout for HTTP connections using TunnelUtil, and does not offer a means to do so. This leads to extremely long load times or even loss of usability for administrators if the remote server goes down.

      Steps to reproduce:

      1. Start up two Liferay instances on different machines (or one using a VM)
      2. Create a new site on both instances
      3. On the first instance of Liferay, set up remote staging on the new site to publish to the new site on the second instance (make sure firewall is disabled)
      4. Create a public page on the first (Staging) instance and publish it to the live site
      5. Restrict remote access to the second ("live") machine/VM (either through the use of firewall, removal of security group, etc.)
      6. On the first (Staging) instance, log out, and navigate back to the site as a guest user (i.e., change the URL)
      7. Log back in as the Test user and navigate back to the page again
        Expected result: for both the Test and guest user, page load times are roughly the same, and neither longer than ten seconds.
        Actual result: The Test user takes significantly longer to load the page, and it takes longer than ten seconds. The guest user only takes a few seconds.

      Reproduced in master: bcbba7a12661b0f6352f4b0c7d477a52ac5a55db
      Reproduced in ee-7.0.x: 75542d7eadadd5e38fa0259b108571f4012b0363

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lu.liu Lu Liu
              Reporter:
              alec.shay Alec Shay
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 12 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP26
                  7.0.X EE
                  7.0.4 CE GA5
                  7.1.X
                  Master