Atlassian Connect Cloud app failed to register

Hi ,

I am trying to develop a confluence cloud app following Getting started with Connect

The app was running fine and suddenly stopped working

npm start , throws below error

Registering add-on...
Failed to register with host https://r******.atlassian.net/wiki (200)
{"type":"INSTALL","pingAfter":300,"status":{"done":true,"statusCode":200,"contentType":"application/vnd.atl.plugins.task.install.err+json","subCode":"upm.pluginInstall.error.response.exception","source":"https://428e-1-39-18-19.ngrok.io/atlassian-connect.json","name":"https://428e-1-39-18-19.ngrok.io/atlassian-connect.json"},"links":{"self":"/wiki/rest/plugins/1.0/pending/860e6788-2291-4481-a129-065b2a3c87ba","alternate":"/wiki/rest/plugins/1.0/tasks/860e6788-2291-4481-a129-065b2a3c87ba"},"timestamp":1629879772317,"accountId":"60f96cfcecadb10069f316ba","id":"860e6788-2291-4481-a129-065b2a3c87ba"}
Add-on not registered; no compatible hosts detected

This is happening every now and then , some day working fine and other day just throwing errors.

Can someone give me a permanent solution to this.

Thanks

credentials.json defines host(s) where your app should look to register. Is there something funky with this file going on?

How’s your internet connection or firewall? Are they by any chance actively blocking access to your Atlassian instance?

Have you looked at your local ngrok endpoint? Does it show any calls from Atlassian instance to /installed endpoint?