Wordpress-ios: Error in WordPress.SiteStatsPeriodTableViewController: The operation couldn鈥檛 be completed. (Alamofire.AFError error 2.)

Created on 20 Sep 2019  路  14Comments  路  Source: wordpress-mobile/WordPress-iOS

Sentry Issue: WORDPRESS-IOS-12ZX

The operation couldn鈥檛 be completed. (Alamofire.AFError error 2.)

Latest version seen: 13.2.0.8

Stats [Type] Bug

All 14 comments

Sentry issue: WORDPRESS-IOS-12YZ

There's a large number of these crashes happening recently, cc @yaelirub It's a little weird that the crash happens in SiteStatsPeriodTableViewController since I'm not seeing the use of MediaCoordinator there, WDYT about this one?

44-day impact: ~2045 per day
Users affected in the last 44 days: 899
First seen in: 13.0.0.3
Note: 79% of these are attributed to one user, which seems strange

https://sentry.io/share/issue/9b554bf3c7c34229ba6538465f929d40/

Since it _appears_ to be Stats related, maybe @danielebogo can take a look?

@designsimply @JavonDavis I think the large number is because Sentry groups all the crashes related to an _ UntouchableViewController_. Not sure though. @jkmassel am I right?

Raising in priority because it's a new crash and because stats is a commonly used area and comes up frequently in app store reviews.

@JavonDavis can you check to see if anything needs to be unmerged in Sentry to isolate the stats crash?

Noting that I discussed this issue with @danielebogo and the thinking is that the crash isn't new and Sentry is grouping errors about the untouchable view in a way that makes it look bigger than it is. Because of that, I'll remove it from high priority and move it to the next Groundskeeping rotation beginning Oct 28th.

We should also check to make sure things aren't grouped incorrectly and unmerge if it's warranted.

@danielebogo you're right about the way how Sentry groups is making this look larger than it actually is 馃憤

can you check to see if anything needs to be unmerged in Sentry to isolate the stats crash?

@designsimply I've been looking into it but I'm not sure there's anything we can do about it in Sentry at the moment

馃憤 thanks for having a look @JavonDavis! The spike in frequency on this one was feeling 馃槷!

Sentry issue: WORDPRESS-IOS-1TCP

@JavonDavis @designsimply

Looking at the last Sentry issue (from Oct 4), it's related to WPMediaPickerViewController - Media has no associated file to upload. Which I swear I saw somewhere else but can't seem to find now...

Searching Sentry for Alamofire.AFError error 2 produces 2 issues, both very low volume, and neither related to Stats. Their descriptions are related to media:

  • "Media items are not associated with a file to upload"
  • "Deleting a media object that's failed to upload because of a missing local file."

I'm wondering if we could either:

  • Close this issue and create a new, more accurate one.
  • Update this one to to reflect media and not stats.

Which I swear I saw somewhere else but can't seem to find now...
@ScoutHarris , maybe you mean this:
https://github.com/wordpress-mobile/WordPress-iOS/issues/12353

Yea that! Thanks @yaelirub !

Since we have an issue to track the media problem, I'm closing this since there's doesn't seem to be a problem with Stats.

Was this page helpful?
0 / 5 - 0 ratings