Gadgets do not display when failing to access XML specification

Still need help?

The Atlassian Community is here for you.

Ask the community


When integrating JIRA with a proxy server, the Dashboard Gadget can't be displayed with the below exception thrown in Gadget:

org.apache.shinding.gadgets.GadgetException: Unable to retrieve gadget xml. HTTP error 500.


JIRA Gadgets use the extensible REST Plugin Module framework, which provides access to resources via URI paths. The JIRA self-generated outgoing URL fails to access the requested spec XML. This failure can be caused by different reasons:

  • A loop-back bug of JIRA 4.0. See Gadgets do not display correctly after upgrade to JIRA 4.0
  • A firewall restriction for JIRA self-generated outgoing request
  • A mismatched domain and port in JIRA self-generated outgoing request
  • A mismatched request scheme in JIRA self-generated outgoing request
  • A URL domain of JIRA self-generated outgoing request can't be detected in JIRA
  • Gadget feed URL healthcheck fails when JIRA is unable to request gadget information due to SSL/connectivity issues with requests originating from Jira to Jira's base URL.


Depending on the cause above, there's a different resolution

  1. If you're using JIRA 4.0, please upgrade to the version above JIRA 4.0.1 or later, which includes the fix for proxy loop-back bug
  2. If there's a firewall between the proxy and JIRA's application server which has a restriction, remove that restriction.
  3. Edit <JIRA_Installation_Home>/conf/server.xml (Standalone), or <Catalina_Home>/conf/server.xml for Ear-War deployment. Specify scheme/proxyName/proxyPort attributes in JIRA Connector, e.g.

    <Connector port="8080"

    notes: scheme should be either http or https, which's consistent with the request scheme used to access proxy (instead of JIRA application server).

  4. Test if the domain name of proxy server can be detected on JIRA application server; for example


    If the proxy's domain can't be detected on JIRA application server, adjust the hosts file or DNS to fix it.

  5. If the Gadget feed URL healthcheck is reporting an error refer to different possible resolutions described in

Last modified on May 6, 2019

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.