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

This widget could not be displayed.
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 yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

147 views 1 4
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