On my developer instance of Jira, I can run my atlassian-connect-express addon without any problems.
On my company's instance of Jira, both /atlassian-connect/all.js and /atlassian-connect/all-debug.js are not available and give me 404s which leads to the "App is not responding. Wait or cancel?" message.
What's the difference that makes it work on one but not on the other?
Temporary workaround: I've looked through some other addons that were still working and where they got their resources. These other addons couldn't load via /atlassian-connect/ either, but from connect-cdn.atl-paas.net/, so I've replaced
<script src="{{ hostScriptUrl }}" type="text/javascript"></script>with
<script src="https://connect-cdn.atl-paas.net/all.js" type="text/javascript"></script>
for now.
But the question still remains, more so because obviously this doesn't automatically switch between all.js and all-debug.js depending on the app's env.