Macro Browser Not Responding
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
The macro browser is not responding, causing you to be unable to insert other macros or cancel the window. It appears frozen with the following error appearing in the atlassian-confluence.log
:
ERROR [http-8090-5] [renderer.internal.http.HttpClientFetcher] fetch Unable to retrieve response
-- url: /conf/plugins/macrobrowser/browse-macros.action | userName: Pixy | referer: http://support.ixysap.com:8090/conf/display/STEL/2.0.x+Configuration | action: browse-macros
org.apache.http.conn.ConnectTimeoutException: Connect to hanis.atlassian.net/132.103.29.50:443 timed out
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:335)
at com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher$CustomSSLSocketFactory.connectSocket(HttpClientFetcher.java:193)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:101)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:381)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:554)
at com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher.fetch(HttpClientFetcher.java:107)
at org.apache.shindig.gadgets.DefaultGadgetSpecFactory.fetchObjectAndCache(DefaultGadgetSpecFactory.java:125)
at org.apache.shindig.gadgets.DefaultGadgetSpecFactory.getGadgetSpec(DefaultGadgetSpecFactory.java:90)
at com.atlassian.gadgets.renderer.internal.local.LocalGadgetSpecFactory.getGadgetSpec(LocalGadgetSpecFactory.java:82)
at com.atlassian.gadgets.renderer.internal.local.LocalGadgetSpecFactory.getGadgetSpec(LocalGadgetSpecFactory.java:64)
at com.atlassian.gadgets.renderer.internal.GadgetSpecFactoryImpl.getGadgetSpec(GadgetSpecFactoryImpl.java:132)
at com.atlassian.gadgets.renderer.internal.GadgetSpecFactoryImpl.getGadgetSpec(GadgetSpecFactoryImpl.java:78)
Diagnosis
The stack trace is referring to a gadget. Navigate to http://<confluence_url>/admin/viewgadgetdirectory.action
and check if there are any existing gadget feed URLs that refer to the domain:
hanis.atlassian.net
as seen in the above stack trace.
Cause
There is an existing gadget feed URL that is referring to a different URL than your configured base URL (which is configured in Confluence Admin > General Configuration).
Resolution
Remove the gadget feed url and the problem is resolved.