I am trying to run my Confluence add on and although it worked for me on the first try (the day before posting this question), as I tried to run it this morning I stumbled upon this error:
I’ve been looking over a few forums, where the suggestion is to update the lifecycle to refer to //installed instead of /installed, but this does not fix the issue for me. Other forums I found suggest to change the authentication type to none and remove the lifecycle, but to my knowledge my add-on depends on the lifecycle as this would trigger the created webhook from the modules specified in my atlassian-connect.json file:
Where a file created.js performs the operations for my add-on. I have not changed any code from yesterday to today, so I’m not sure what could be causing this. Please let me know if there are any options I should take, or if I should need to specify this issue further.
I see you’re using ngrok. Those url’s usually change quite frequently (at least once a day). You may need to uninstall and reinstall with the new ngrok URL.
Could you please clarify how I can reinstall? I may be understanding it wrong, but when the app registers on my terminal, it gets installed on the confluence space? If so, that means I should be able to navigate to it and remove it, then run it from my terminal again?
Thank you very much! Uninstalling the app and reinstalling it worked. Do you know if there would be a way to uninstall it as soon as it runs? To avoid having to manually uninstall every time
@rwhitbeck I believe that something have changed recently. I install the app manually and I am changing ngrok url frequently. I never had to uninstall the app. Today I stumbled upon the problem that I can’t install the app. I was getting 404 and ACE logged 302. After I restarted everything and started to give up, I uninstalled the app and tried again. That helped. Seeing many thread on community, it seem I am not alone.
@rwhitbeck we’re seeing the same issue in our instances. Sometimes 404s and sometimes SSL errors. The behaviour is inconsistent as some instances work fine and others not. Moreover we started seeing the issue with MPAC private apps too.
I believe the frequency of this indicate something broken with app installs as opposed to user error. Do you mind asking the team responsible for this to check if there’s anything wrong on their side?