Add-on is not responding. Wait or cancel?

Hello !

I am trying to make a simple HelloWorld add-on using atlassian-connect-play-java :

My Controller : 

package controllers;
import views.html.*;
import play.mvc.Controller;
import play.mvc.Result;
public class Application extends Controller {
     public static Result index()
        return AcController.index(home(), descriptor());
     private static Supplier<Result> descriptor()
        return new Supplier<Result>()
            public Result get()
                return AcController.descriptor();
    private static Supplier<Result> home()
        return new Supplier<Result>()
            public Result get()
                return ok(index.render("Hello"));


My routes file : 

GET / controllers.Application.index()
GET /assets/*file"/public", file)
-> / ac.Routes


My index:scala.html file :

@(message: String)
@main("Welcome to Play") {


My main.scala.html file :

@(title: String)(content: Html)
<!DOCTYPE html>
        <script src="http://localhost:1990/confluence/atlassian-connect/all.js" type="text/javascript"></script>
        <link rel="stylesheet" href="//" media="all">
        <link rel="stylesheet" media="screen" href=""stylesheets/main.css")">
        <link rel="shortcut icon" type="image/png" href=""images/favicon.png")">
        <script src=""javascripts/jquery-1.9.0.min.js")" type="text/javascript"></script>
        <div class="ac-content">


My atlassian-connect.json file : 

     "key": "${addonKey}",
     "name": "${addonName}",
     "description": "Atlassian Connect add-on",
     "baseUrl": "${localBaseUrl}",
     "vendor": {
        "name": "Atlassian",
        "url": ""
     "authentication": {
         "type": "none"
     "modules": {
    "generalPages": [
        "url": "/",
        "key": "test-application",
        "location": "system.user",
        "name": {
          "value": "Test"
  "scopes": ["READ"]


What I get when I run my play application : 

image2015-2-8 20:57:45.png

What I get when I install my plugin on a local instance of Confluence and run it :


image2015-2-8 20:59:5.png


I tried to find the problem but I couldn't, can someone please help ?


2 answers

2 votes

This will be because your addon is not responding to the iframe request for some reason.  I would suggest using firebug or google chrome developer tools to see which request is failing.  You should see a request to your addon either timing out, failing or going to the wrong host.

Thank you @Matthew Jensen, I followed your advice and I did find the request that was failing.

The url that I specified in the descriptor was invalid. A simple "/" or an empty url "" was not accepted by confluence so I had to change it to "/home" and change my routes file as well.


Thanks smile

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

276 views 2 10
Read article

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