Gadgets display error messages when using https in apache and (ProxyPass + ajp/http connector)

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • 4.0
    • Affects Version/s: 4.0 - Beta 1
    • Component/s: Dashboard & Gadgets
    • Environment:

      standalone, apache2 on linux ubuntu 8.04.1

    • 4

      We use apache2 as a frontend to confluence, jira, crowd. Users access the site using https, and we use apache's ProxyPass and ProxyPassReverse to forward requests to ajp connectors in confluence, jira, etc., (we use ajp because the jiraissues confluence macro does not work when using the http connector + ProxyPass)

      This configuration works fine in jira 3.13.2.
      However, in jira 4.0.0 beta1, the dashboard shows error messages for each gadget (see screenshot).

      1) AJP connector
      Apache configuration:

          ProxyPass /jira4 ajp://localhost:8111/jira4
          ProxyPassReverse /jira4 ajp://localhost:8111/jira4
      

      Add ajp connector to jira's conf/server.xml:

              <!-- Define an AJP 1.3 Connector on port 8009 -->
                  <Connector port="8111"
                    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
      

      Errors in the log:

      2009-06-03 14:56:25,600 TP-Processor1 WARN [directory.internal.impl.GadgetSpecProviderDirectoryEntryProvider] Could not determine whether plugin-provided gadget spec store contains http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:introduction.xml: URL is not a gadget spec URL for this server http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:introduction.xml

      2009-06-03 14:56:25,601 TP-Processor3 WARN [directory.internal.impl.GadgetSpecProviderDirectoryEntryProvider] Could not determine whether plugin-provided gadget spec store contains http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:assignedtome.xml: URL is not a gadget spec URL for this server http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:assignedtome.xml

      2009-06-03 14:56:25,604 TP-Processor7 WARN [directory.internal.impl.GadgetSpecProviderDirectoryEntryProvider] Could not determine whether plugin-provided gadget spec store contains http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:savedfilters.xml: URL is not a gadget spec URL for this server http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:savedfilters.xml

      2009-06-03 14:56:25,606 TP-Processor8 WARN [directory.internal.impl.GadgetSpecProviderDirectoryEntryProvider] Could not determine whether plugin-provided gadget spec store contains http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:projects.xml: URL is not a gadget spec URL for this server http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:projects.xml

      2009-06-03 14:56:25,608 TP-Processor3 WARN [directory.internal.impl.GadgetSpecProviderDirectoryEntryProvider] Could not determine whether plugin-provided gadget spec store contains http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:admin.xml: URL is not a gadget spec URL for this server http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:admin.xml

      2009-06-03 14:56:25,609 TP-Processor12 WARN [directory.internal.impl.GadgetSpecProviderDirectoryEntryProvider] Could not determine whether plugin-provided gadget spec store contains http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:inprogress.xml: URL is not a gadget spec URL for this server http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:inprogress.xml

      2009-06-03 14:56:25,616 TP-Processor5 WARN [directory.internal.impl.GadgetSpecProviderDirectoryEntryProvider] Could not determine whether plugin-provided gadget spec store contains http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:userissues.xml: URL is not a gadget spec URL for this server http://maxim-desktop:8181/jira4/rest/gadget/1.0/legacy/spec/com.atlassian.jira.plugin.system.portlets:userissues.xml

      2) If I use the http connector, error messages are still displayed in the dashboard (see screenshot). These are "failed to connect" errors. There are no messages in the logs.

      Apache configuration (using http connector):

          ProxyPass /jira4 http://localhost:8181/jira4
          ProxyPassReverse /jira4 http://localhost:8181/jira4
      

        1. jira4-beta-dashboard-proxypass-ajp.PNG
          45 kB
          Ronald Taneza
        2. jira4-beta-dashboard-proxypass-http.PNG
          30 kB
          Ronald Taneza

            Assignee:
            Andreas Knecht (Inactive)
            Reporter:
            Ronald Taneza
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: