ReadYouApp / ReadYouApp/ReadYou

Random crash while reading

Open
#812 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Kotlin
Stars
7.5k
Forks
330
PR merge metrics
No merged PRs in 30d

Description

Version: 0.10.1
Device: Google Pixel 6a
System: Android 14 (API 34)

Stack trace:

java.net.ConnectException: Failed to connect to /192.168.178.45:49999
at okhttp3.internal.connection.ConnectPlan.connectSocket(ConnectPlan.kt:144)
at okhttp3.internal.connection.ConnectPlan.connectTcp(ConnectPlan.kt:42)
at okhttp3.internal.connection.FastFallbackExchangeFinder$launchTcpConnect$1.runOnce(FastFallbackExchangeFinder.kt:3)
at okhttp3.internal.concurrent.TaskRunner.access$runTask(TaskRunner.kt:16)
at okhttp3.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@35f0796, Dispatchers.IO]
Caused by: java.net.ConnectException: failed to connect to /192.168.178.45 (port 49999) from /100.118.132.20 (port 60574) after 30000ms: isConnected failed: ECONNABORTED (Software caused connection abort)
at libcore.io.IoBridge.isConnected(IoBridge.java:347)
at libcore.io.IoBridge.connectErrno(IoBridge.java:237)
at libcore.io.IoBridge.connect(IoBridge.java:179)
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
at java.net.Socket.connect(Socket.java:646)
at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:6)
at okhttp3.internal.connection.ConnectPlan.connectSocket(ConnectPlan.kt:79)
... 7 more
Caused by: android.system.ErrnoException: isConnected failed: ECONNABORTED (Software caused connection abort)
at libcore.io.IoBridge.isConnected(IoBridge.java:334)
... 17 more

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or reproduction steps are provided. Start by reproducing the crash while reading on Android 14 and trace the network path around the OkHttp ConnectPlan stack frames and the reported connection to port 49999. Done means identifying why this connection failure becomes a crash and verifying the handling with a regression test or documented reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.