Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Trusted Domains not working with Companion App

James Fenton October 10, 2022

Hi there,

I've add my company intranet as a trusted domain when testing the deployment of the Atlassian Companion App. However, when I go to edit an attachment in Confluence, I am still prompted to trust the url. How should I be getting rid of this trust prompt?

Thank you!

2 answers

2 accepted

0 votes
Answer accepted
Alex K
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 13, 2022

Hi @James Fenton ,

Which method are you using to set the trusted domains?

See Administering the Companion app , section "Set trusted domains". Which version of Companion are you using?

James Fenton October 13, 2022

Hi @Alex K ,

Thanks for your response. I am using the same method outline in the documentation you sent. I can actually even see the applied url/trusted domain listed as a Windows Environment Variable, but I still get the prompt. I am attempting to deploy version 1.4.1.

Thanks,

James

Alex K
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 13, 2022

Could you please right click the Companion taskbar icon, and click "View logs", then open the companion.log file? Then do you see a log that begins with:

Initialise whitelist hostname from Environment Variable:

Could you make sure that looks fine? The next step will be to enable debug logs and check that there is no error loading the domain, however this is slightly more complex, we can do it here but it may be preferable to go through support.  

Like James Fenton likes this
James Fenton October 14, 2022

I've found that log and it looks fine to me. If you have step-by-step instructions, I'm fine to follow the next step here. If I need to go through support, that's fine too. Please let me know what works.

Thanks!

Alex K
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 19, 2022

@James Fenton Okay, we need to enable debug logging temporarily and then check the logs related to the trusted domains. If you find the Companion install directory, for you because it's the MSI it will be in Program Files (x86). Then within the Resources sub directory, there will be a companionConfig.json file. You need to change logLevel to "debug".

Then restart companion. We are looking for the logs, either: 

 

"... is not valid and will be skipped"
or
"Init hostNameSettings:"
0 votes
Answer accepted
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 11, 2022

Hi @James Fenton ,

Companion has been discontinued from a while ( https://confluence.atlassian.com/doc/administering-the-atlassian-companion-app-958456281.html ) so my suggestion is to avoid to use it.

Fabio

James Fenton October 13, 2022

Thank you.

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 13, 2022

you're welcome @James Fenton 

Alex K
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 13, 2022

This is true for Confluence Cloud only. Companion is still supported on Server/DC, which this question is tagged as.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Upcoming Confluence Events