How to reproduce:
- Complete tutorial, leave Express server running after executing “npm start”.
- Make any changes to the atlassian-connect.json.
This is what logs look like after that:
Re-registering due to atlassian-connect.json change
Re-registering due to atlassian-connect.json change
GET /atlassian-connect.json 200 2.164 ms - 612
GET /atlassian-connect.json 200 3.043 ms - 612
Saved tenant details for CLIENT_KEY_HERE to database
{
key: 'my-app',
clientKey: 'CLIENT_KEY_HERE',
publicKey: '...',
sharedSecret: '...',
serverVersion: '100218',
pluginsVersion: '1001.0.0-SNAPSHOT',
baseUrl: 'DEV_INSTANCE_URL_HERE',
productType: 'jira',
description: 'Atlassian JIRA at DEV_INSTANCE_URL_HERE ',
eventType: 'installed'
}
POST /installed 204 326.045 ms - -
Failed to register with host DEV_INSTANCE_URL_HERE/ (200)
Install already in progress for app "my-app". Please wait a moment for the app to become available.
{"type":"INSTALL","pingAfter":300,"status":{"done":true,"statusCode":200,"contentType":"application/vnd.atl.plugins.task.install.err+json","subCode":"connect.install.error.locked","errorMessage":"Install already in progress for app \"my-app\". Please wait a moment for the app to become available.","source":"https://xxx.ngrok.app/atlassian-connect.json","name":"https://xxx.ngrok.app/atlassian-connect.json"},"links":{"self":"/rest/plugins/1.0/pending/3244eb81-6d17-485a-bc97-3229aa15434a","alternate":"/rest/plugins/1.0/tasks/3244eb81-6d17-485a-bc97-3229aa15434a"},"timestamp":1679047440143,"accountId":"...","id":"3244eb81-6d17-485a-bc97-3229aa15434a"}
Add-on not registered; no compatible hosts detected
Registered with host at DEV_INSTANCE_URL_HERE/
The application ends up updating, but each time the atlassian-connect.json is updated, the re-registration is triggered twice, resulting in the above error.
Is this a ACE error, or some kind of misconfiguration on our side?