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

XMLWordPrintable

      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 :

       

        1. consoleerr.png
          227 kB
          Jaskaran Singh
        2. Screenshot 2025-03-12 at 4.45.36 PM.png
          685 kB
          Jaskaran Singh

              jhronik Jiri Hronik
              1ac11a5ce825 Jaskaran Singh
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: