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

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

The app host returned HTTP response code 503 when we tried to contact it during installation.

Hello!

I am trying to install the atlassian-connect-spring-boot-sample-ajax plugin from https://bitbucket.org/atlassian/atlassian-connect-spring-boot-samples/src/master/)

I have changed the base-url in my application.yaml to my ngrok-url and started the application. 

spring.jpa.hibernate.ddl-auto: update
spring.datasource.url: jdbc:hsqldb:file:addon-db # Use a file-based backing store for HSQL

addon.base-url: https://<id>.ngrok.io:${local.server.port}

logging.level.com.atlassian.connect.spring: DEBUG

 

The response of https://<id>.ngrok.io/atlassian-connect.json is:

{
  "key": "atlassian-connect-spring-boot-sample-ajax",
  "baseUrl": "https://<id>.ngrok.io:8080",
  "name": "Atlassian Connect Spring Boot AJAX Sample",
  "authentication": {
    "type": "jwt"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "modules": {
    "generalPages": [
      {
        "key": "ajax-page",
        "location": "system.top.navigation.bar",
        "name": {
          "value": "AJAX Sample"
        },
        "url": "/iframe",
        "conditions": [
          {
            "condition": "user_is_logged_in"
          }
        ]
      }
    ]
  }
}



 

When I upload the URL in confluence cloud to install the app, then confluence response with the message: 

The app host returned HTTP response code 503 when we tried to contact it during installation. Please try again later or contact the app vendor.


 

Does anyone have any ideas how I could solve this problem?

Thanks in advance.

1 answer

1 accepted

3 votes
Answer accepted

Does anyone else have ideas?

Like Steffen Opel _Utoolity_ likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,626 views 7 30
Read article

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