I have following manifest
modules:
confluence:spaceSettings:
- key: conf-xxx-xxx
resource: main
resolver:
function: resolver
title: xxx xxx xxx
route: xxx
function:
- key: resolver
handler: index.handler
- key: appInstalled
handler: index.appInstalledHandler
- key: appUpgraded
handler: index.appUpgradedHandler
- key: migrationEventHandeller
handler: index.eventhandler
timeoutSeconds: 600
consumer:
- key: migration-consumer
# Name of the queue for which this consumer will be invoked
queue: migration-queue
resolver:
function: migrationEventHandeller
# resolver function to be called with payload
method: process-migration-data
scheduledTrigger:
- key: xxx-remote-scheduled-trigger
endpoint: remote-trigger-node
interval: fiveMinute
endpoint:
- key: remote-trigger-node
remote: connect
route:
path: /fit-trigger
auth:
appSystemToken:
enabled: true
trigger:
- key: app_installed
function: appInstalled
events:
- avi:forge:installed:app
- key: app_upgraded
function: appUpgraded
events:
- avi:forge:upgraded:app
resources:
- key: main
path: static/xxx/build
remotes:
- key: connect
baseUrl: https://63fb-2405-201-1001-e1bc-7d04-843-67a8-9a68.ngrok-free.app
operations:
- compute
auth:
appSystemToken:
enabled: true
connectModules:
confluence:lifecycle:
- key: lifecycle-events
installed: /installed
permissions:
scopes:
- read:connect-confluence
- act-as-user:connect-confluence
- storage:app
- search:confluence
- read:app-system-token
- readonly:content.attachment:confluence
content:
styles:
- 'unsafe-inline'
app:
id: ari:cloud:ecosystem::app/7c3d0b9c-c130-4666-9a76-48474dc32684
connect:
key: xxxx.xxx
remote: connect
authentication: jwt
runtime:
name: nodejs20.x
licensing:
enabled: true
storage:
- I install connect app using ngrok url. which works.
- Then i deploy my forge app.
- Then i forge install upgrade --environment shivtest
This is giving me below error
? Do you want to continue? Yes
× Installing your app in Confluence on to DEV shivtest...
Error: Error performing sync with Connect: LIFECYCLE_HOOK_FAILED: Request to /installed failed with a status code 400. Check the app host is available and try again. For more help on this issue, please reach out to support (https://developer.atlassian.com/support) and provide them the following request ID: db6c5ac9-6a8c-4f11-9fee-eafaab15dbd1
Your app in shivtest was not installed to any contexts on https://shivforgetest.atlassian.net/.
On connect app i get below error
{} Authentication verification error (400): Unable to decode JWT token: Error: error:1E08010C:DECODER routines::unsupported
POST /installed 400 916.106 ms - 79
What is the reason. It was working before.
Thanks
Shiv