My custom ACE app keeps loading and finally shows an error saying Something's gone wrong

G H Mahimaanvita September 21, 2022

Hello. I am new to Atlassian and am running into a problem using ACE and ngrok
Steps: 

1. Installed atlas-connect globally
2. Ran `atlas-connect new` and chose jira as the template, named the app as `test`
3. Ran `cd test`, `npm install`
4. I got an error saying Xcode version not detected which I solved by resetting path: https://stackoverflow.com/questions/60573595/npm-install-fails-on-node-gyp-rebuild-with-gyp-no-xcode-or-clt-version-detec
5. I renamed credentials.json.sample to credentials.json. I added the following information- 

{

"hosts": {

"https://<my-site>.atlassian.net": {

"product": "jira",

"username": "mahima@optimizory.com",

password": "<auth token from atlassian>"

}

}

}
6. I ran `ngrok authtoken <token from ngrok>`
7. Then I ran `npm start`

Results: Screenshot 2022-09-21 at 3.24.28 PM.pngScreenshot 2022-09-21 at 3.23.49 PM.pngScreenshot 2022-09-21 at 3.28.37 PM.png

2 answers

1 accepted

1 vote
Answer accepted
Dheeraj Kumar Aggarwal
Contributor
October 7, 2022

@G H Mahimaanvita probably the tunnel is working in another browser tab but displaying the ngrok warning message inside Jira's addon iframe. Due to that, Jira keeps loading and finally displays the specified error.

I have written an article to prevent the ngrok warning page inside Jira addon's iframe:

https://optimizory.atlassian.net/l/cp/CLn6Atsf

Hope this will be helpful.

G H Mahimaanvita October 9, 2022

@Dheeraj Kumar AggarwalWorked like magic! Thank you

0 votes
marc -Collabello--Phase Locked-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 21, 2022

Given your error messages, it is most likely that the ngrok tunnel does not work.  As a first step, follow the ngrok links and try to get the tunnel working.

Without a working tunnel, Jira will just timeout.

G H Mahimaanvita September 21, 2022

Hello @marc -Collabello--Phase Locked- 
Thanks for replying.
I fixed the tunnel problem...I installed ngrok with brew previously, but I removed it and installed the npm package..but I am still getting loading spinner followed by error  in the app

Screenshot 2022-09-22 at 10.17.35 AM.png

here are the browser warnings:
Screenshot 2022-09-22 at 10.21.28 AM.png

Meagan November 15, 2022

I know this is a bit late, but I would also check the paths from where you launch ngrok from. I had this issue because I was one folder up and it appeared to launch ngrok...but wasn't really.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events