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:
When I click on Apps I see the Hello World app
When I click on it I see a loading page:
I can see this in the logs:
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
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
Hello, @el_moreno
have you checked the ngrok connection is appear ?
https://bitbucket.org/atlassian/atlassian-connect-express/src/master/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.