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

XML workflow editor is not showing with SSL reverse proxy setup

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.4.2 CE GA3
    • Fix Version/s: None
    • Component/s: Workflow
    • Labels:
      None
    • Branch Version/s:
      7.4.x
    • OS:
      Debian 10
    • JDK:
      Oracle Sun JDK 8
    • Application Servers:
      Apache Tomcat 9.0.x
    • Browsers:
      Firefox (latest)
    • Databases:
      MySQL 5.7
    • Device Type:
      Desktop

      Description

      Hello,

      I'm having an issue setting up the Liferay 7.4.2 CE version. I deployed the same version of the portal in two different environments: 1) locally on my computer (Ubuntu 18.04 OS) using the tomcat server and 2) using the Tomcat server,  but running behind an Apache SSL reverse proxy in a Debian OS.

       

      The portal that I deployed locally and does not use the SSL reverse proxy works well, but that is not the case when I use the SSL reverse proxy: most of the functionalities work normally, but it is not possible to create/edit workflows because the component is not showing in the interface:

      Before I thought this was happening because of the redirect. However, I changed the Redirect URLs configuration to use domains as security mode, included the allowed domains, and although this error is no longer showing in the log, the workflow builder is still not appearing in the interface.

       

      I also used the inspect console and these are the errors that I found

       

      Uncaught TypeError: this.element.style is undefined
      i https://host/combo/?browserId=firefox&minifierType=&languageId=en_US&b=7402&t=1627477411744&/o/frontend-js-aui-web/aui/aui-ace-editor/aui-ace-editor-min.js:43
      f https://host/combo/?browserId=firefox&minifierType=&languageId=en_US&b=7402&t=1627477411744&/o/frontend-js-aui-web/aui/aui-ace-editor/aui-ace-editor-min.js:43
      y https://host/combo/?browserId=firefox&minifierType=&languageId=en_US&b=7402&t=1627477411744&/o/frontend-js-aui-web/aui/aui-ace-editor/aui-ace-editor-min.js:50
      edit https://host/combo/?browserId=firefox&minifierType=&languageId=en_US&b=7402&t=1627477411744&/o/frontend-js-aui-web/aui/aui-ace-editor/aui-ace-editor-min.js:61
      getEditor https://host/combo/?browserId=firefox&minifierType=&languageId=en_US&b=7402&t=1627477411744&/o/frontend-js-aui-web/aui/aui-ace-editor/aui-ace-editor-min.js:62

      Source map error: Error: request failed with status 404
      Resource URL: https://host/combo/?browserId=firefox&minifierType=&languageId=en_US&b=7402&t=1627477411744&/o/js/resolved-module/[email protected]/surface/Surface.js&/o/js/resolved-module/[email protected]/util/utils.js&/o/js/resolved-module/[email protected]/util/pathParser.js&/o/js/resolved-module/[email protected]/route/Route.js&/o/js/resolved-module/[email protected]/cacheable/Cacheable.js&/o/js/resolved-module/[email protected]/screen/Screen.js&/o/js/resolved-module/[email protected]/app/App.js&/o/js/resolved-module/[email protected]/app/LiferayApp.js&/o/js/resolved-module/[email protected]/screen/RequestScreen.js&/o/js/resolved-module/[email protected]/screen/HtmlScreen.js&/o/js/resolved-module/[email protected]/screen/EventScreen.js&/o/js/resolved-module/[email protected]/screen/ActionURLScreen.js&/o/js/resolved-module/[email protected]/screen/RenderURLScreen.js&/o/js/resolved-module/[email protected]/init.js
      Source Map URL: init.js.map

      Source map error: Error: request failed with status 404
      Resource URL: https://host/combo/?browserId=firefox&minifierType=&languageId=en_US&b=7402&t=1627477411744&/o/js/resolved-module/[email protected]/lib/ComponentRegistry.js&/o/js/resolved-module/[email protected]/lib/all/component.js&/o/js/resolved-module/[email protected]/liferay/PortletBase.es.js&/o/js/resolved-module/[email protected]/liferay/DefaultEventHandler.es.js&/o/js/resolved-module/[email protected]/liferay/events/Disposable.js&/o/js/resolved-module/[email protected]/liferay/events/EventHandle.js&/o/js/resolved-module/[email protected]/liferay/events/EventEmitter.js&/o/js/resolved-module/[email protected]/liferay/events/EventHandler.js&/o/js/resolved-module/[email protected]/liferay/util/toggle_disabled.js&/o/js/resolved-module/[email protected]/liferay/ItemSelectorDialog.es.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/Group.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/Button.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/ButtonWithIcon.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/Portal.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/delegate.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/Keys.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/useFocusManagement.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/FocusScope.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/getEllipsisItems.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/Context.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/LinkOrButton.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/sub.js
      Source Map URL: sub.js.map

       

      Which is kind of weird because these resources are not missing in the portal that I installed locally.

       

       

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            danielly.sorato Danielly Sorato
            Participants of an Issue:
            Recent user:
            Danielly Sorato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              10 weeks, 1 day ago

                Packages

                Version Package