Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

Edited

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

@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.

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.
Sep 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.

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

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