Gadget Exception Unable To Retrieve Gadget Xml. Http Error 404
Contents |
the below exceptions shown in Gadget window on the Dashboard: Http status 404 - /plugins/servlet/gadgets/ifr Error loading gadget: org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml. HTTP error 404 Causes and Resolutions This issue could be caused by any number of reasons - please review each error occurred while retrieving gadget spec cause and solution in turn: Cause 1 The problem is caused by an incorrect JIRA
Unable To Retrieve Gadget Xml. Http Error 500
home setting and typically when JIRA home is set as same as "appBase" of Tomcat Host. Resolution Shutdown JIRA Follow Setting your jira this gadget cannot be displayed on your dashboard JIRA Home Directory to change the JIRA Home Directory. The JIRA Home directory should be different than the installation directory, or where the webapp is deployed. Restart JIRA Cause 2 The problem is caused by SSL misconfiguration. jira not all gadgets have loaded Resolution Make sure you are using a real certified secure certificate, not a self-signed one Reimport the certificate using the following command. You will need a .p7b and .jks file: keytool -import -trustcacerts -alias server -file
Jira Gadgets
(if JIRA and another product share the same VM) When testing, change the client's hosts file to point the SSL name to the IP address (for example - C:\windows\system32\drivers\etc\hosts) Cause 3 The problem is caused by an application being down, plugin being removed, or plugin being out of date. Resolution If the gadget relies on data from another system (E.G. Confluence, Fisheye, Bamboo), make sure that the related applications are up and running with no problems. If the gadget relies on data from a plugin, make sure that the plugin is operating properly, is not removed, and is not out of date. Cause 4 The problem is caused to outdated indexes/corrupted work directory. Do note that JIRA is required to perform a full re-index upon removing the indexes directory. Therefore, we highly suggest to perform this suggestion during off office hours, as it needs a down time for JIRA to rebuild the indexes. Resolution Shutdown JIRA Remove the content within the following directory:
retrieve gadget xml. HTTP error 504 when adding Confluence gadget to JIRA dashboardLog In ExportXMLWordPrintableDetails Type: Bug Status: Resolved (View Workflow) Priority: Low Resolution: Fixed Affects Version/s: 6.1, 6.1.5, 6.2.4 Fix Version/s: 6.2.5, 6.3-OD-5 Component/s: Dashboards & Reports - Gadgets Labels: st10 Testing Notes: Hide To verify: JIRA with turned on gzip compression is not https://confluence.atlassian.com/jirakb/dashboard-gadgets-do-not-display-http-status-404-or-org-apache-shindig-gadgets-gadgetexception-222200924.html producing responses with incorrect Content-Length header (Content-Length with value different than actual content size) JIRA gadgets can be served and consumed between two JIRA instances with turned on gzip compression JIRA is not producing responses containing both: Transfer-Encoding Content-Length JIRA https://jira.atlassian.com/browse/JRA-35223 is not producing responses with content and without at least one of: Content-Length Transfer-Encoding Show To verify: JIRA with turned on gzip compression is not producing responses with incorrect Content-Length header (Content-Length with value different than actual content size) JIRA gadgets can be served and consumed between two JIRA instances with turned on gzip compression JIRA is not producing responses containing both: Transfer-Encoding Content-Length JIRA is not producing responses with content and without at least one of: Content-Length Transfer-Encoding Description After user add a JIRA Activity Stream gadget URL to the gadget directory in JIRA, we get the following stack trace: 0com.atlassian.gadgets.GadgetParsingException: com.atlassian.gadgets.GadgetParsingException: org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml. HTTP error 504 at com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider.validateGadgetSpec(ConfigurableExternalGadgetSpecDirectoryEntryProvider.java:140) at com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider.access$100(ConfigurableExternalGadgetSpecDirectoryEntryProvider.java:32) at com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider$1.doInTransaction(
URL error https://confluence.atlassian.com/confkb/unable-to-register-external-gadgets-due-to-invalid-gadget-url-or-500-error-response-306348879.html message: When trying to register Gadget https://answers.atlassian.com/questions/20468/unable-to-retrieve-gadget-xml-why-all-component-imports-make-my-gadget-dissapear Feeds, it will be added successfully. However, none of the gadget will show up in theMacro Browser. You have JIRA Mobile plugin (com.atlassian.mobile.jira-mobile) installed in JIRA. Note unable to it's different than JIRA Mobile Connect plugin (com.atlassian.jconnect.jconnect-plugin). The following appears in the atlassian-confluence.logwhen trying to register individual external gadget (e.g. JIRA or GreenHopper gadget): 2012-10-02 08:01:03,432 WARN [http-8090-6] [gadgets.renderer.internal.GadgetSpecFactoryImpl] getGadgetSpec Error occurred while unable to retrieve retrieving gadget spec for http://jira-URL/rest/gadgets/1.0/g/com.pyxis.greenhopper.jira:greenhopper-gadget-project-dashboard/gadgets/greenhopper-project-dashboard.xml -- url: /admin/addgadget.action | userName: aj | referer: http://confluence-URL/admin/addgadget.action | action: addgadget 2012-10-02 08:01:03,435 WARN [http-8090-6] [gadgets.admin.actions.AddOrRemoveGadgetSpecAction] doAdd Could not add gadget url http://jira-URL/rest/gadgets/1.0/g/com.pyxis.greenhopper.jira:greenhopper-gadget-project-dashboard/gadgets/greenhopper-project-dashboard.xml due to org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml. HTTP error 500 -- url: /admin/addgadget.action | userName: aj | referer: http://confluence-URL/admin/addgadget.action | action: addgadget Around the same time, the following appears in theatlassian-jira.logJIRA log: 2012-10-02 08:01:03,381 http-8080-11 ERROR [500ErrorPage.jsp] Exception caught in 500 page null java.lang.NullPointerException at java.util.regex.Matcher.getTextLength(Unknown Source) at java.util.regex.Matcher.reset(Unknown Source) at java.util.regex.Matcher.
gadget xml: Why all component imports make my gadget dissapear>10-1Andres AltamiranoNov 11, 2011I realised that any attempt to add a component or component import to a jira plugin, causes that the plugin stop working. Why is the reason?. E.G: The plugin is working but when i add any of this components: Obviously changing the class for the components i use, the gadgets that previously worked fine, now have dissapeared and i see ths error on the dashboard for my gadget:Error loading gadget from rest/gadgets/1.0/g/com.atlassian.plugins.traceability-checker.jira-gadget-traceability-checker-plugin:traceability-checker-gadget/atlassian/jira/traceabilityCheckerGadget/traceabilityChecker.xml: org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml. HTTP error 404 How can this be resolved?jira-developmentjira-pluginsCommentCommentAdd your comment...Sign up or log in to answerWatchRelated questions Powered by Atlassian Confluence 5.7.3, Team Collaboration Software Printed by Atlassian Confluence 5.7.3, Team Collaboration Software. Report a bug Atlassian News Atlassian