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

Cannot publish to remote live over IPV6 connection

    Details

    • Fix Priority:
      4
    • Sprint:
      FlexSprint13, FlexSprint14, FlexSprint15

      Description

      Steps to reproduce

      1. Add the following properties into portal-ext.properties for local server and remote server
        1. redirect.url.ips.allowed=127.0.0.1,SERVER_IP,0:0:0:0:0:0:0:1
        2. tunnel.servlet.hosts.allowed=[0:0:0:0:0:0:0:1]
        3. tunneling.servlet.shared.secret=1234567890123456
        4. auth.verifier.TunnelAuthVerifier.hosts.allowed=[0:0:0:0:0:0:0:1]
      2. In application servers like Tomcat or Wildfly
        1. Go to tomcat-9.0.10/bin/
        2. Open "setenv.sh" or "setenv.bat" in a text editor
        3. Set -Djava.net.-Djava.net.preferIPv4Stack=false
        4. Save and close
      3. Update TunnelAuthVerfierConfiguration of your both local and remote Liferay instances > Control Panel → Configuration → System Settings → API Authentication → Tunnel Authentication
        1. Click /api/liferay/do
        2. In a hosts allowed field, add your ip address e.g 127.0.0.1,SERVER_IP,[IPV6 Address here]
      4. Save and restart your liferay instances
      5. Sign In and activate remote staging
      6. Add a page/web content article
      7. Publish to remote live

      Expected result:
      Publish to remote site is successful.
      Actual result:
      New page is opened and remote publication is not successful.

      Tomcat 9.0 + MySQL 5.7.
      Portal Master GIT ID: b61f00856ab5d13fa85ec8750dc841eee66178f8.
      Portal 7.2.x GIT ID: b492ef9c31607b7e14a086d6f6d92a97f1f92963.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              koor.gai Koor Gai
              Participants of an Issue:
              Recent user:
              Victor Ware
              Engineering Assignee:
              Michael Eguina
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                1 week, 3 days ago

                  Packages

                  Version Package