UPM is encountering a 404 error when installing plugin

Hi, I hope someone can assist me!

I'm in the process of writing an Atlassian Connect based plugin and while it works via the local install, and registers in the Market Place it will not install in our Cloud instance as it receives a 404 error at about the 60% mark of the install when uploading it via the UPM.

The add-on host returned HTTP response code 404 when we tried to contact it during installation. Please try again later or contact the add-on vendor.

N.B. I have configured the baseUrl to point to my Cloud9 https based workspace and the files are accessible anonymously.

I'm struggling to find any related doco or examples on how to re-configure the various files for the Market Place, everything so far is for local dev - which is much easier.  If anyone has some further advanced example projects / code or walk-throughs I'd greatly appreciate them!

My process is currently failing at during Step 2 of "Applying a token from the administration console" on the Cloud Installation page.  It should be this painful so I know I'm missing something simple - but what?

ps. how do I get the server logs from our cloud instance of JIRA to check for the real error details?

Thanks in advance


5 answers

This widget could not be displayed.

Do you have domain and SSL for your baseUrl? I remember struggling with self signed SSL.

This widget could not be displayed.

I'm still testing the plugin so I've simply uploaded the code into my Cloud9 workspace and am using the example website/server to host the files. I've did verify that there is SSL based access to these files from various browsers and PC's. I just checked again and the c9 site uses a certificate issued by COMODO RSA Domain Validation Secure Server CA via sha256RSA (2048) algo. Could it be a configuration issue? I have modified two files as follows - are these correct? atlassian-connect.json "baseUrl": "https://<c9 website demo project>/html/plugin", "links": { "self": "https://<c9 website demo project>/html/plugin/atlassian-connect.json" }, and, config.json "localBaseUrl": "https://<c9 website demo project>/html/plugin", It's just a plugin - it should be this painful... Thanks

This widget could not be displayed.

Can you look to logs of your play server? The content of mine atlassian-connect.json: { "key": "${addonKey}", "name": "My Work", "description": "Work Calendar plugin", "baseUrl": "${localBaseUrl}", "version": "1.2.22", "vendor": { "name": "Volodymyr Krupach", "url": "${localBaseUrl}" }, "authentication": { "type": "jwt" }, "lifecycle": { "installed": "/installed" }, "modules": { "generalPages": [ { "url": "/calendar", "key": "calendar-page", "name": { "value": "My Work" }, "conditions": [ { "condition": "user_is_logged_in" } ] } ] }, "scopes": [ "read", "write", "delete" ] } I do not have config.json probably because I am on old version of the atlassian-connect-play-java

This widget could not be displayed.

Hi Volodymyr, I found the issue! It was to do with the install of npm on the host...what can I say I buggered it up. Thanks for your assistance.

Hey im having the same issue with you. Do you still have some solution steps as to how you resolved it? Thanks

This widget could not be displayed.

Glad that you made it!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

115 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you