Automattic / Automattic/pocket-casts-ios
Connection error shown for previously played episodes
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 197
- Avg merge
- 17h 20m
- Merged PRs (30d)
- 103
Description
### Expected behavior
No connection error shown.
### Actual behavior
"Check your Internet connection and try again." error is shown for podcasts that were previously played.

### More info
This error has occurred multiple times (five within a month) and never while I was using the app. My app version is 7.19.3 (870), though it may have auto-updated since this last occurred, which was March 28th.
- The podcast episode on March 28th was paused with 15 minutes left
- I have a Pocket Casts Plus account
- I have an Apple Watch and most likely paused the episode from the Watch
- I was on a cellular connection for most of the episode, and my devices switch to WiFi when I got close to my house at the end (around the time I paused it)
- I can't recall ever seeing this error when it happens - it's typically after time has passed and I open the app again
- Auto-download is not enabled
- I was able to extract my debug log via the support view, but it didn't go far back enough (March 28th).
Contributor guide
Research direction
Start by reproducing the error using a previously played episode, especially after pausing near a WiFi/cellular transition or from an Apple Watch. Trace the path that displays the connection error and compare it with the saved playback state. Done means previously played episodes no longer show a connection error when reopened without a network request being needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100