Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-99416

Unable to add Roadmap Planner macro in confluence 9.2.1 without HTTPS

      Issue Summary

      For a confluence instance where SSL is not configured and application is accessed using http and not https, we can not add roadmap planner macro. When we click the Insert button, there is no response and nothing happens.

      On checking the logs no significant errors are observed.

      However, on checking the console logs from the browser dev tools, below error is seen :

      On checking for this error, found the below discussion regarding the same error message :

      The first response to this question in the above link tells us that the digest likely refers to window.crypto.subtle.digest of the Web Crypto API. if using a Chromium-based browser, according to the the Chromium Projects page here, the subtle property can only be used in a secure origin:

      Access to the WebCrypto API is restricted to secure origins (which is to say https:// pages).

      Note: In the spec, crypto.subtle is supposed to be undefined in insecure contexts

      Because digest is a method of subtle, and subtle is undefined, it can be getting this error.

      It seems that the front-end libraries try to reach out to the Web Crypto API and the browser is only allowing the users while using an HTTPS connection.

      Steps to Reproduce

      Pre-condition : In order to reproduce this issue, Confluence should be accessed over http and not https.

      1. Install Confluence 9.2.1 on Linux OS.
      2. Create a page.
      3. Try to insert 'Roadmap Planner' macro.

      Expected Results

      Roadmap Planner should be added to the page.

      Actual Results

      Nothing happens on clicking 'Insert' button and unable to add macro to the page.

      Workaround

      Based on above analysis, on using a secure connection (HTTPS/SSL) to access confluence, issue is not faced anymore and it allows user to add the roadmap planner successfully on the same instance as shown below :

       

            [CONFSERVER-99416] Unable to add Roadmap Planner macro in confluence 9.2.1 without HTTPS

            James Ponting made changes -
            Fix Version/s Original: 10.0.0 [ 111391 ]
            Fix Version/s New: 10.0.1 [ 113254 ]
            Zac Xu made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Cathy S made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 1025003 ]
            Jiri Hronik made changes -
            Remote Link New: This issue links to "Confluence Bundled Plugins 95 › Confluence Public Plugins › issue-95-CONFSERVER-99416-merge-19.4-to-19.5-20250530 (server-syd-bamboo)" [ 1024031 ]
            Jiri Hronik made changes -
            QA Demo Status Original: Not Done [ 14330 ] New: Done [ 14331 ]
            QA Kickoff Status Original: Not Done [ 14234 ] New: Not Needed [ 14236 ]
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Jiri Hronik made changes -
            Fix Version/s New: 9.2.5 [ 113093 ]
            Fix Version/s New: 10.0.0 [ 111391 ]
            Jiri Hronik made changes -
            Remote Link New: This issue links to "Confluence Bundled Plugins 94 › Confluence Public Plugins › issue-94-CONFSERVER-99416-merge-19.2-to-19.4-20250529 (server-syd-bamboo)" [ 1023495 ]
            conf-dc-jira-bot made changes -
            Labels Original: ewt-rtb-service-operations-and-tech-entropy knights-watch sec-escape warranty New: ewt-rtb-service-operations-and-tech-entropy internal-kickoff knights-watch sec-escape warranty
            conf-dc-jira-bot made changes -
            Link New: This issue depends on CONFSRVDEV-41783 [ CONFSRVDEV-41783 ]
            Engineering Taxonomy Bot made changes -
            Labels Original: knights-watch sec-escape warranty New: ewt-rtb-service-operations-and-tech-entropy knights-watch sec-escape warranty

              jhronik Jiri Hronik
              1ac11a5ce825 Jaskaran Singh
              Affected customers:
              1 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: