Synchrony heartbeat is blocked when the system property "synchrony.context.path" is set

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 8.7.1, 8.5.8, 9.2.10
    • Component/s: Editor - Synchrony
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      When the system property "synchrony.context.path" is set, Synchrony heartbeat is blocked with the following log message.

      2025-11-17 02:15:10,639 WARN [lifecycle:thread-9] [plugins.synchrony.bootstrap.SynchronyInteropBootstrap] onStart An exception occurred while waiting for Synchrony to start: com.atlassian.confluence.api.service.exceptions.IllegalURLException: The provided url- http://127.0.0.1:8091/synchrony-test/heartbeat is not included in the whitelist!.Please add the url to whitelist to allow access
      

      The symptom appears on Confluence 8.7+ and 8.5.8+.

      Steps to Reproduce

      1. Add the system property "-Dsynchrony.context.path=/synchrony-test" to CATALINA_OPTS
      2. Restart Confluence

      Expected Results

      The Synchrony heartbeat works without any error logs.

      Actual Results

      The following error was logged in atlassian-confluence.log, and the heartbeat was blocked.

      2025-11-17 02:15:10,639 WARN [lifecycle:thread-9] [plugins.synchrony.bootstrap.SynchronyInteropBootstrap] onStart An exception occurred while waiting for Synchrony to start: com.atlassian.confluence.api.service.exceptions.IllegalURLException: The provided url- http://127.0.0.1:8091/synchrony-test/heartbeat is not included in the whitelist!.Please add the url to whitelist to allow access
      

      Workaround

      Add the URL of the Synchrony context path which is set by the system property to the whitelist.

            Assignee:
            Unassigned
            Reporter:
            Yukinobu Moriya
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: