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

Improve the Reliability of Application Links In a Reverse Proxy Environment

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • None
    • None
    • 1
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

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

      The current Application Links mechanism is plagued by a number of issues, when it comes to integration between Confluence and JIRA in a reverse proxy environment. Examples include:

      https://jira.atlassian.com/browse/CONF-36648
      https://jira.atlassian.com/browse/CONF-33654
      https://jira.atlassian.com/browse/CONF-22283

      This is especially a problem when the following condition is not met:
      (taken from Configuring Tomcat for use with a HTTP proxy ):

      When using a reverse proxy, the application server (Tomcat) must be aware of the proxy to ensure that the correct addresses and URLs are sent back to the client. If this is not correctly set up, Tomcat will return the hostname and IP that it's listening on, rather than the address that clients use to access the application.

      Different reverse proxies have different configurations making it difficult for our customers to determine the optimal configuration to make Tomcat "aware" of the proxy. We should make this requirement as relaxed as possible, to avoid NPE such as the following:

      java.lang.NullPointerException
      	at com.atlassian.confluence.plugins.jira.AppLinksProxyRequestServlet.doProxy(AppLinksProxyRequestServlet.java:73)
      	at com.atlassian.confluence.plugins.jira.AbstractProxyServlet.doGet(AbstractProxyServlet.java:46)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fsim Foo Sim (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: