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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,551,819
Community Members
 
Community Events
184
Community Groups

Something's gone wrong with connect express

Edited

I followed the tutorial at https://developer.atlassian.com/cloud/jira/software/build-a-jira-app-using-a-framework/ and I am having trouble having the plug in show. 

 

Here is my `credentials.json` file:

{
"hosts": {
"https://<my_project>.atlassian.net/": {
"product": "jira",
"username": "<EMAIL_ADDRESS>",
"password": "<SAME_TOKEN_USED_FOR_FORGE_APP>"
}
}
}

When I navigate to my JIRA instance, I do not see the "Hello World" section at top as in the tutorial:

Alt text

 

When I click on Apps I see the Hello World app

 

Screenshot 2023-04-04 at 9.54.56 PM.png

 

When I click on it I see a loading page:


Screenshot 2023-04-04 at 9.56.33 PM.png

I can see this in the logs:

Screenshot 2023-04-04 at 9.58.17 PM.png

which seems to indicate that we are serving the page but I only see the error above.

 

If I navigate to my ngrok URL as in 

`https://<my_ngrok>/atlassian-connect.json`

I can see the contents of the `atlassian-connect.json` file

Am I using the wrong token? Any help would be greatly appreaciate!

 

 

UPDATE:

After some more debugging, I can see the following error message in developer tools:


Before you can serve HTML content, you must sign up for an ngrok account and install your authtoken. (ERR_NGROK_6022)

 

I have checked to make sure the token is valid. If I start a connection using ngrok as in ngrok http 3000, I can see the connection in ngrok, but when I run npm start on the sample project I do not see a tunnel in ngrok

2 answers

I found the answer. The documentation fails to mention that you need to specify the token in the ngrok node module:

https://optimizory.atlassian.net/wiki/spaces/KB/pages/500269057/Facing+ngrok+error+6022+even+after+installing+the+auth+token

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 04, 2023

Hello, @el_moreno 

have you checked the ngrok connection is appear ? 

https://bitbucket.org/atlassian/atlassian-connect-express/src/master/

Hello @Gonchik Tsymzhitov

 

The connection appears. I can see my server being hit:


GET / 302 6.622 ms - 90
GET /favicon.ico 404 4.519 ms - 150
GET / 302 0.880 ms - 90
GET /favicon.ico 404 3.402 ms - 150
GET /atlassian-connect.json 200 6.036 ms - 623
GET /favicon.ico 404 1.904 ms - 150
GET /hello-world?xdm_e=https%3A%2F%2Fflow-io.atlassian.net&xdm_c=channel-my
-app__hello-world-page-jira&cp=&xdm_deprecated_addon_key_do_not_use=my-app&lic=none&cv=1001.0.0-SNAPSHOT&jwt=redacted 200 32.921 ms - -

 but I still cannot see anything in my Jira instance. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events