When an Activity Stream times-out (which it frequently does on any large instance) from the 10 second limit, it can cause other Activity Stream requests to return empty results.
This is pretty easy to reproduce, even on JAC but you may wish to test against something else. The URL examples I've given refer to JAC projects, and users.
Go to a user's profile for example. The activity stream will try and fetch this stream (I've added a very short timeout in the URL to simulate the cancellation effect):
You should get a blank page because it timed out.
Immediately request another Activity Stream via another browser tab...for example, a project's activity stream which will call this:
The results will be blank. This does eventually recover on it's own.
In the logs, you may see something like this:
[atlassian.streams.internal.StreamsCompletionService] Registering failure for stream provider JIRA due to cancellation (timeout)
The impact of this is pretty bad on a large instance. With user dashboards fetching activity streams (with auto-refresh no less), users hitting profiles, we're seeing blank activity streams a lot of the time.
The workarounds for increasing the Activity Stream timout do not work in all cases.
Is this the same behaviour / request that sits at https://ecosystem.atlassian.net/browse/STRM-2140 ? Or is this different?
Thanks for the additional information.
No, it's different. is a complaint about timeouts being too short.
JRA-37905 is about the side-effect of what happens after a timeout occurs: new activity stream requests don't load.
We are finding the same errors in the logs whilst trying to load the Activity Stream in the dashboard along with the message The activity source '' was slow to respond and is not included displayed on the top of the Activity Stream gadget.
Hi, it's been a while since we've seen any activity on this one. And there were 2 merged PRs so it's likely the job was actually finished. So we are closing it according to the current policy regarding stale issues. Please, re-open it with a comment if you believe there is still work to be done.