Hi there,
we have switched Confluence from http to https. I have removed old application links, but I'm not able to create new ones. And yes, server base url is https to
The request contains wrong protocol in link href attrubute
<applicationLink> <link rel="self" href="http://example.com"/> <id>5a328214-45e5-31ea-98f1-b8de1d5a730c</id> <typeId>jira</typeId> <name>xxx</name> <displayUrl>https://jira.example.com</displayUrl> <iconUrl> https://example.com/16jira.png </iconUrl> <iconUri> https://example.com128jira.png </iconUri> <rpcUrl>https://jira.example.com</rpcUrl> <isPrimary>true</isPrimary> <isSystem>false</isSystem> </applicationLink>
The browser throws error
XMLHttpRequest cannot load http://example.com/rest/applinks/3.0/applicationlink/5a328214-45e5-31ea-98f1-b8de1d5a730c?_=1455816144194. Response for preflight is invalid (redirect)
This error is thrown only if I enable cross protocol request, if not, it ends up with error that it's not possible to do request to http from https.
Confluence in browser runs on https, all resources are loaded via https, why only application link thinks it runs on http? How do I convince Confluence to understand that it should use https?
Thank you.
When I moved apache http infront of JIRA and Confluence - my application link stopped functioning
I had to create an unproxied link between the two to restore the app link functionality .
Yep, you are right. In our case it was nginx, which redirected to http, so it looked like it runs on https, but actualy it was http internaly in confluence.
I'm accepting your answer, thanks.
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.