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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Failed to register with host Confluence Edited


I am working on installing the example add-on :

I followed these instructions:

  • Copy credentials.json.sample to credentials.json and fill in the blanks to enable auto registration of the add-on into your JIRA instance.
  • npm install to install dependencies
  • npm start to run the add-on

I could see the addon (macro) in my Confluence Cloud instance, but I am getting this error message:

D:\devroot\Atlassian-example>npm start

> confluence-connect-example@0.1.0 start D:\devroot\Atlassian-example
> node app.js

Watching atlassian-connect.json for changes
Add-on server running at http://TYCVDINRS7801:3000
Initialized sqlite3 storage adapter
Local tunnel established at
Check for tunnel status
Registering add-on...
GET /atlassian-connect.json 200 17.365 ms - -
Failed to register with host Confluence:5551410787
Add-on installation timed out
Add-on not registered; no compatible hosts detected
Re-registering due to atlassian-connect.json change
GET /atlassian-connect.json 200 5.954 ms - -
Failed to register with host Confluence:5551410787
Add-on installation timed out
Add-on not registered; no compatible hosts detected


Any idea what am I doing wrong? I created the credentials.json file with my info:

     "hosts" : {
           "": {
                "product": "confluence",
                "username" : "myUser",
                "password" : "*********"

Why ACE is not register the addon successfully?

Thank you in advance

6 answers

Hello there,

I was able to solve this by adding this configuration to credentials.json

"hosts" : {
"<domain-name>": {
"username" : "admin",
"password" : "**atlassian-password**" }

Let me know if this is still a problem.

Hope this helps someone!



Atlassian Cloud services are having many outages today, particularly related to logins, so this might be the cause.


and the current incident:

I'd recommend subscribing to updates about the incident, and waiting until the issues are resolved before then trying again.

Thank you Sam! I will try later!

Hi Sam

I think the login issues were not related to this problem, I have it already.

Hi Brenda, im having the same issue, how were you able to resolve it?

Any updates within this gusy? I'm having same problem here.



I am trying to install and use ACE but I keep getting the following:

Registering add-on...
Failed to register with host https://<username>:<token>@<my-company> (401)
Add-on not registered; no compatible hosts detected


I have even tried using my password directly and I still get the same error. It fails to register then fails to authenticate because a proper JWT token is never created.


Anyone have any ideas? I've run out of Google links and forum links to try.

Things to note, my CURL requests work perfectly fine with my user and token


Did you solve your problem? My test instance, which was working fine, stopped working today.


Make sure to create an API Token for your Atlassian user and use that value as the password in your credentials.json file. Also make sure to delete the sqlite file so that it creates a fresh one and doesn't try to authenticate with an old JWT.

It suddenly happened to me at some point. It kinda fails at random point...

What I did in order to solve these issues is to manually uninstall previously installed connect-app on my confluence cloud dev at ie.:

Then after that I ran "npm start", error is gone and connect-app is installed.

Another option is to wait out the yellow error messages and eventually it is installed according to the logger in console.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

454 views 24 9
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you