Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Bernd B
Contributor
March 6, 2021

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
Bernd B
Contributor
March 7, 2021

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
Product Admin
TAGS
AUG Leaders

Atlassian Community Events