Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-45273

Remove the healthcheck for the synchrony-proxy webapp when Confluence is started up and monitor the proxy's running status

    Details

    • Type: Suggestion
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.2
    • Component/s: None
    • Last commented by user?:
      true
    • Sprint:
      Enterprise is lovely
    • Testing Notes:
      Hide
      *Prerequisites:*
       * Set up a reverse proxy (i.e. Nginx) in front of Confluence.
       * Set up SSL.

      *Variables:*
       * confluence.cfg.xml
       * base url
       * system property
       * SSL
       * (with or without) reverse proxy 

      *Scenarios:*
       Test if collaborative editing still works in the following cases:
       # The proxy is enabled via the system property {{synchrony.proxy.enabled=true}}. (expected: localhost/synchrony-proxy) (/)
       # The proxy is disabled via the system property {{synchrony.proxy.enabled=false}} but the same property is set to true in {{confluence.cfg.xml}}. (expected: localhost/synchrony) (/)
       # Remove the system property and the synchrony.proxy.enabled=true in confluence.cfg.xml (expected: localhost/synchrony) (/)
       # The {{proxyPort}} is missing in Tomcat's {{server.xml, synchrony.proxy.enabled=true in the confluence.cfg.xml, the base URL is set to localhost:8080/confluence (expected: localhost:8080/synchrony-proxy) (/)}}
       # The Confluence property {{synchrony.proxy.enabled=false}} in {{confluence.cfg.xml}}. (expected: localhost:8091/synchrony) with base url set to localhost:8080/confluence (/)

      *Extra:*
       Turn off the reverse proxy, and set up SSL in Tomcat.
       * Set the system property {{synchrony.proxy.enabled=true}}. *Expected:* Check if the synchrony-proxy is enabled as (expected: localhost:8443/synchrony-proxy) and collaborative editing still works. (/)
       * Clear the system property {{synchrony.proxy.enabled}}, the app config {{synchrony.proxy.enabled=true}}. *Expected:* Check if the synchrony-proxy is enabled as (expected: localhost:8443/synchrony-proxy and collaborative editing still works. (/)
       * Set the system property {{synchrony.proxy.enabled=false}}, the app config {{synchrony.proxy.enabled=true}}. *Expected:* Check if the synchrony-proxy is enabled as (expected: localhost:8091/synchrony) and collaborative editing does not work (/)
       * Clear system property {{synchrony.proxy.enabled=false}}, the app config {{synchrony.proxy.enabled=false}}. *Expected:* Check if collaborative editing doesn't work (expected). (/)
      Show
      *Prerequisites:*  * Set up a reverse proxy (i.e. Nginx) in front of Confluence.  * Set up SSL. *Variables:*  * confluence.cfg.xml  * base url  * system property  * SSL  * (with or without) reverse proxy  *Scenarios:*  Test if collaborative editing still works in the following cases:  # The proxy is enabled via the system property {{synchrony.proxy.enabled=true}}. (expected: localhost/synchrony-proxy) (/)  # The proxy is disabled via the system property {{synchrony.proxy.enabled=false}} but the same property is set to true in {{confluence.cfg.xml}}. (expected: localhost/synchrony) (/)  # Remove the system property and the synchrony.proxy.enabled=true in confluence.cfg.xml (expected: localhost/synchrony) (/)  # The {{proxyPort}} is missing in Tomcat's {{server.xml, synchrony.proxy.enabled=true in the confluence.cfg.xml, the base URL is set to localhost:8080/confluence (expected: localhost:8080/synchrony-proxy) (/)}}  # The Confluence property {{synchrony.proxy.enabled=false}} in {{confluence.cfg.xml}}. (expected: localhost:8091/synchrony) with base url set to localhost:8080/confluence (/) *Extra:*  Turn off the reverse proxy, and set up SSL in Tomcat.  * Set the system property {{synchrony.proxy.enabled=true}}. *Expected:* Check if the synchrony-proxy is enabled as (expected: localhost:8443/synchrony-proxy) and collaborative editing still works. (/)  * Clear the system property {{synchrony.proxy.enabled}}, the app config {{synchrony.proxy.enabled=true}}. *Expected:* Check if the synchrony-proxy is enabled as (expected: localhost:8443/synchrony-proxy and collaborative editing still works. (/)  * Set the system property {{synchrony.proxy.enabled=false}}, the app config {{synchrony.proxy.enabled=true}}. *Expected:* Check if the synchrony-proxy is enabled as (expected: localhost:8091/synchrony) and collaborative editing does not work (/)  * Clear system property {{synchrony.proxy.enabled=false}}, the app config {{synchrony.proxy.enabled=false}}. *Expected:* Check if collaborative editing doesn't work (expected). (/)
    • Development Effort:
      M
    • QA Demo Status:
      Done
    • QA Kickoff Status:
      Not Needed

      Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      The idea is that we will assume that the proxy is started successfully, then we will do the health check for the proxy and log out any errors found.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ttranminh Tam Tran Minh
                Reporter:
                ttranminh Tam Tran Minh
                Participants:
                Last Touched By:
                Katherine Yabut
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  51 weeks, 3 days ago

                  Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 8h
                  8h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified