Show Previous Reports doesn't work for a user with lots of them

Bug #1323081 reported by IKT
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Activity Log Manager
Invalid
Undecided
Unassigned
Errors
Incomplete
High
Brian Murray

Bug Description

In the control panel under security and privacy > diagnostics > I have send error reports to Canonical ticked, and there is a button to 'Show Previous Reports'

When I click on this I get taken to a page which presents the following:

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /user/510841b87d15dc78a2b05dfaf72c23b03d3344aa07556d7f25bd70b7e4a7aa38e6df5e681eba3d61108ddabf5a23c98006e537992be7ce057529508a6724bb88.

Reason: Error reading from remote server

Apache/2.2.22 (Ubuntu) Server at errors.ubuntu.com Port 443

Revision history for this message
Brian Murray (brian-murray) wrote :
Changed in errors:
importance: Undecided → High
Changed in activity-log-manager:
status: New → Invalid
Changed in errors:
status: New → Confirmed
assignee: nobody → Brian Murray (brian-murray)
summary: - Show Previous Reports doesn't work
+ Show Previous Reports doesn't work for a specific user
Revision history for this message
IKT (ikt) wrote : Re: Show Previous Reports doesn't work for a specific user

It fixed itself!

I'd say it took so long to show up and was timing out because I report a lot of bugs.

5124 reports apparently.

Keeping this open in case someone has some spare time and feels like implementing something to deal with people who have reported a large amount of errors.

Revision history for this message
Brian Murray (brian-murray) wrote :

This is probably because we switched to a new database which (temporarily) doesn't have all of your previous reports. Given the volume of crashes that you are reporting, I'd expect it to timeout again rather soon.

Aleksandra (a-pati)
Changed in activity-log-manager:
status: Invalid → New
status: New → Invalid
status: Invalid → New
status: New → Invalid
Revision history for this message
Vindicator (vindicator) wrote :

I'm also encountering this issue.
I have tried over the past couple of days. I have never been able to view that page.

Revision history for this message
Brian Murray (brian-murray) wrote :

A better approach on this page, instead of loading all the error reports, would be loading the first one hundred and using an infinite scroll.

Revision history for this message
Vindicator (vindicator) wrote :

I am having my doubts that I would have many reports submitted since I've really only begun to use Ubuntu as my primary OS.

Revision history for this message
Brian Murray (brian-murray) wrote :

@Vindicator - can your provide me with the contents of /var/lib/whoopsie/whoopsie-id? or the url you visit to see your previous reports.

summary: - Show Previous Reports doesn't work for a specific user
+ Show Previous Reports doesn't work for a user with lots of them
Revision history for this message
Vindicator (vindicator) wrote :

@Brian Murray
510841b87d15dc78a2b05dfaf72c23b03d3344aa07556d7f25bd70b7e4a7aa38e6df5e681eba3d61108ddabf5a23c98006e537992be7ce057529508a6724bb88

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Another example file - https://errors.ubuntu.com/user/510841b87d15dc78a2b05dfaf72c23b03d3344aa07556d7f25bd70b7e4a7aa38e6df5e681eba3d61108ddabf5a23c98006e537992be7ce057529508a6724bb88

I've uploaded a lot of crash reports. Is there any way (except manually reviewing the stracktrace) for me to associate a crash I just had with a bug without this?

Revision history for this message
Brian Murray (brian-murray) wrote :

You can check /var/log/syslog for messages from whoopsie e.g.

May 20 07:48:56 impulse whoopsie[3019]: [07:48:56] Parsing /var/crash/_usr_bin_audacity.1000.crash.
May 20 07:48:56 impulse whoopsie[3019]: [07:48:56] Uploading /var/crash/_usr_bin_audacity.1000.crash.
May 20 07:49:03 impulse whoopsie[3019]: [07:49:03] Sent; server replied with: No error
May 20 07:49:03 impulse whoopsie[3019]: [07:49:03] Response code: 200
May 20 07:49:03 impulse whoopsie[3019]: [07:49:03] Reported OOPS ID 58445722-feff-11e4-aeee-fa163e22e467

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Thanks! (for any one else reading, do https://errors.ubuntu.com/oops/<oops-id> )

Revision history for this message
Phil P (pgpndw) wrote :

Should the contents of /var/lib/whoopsie/whoopsie-id be unique to each installed system?

I ask because my version of this file also contains the string 510841b8 7d15dc78 a2b05dfa f72c23b0 3d3344aa 07556d7f 25bd70b7 e4a7aa38 e6df5e68 1eba3d61 108ddabf 5a23c980 06e53799 2be7ce05 7529508a 6724bb88 (spaces added for formatting), which is the same ID value as in the orignal report and in all the replies posted so far.

When I click the "show previous reports" button, I see a list that I'm convinced is *not* the list of crash reports sent from my system.

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Yes, it's gotta be per user not per machine - It shows me reporting a libreoffice bug 3 months ago for 12.04.. when this machine was definitely on 16.04.

On track for this bug, all the current example links work fine. Was this fixed on the recent code updates/machine upgrades? Can anyone reproduce it still?

Changed in errors:
status: Confirmed → Incomplete
Revision history for this message
Phil P (pgpndw) wrote :

@Bryan Quigley

Sorry if this is cluttering the bug report with stuff not directly related to the bug, but I'm not sure I understand you correctly.

Are you saying that each user should have a unique /var/lib/whoopsie/whoopsie-id, which is the same across all their Ubuntu installations, or are you saying that *all* Ubuntu installations should have the same ID string in /var/lib/whoopsie/whoopsie-id?

I had assumed that when I click the "Show Previous Reports" button on my machine, I would be shown a list of reports sent from *my* machine (I only have one). Is that assumption wrong?

To clarify my earlier reply, when I click "Show Previous Reports", I'm taken to the URL https://errors.ubuntu.com/user/510841b87d15dc78a2b05dfaf72c23b03d3344aa07556d7f25bd70b7e4a7aa38e6df5e681eba3d61108ddabf5a23c98006e537992be7ce057529508a6724bb88, which is the same URL as mentioned in Brian Murray's reply #1, and your own reply #9 above. I can see that the ID in that URL is taken from the whoopsie-id file, and is the same ID as that in IKT's original bug report and in Vindicator's reply #8.

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

@Phil
I thought whoopsie-ids were unique. Now I'm a bit confused.

Revision history for this message
Phil P (pgpndw) wrote :

I've been looking into this, and I think I have an idea what the problem is. (It's not related to *this* bug report though):

I think the whoopsie-id is *supposed* to be unique to each machine, but it's generated from the system UUID retrieved from the PC's BIOS (which in turn is *supposed* to be unique).

When I retrieve my system UUID, I get this:

$sudo dmidecode -s system-uuid
00020003-0004-0005-0006-000700080009

... which is a very suspicious value for a UUID!

Putting that number into Google reveals that this has caused problems with many other systems too. I'm guessing it's a dummy value that's produced when the BIOS manufacturer didn't do their job right.

I'd put money on you having the same UUID value if you run the above command.

So, it looks like what's happening here is that a number of different Ubuntu installations have been submitting crashes to errors.ubuntu.com under the same ID, which is why we're all seeing an unexpectedly large list of reports when we click "Show Previous Reports".

Furthermore, I wouldn't be surprised to find that the logging software on errors.ubuntu.com is filtering out some of those reports because other information provided in the crash logs reveals them to be inconsistent with each other. Because there are crash reports that I *know* I've submitted that don't appear in that list.

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Nice analysis Phil - reported bug 1636954 to track it.

When I get some time, I'll investigate changing our machines to use MAC addresses or something else.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.