Activity Stream Times Out with One or more activity sources were slow to respond and are not included.

Description

Summary

Currently the Activity Stream by default will query every single issue in JIRA and then order by those results. For larger instances, the timeout of 10 seconds is not sufficient for this query and will often result in the stream timing out.

Environment

  • JIRA 5.2.9 - 5.2.0 stream

  • Mac OS X 10.7.5

  • PostgreSQL 9.1

Specs of instance verified with:

Steps to Reproduce

Load up a decent sized JIRA instance and access the activity stream.

Expected Results

The stream doesn't time out.

Actual Results

The stream times out sporadically.

Notes

This appears to be due to the Activity Stream querying for all issues from projects browsable by the current user. They are then sorted by updated date and the stream will only display 5-10 results. A suggested easy fix would be to only return issues from the past month as this would significantly reduce the amount of issues returned by the query.

We have a KB with suggested workarounds - please see JIRA Activity Stream returns One or more activity sources were slow to respond and are not included for further info.

Environment

None

Testing Notes

None

Activity

Show:
Leos Junek
May 5, 2014, 8:06 AM

Problem occurs in user profile activity stream, as David mentioned. Here is the screenshot of problem occurrence.

Michael Minns
July 15, 2014, 5:51 AM

Hi,

I've just re-read the comments here and I'm not clear if this:

  1. can be fixed everywhere for everyone by using the suggested workarounds.

    1. except in the user profile screen,
      OR

  2. the workarounds fail everywhere for some users

If it is 1) then is the problem firstly how we can get to apply the workarounds in the user profile screen?

Tini Good
August 5, 2014, 9:13 PM

Note: Activity Stream gadget times out when you have it filtered to only show Fisheye or Crucible Activity as well. Solution needs to focus on all products that can use the Activity Stream, not just JIRA.

Marcus Silveira
September 11, 2014, 6:20 PM

Sometimes the error does not display any sources as well, as noticed in the screenshot attach in May

Is this going to be tracked in this same ticket or should we have a separate one for that?

Grzegorz Tanczyk
December 3, 2014, 1:30 PM

Please resolve this issue together with STRM-2264, thanks.

Assignee

Unassigned

Reporter

ChrisA

Labels

None

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Affects versions

Priority

Major
Configure