Gadget giving an error in Confluence

hi,

users of Confluence 5.10 server.

im trying to add a activity gadget to a page and when i try to insert i get this error. 

Requests to http://confluence.penske.com/rest/activity-stream/1.0/config are not allowed. See your administrator about configuring a whitelist entry for this destination (http://confluence.atlassian.com/x/KQfCDQ ).

Requests to http://confluence.penske.com/rest/activity-stream/1.0/preferences are not allowed. See your administrator about configuring a whitelist entry for this destination (http://confluence.atlassian.com/x/KQfCDQ ).

i tried adding the  http://confluence.penske.com/rest/activity-stream/1.0/config to whitelist but it dint work.

when i click on the get the URL for gadget, i get below error

(https://confluence.penske.com/rest/gadgets/1.0/g/com.atlassian.streams.confluence:activitystream-gadget/gadgets/conf-activitystream-gadget.xml)

This XML file does not appear to have any style information associated with it. The document tree is shown below.

thanks !

1 answer

1 vote
Ann Worley Atlassian Team Jun 28, 2017

The activity gadget works as expected on my 5.10.x test instances. You shouldn't have to whitelist the Confluence URL on the same Confluence instance. My theory is that something has gone wrong on the network (like a proxy configuration) or else the Base URL is not right as in this article: Confluence Activity Stream Gadget is broken

Please make sure the proxyName, proxyPort and scheme are inside the connector directive of your server.xml file if you have a reverse proxy in front of Confluence. Please see Proxy Support for details. The server.xml in Confluence is in the <confluence_install>/conf directory. The connector should be similar to this:

<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
                maxThreads="48" minSpareThreads="10"
                enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
                protocol="org.apache.coyote.http11.Http11NioProtocol" 
                proxyName="www.example.com" proxyPort="80" scheme="http"/>

If you add proxy support to the server.xml, Confluence must be restarted to pick up the change.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,133 views 61 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you