Creating Application link to external web application

Hi there,

We have used the Application Link function in JIRA for oauth authentication (see OAuth) and while it seems to work fine, we get a message saying JIRA cannot contact the server (our server). However the oauth authentication does work fine.

One of our customers who use this integration in a self-hosted environment also report a lot of log messages in their logs which I can only assume is related to the Application Link setup as we don’t do any JIRA configuration other than this. The message they get is like this:
2017-07-06 08:24:46,467 http-nio-8080-exec-9 WARN user@domain.com 504x830032x1 1vq4fi2 172.1.1.1,127.0.0.1 /plugins/servlet/streams [c.a.streams.internal.StreamsCompletionService] Registering failure for stream provider [Application name is here] due to error other
2017-07-06 08:24:46,467 http-nio-8080-exec-9 WARN user@domain.com 504x830032x1 1vq4fi2 172.1.1.1,127.0.0.1 /plugins/servlet/streams [c.a.streams.internal.StreamsCompletionService] Registering failure for stream provider [Application name is here] due to error other

What I really need is some help understanding how the Application Link in JIRA works, what is JIRA sending to our server and what it is expecting back so that I can send back the response it expects when it checks the Application Link url. Any more documentation on the Application Link inner workings would be great.

Other than this, does that log message mean anything to anyone and can you point me in the right direction for helping my customer resolve it? (If it helps they are on JIRA 7.3.8)

Thanks,
Jeremy.

3 Likes

We have the same issue and would be interested in a solution as well…

1 Like

Me too buddy I have this exact problem and don’t know how to stop it.

Hello.

I created a bug for this post:
https://ecosystem.atlassian.net/browse/STRM-2370

If you all could contribute more logs and maybe some steps to reproduce then we could think about approaching it. Currently, I can’t understand why is it happening with this informations.

Cheers.

2 Likes

The problem is I got the error dropped in my lap by my boss who got it dropped in her lap by the customer. And you know how the boss is about going to a customer and being like gimmy.

Simple solution to get rid of this error (Jira seems to be polling this for all application links). Create a static file in this location (if possible): <application link url>/plugins/servlet/streams
Make sure the returning content type is XML and the content is:

<feed xmlns="http://www.w3.org/2005/Atom" xmlns:atlassian="http://streams.atlassian.com/syndication/general/1.0">
	<id>dummy</id>
	<title type="text">Activity Streams</title>
	<atlassian:timezone-offset>+0200</atlassian:timezone-offset>
	<updated>2020-08-24T08:44:04.167Z</updated>
</feed>

Fixed it for me.