Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Authentication from JIRA -> Confluence fails Edited

The user presses authenticate:

Screenshot 2021-05-05 at 10.28.44.png

 

A new browser windows opens at https://jira.server.dk/plugins/servlet/applinks/oauth/login-dance/authorize?applicationLinkID=1c0df139-0bb1-3398-ad56-xxxxxxxxx

 

Fails with:

Screenshot 2021-05-05 at 10.58.09.png

 

Jira Log:

2021-05-05 10:25:22,954+0200 http-nio-6060-exec-70 url: /plugins/servlet/applinks/oauth/login-dance/authorize; user: kfr@server.dk ERROR kfr@server.dk 625x3011565x4 18xgbds 77.243.59.220,0:0:0:0:0:0:0:1 /plugins/servlet/applinks/oauth/login-dance/authorize [c.a.a.oauth.auth.OAuthApplinksServlet] An error occurred when performing the oauth 'dance' for application link 'Confluence (1c0df139-0bb1-3398-ad56-xxxxxxxx) https://docs.server.dk confluence'

 

Apache in front of confluence:

docs.server.dk:443 77.247.10.10 - - [05/May/2021:10:25:12 +0200] "POST /plugins/servlet/oauth/request-token HTTP/1.1" 200 3734 "-" "Apache-HttpClient/4.5.10 (Java/1.8.0_202)"

 

Nothing in the atlassian-confluence.log

 

Everything else works - servers are on same subnet with only apache as reverse-proxy on.

1 answer

0 votes

Hi @Normann P_ Nielsen _Netic_ 
I hope you are well.

What if you enable DEBUG for package com.atlassian.applinks on both Confluence and Jira, do you get any additional detail from the logs if you reproduce the problem?

With the current information from the post is hard to understand exactly what the problem is, but the read time out could be related to what is described in this KB, but it is better to collect more information before changing anything.

Aside of the Apache as a reverse-proxy, do you have an outbound proxy configured?
If you do, please check this KB to confirm you have the full configuration, including the bypass.

A more verbose debugging you could use is described in this KB article.
Since the error is occurring when Jira tries to reach Confluence, then enabling DEBUG for org.apache.http.headers on Jira could unveil detailed information about the error.
I would recommend that only if we can't find anything from the previous debug.

For a broader troubleshooting of Application Links, refer to Troubleshoot application links document.

Let us know if you find any additional information on the error with the additional debug.

Kind regards,
Thiago Masutti

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Confluence

Miss the Confluence demos at Team 21? Watch them here!

Phew, Atlassian Team 2021 blew by. With dozens of demos and a handful of keynotes, you may have missed some of the awesome Confluence Cloud sessions. Don't' worry, you can watch them all here or on Y...

307 views 2 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you