jocmp / capyreader

A smallish Android RSS reader
http://capyreader.com/
MIT License
186 stars 7 forks source link

Repeated crashing while bad mobile connection #416

Open detrophy opened 1 month ago

detrophy commented 1 month ago

Steps to Reproduce

Issue present on: Capy Reader 2024.10.1058

  1. open app while on good mobile connection
  2. connection degrades
  3. Capy Reader tries to load [stuff]
  4. It crashes

As soon as the connection gets better, crashing stops.

Expected behavior

App alerts user of bad connection. App is not crashing.

Screenshots or screen recording

No response

Device, Operating system, and app version

No response

jocmp commented 1 month ago

Thanks for the bug report. Would you be willing to upload your crash logs for this? This is located under Settings > General > Share crash logs.

detrophy commented 1 month ago

Hey, sure. capy_crash_logs.txt

jocmp commented 1 month ago

thanks @detrophy - looks like some missing error handling around the Feedbin integration. I'll work on a fix.

jocmp commented 1 month ago

I pushed a fix for this in the latest version, 2024.10.1059. Please let me know if you're still running into this issue, and thanks again for the bug report.

detrophy commented 1 month ago

The app still crashes occasionally on bad network connection.

capy_crash_logs.txt

jocmp commented 4 weeks ago

Thanks for the new crashlogs. It looks like a background I didn't consider. I'll take a closer look.

jocmp commented 2 weeks ago

I ran into this issue myself on a flight last week. The problem I'm seeing in the latest crash logs is that it's a timeout reading the feed results. I have another fix to catch errors in the "refresh" code that I'll include in the next build.