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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

374 views 20 10
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