`DuplexTest.duplexWithAuthChallenge` flaky
Maintainers usually reply within 1 day
Nobody has claimed this yet.
- #9564 by @kamilkrzywanski — closed without merging
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- networking, testing
Research direction
Start with DuplexTest.kt:549 and MockSocketHandler.kt:120, then run DuplexTest.duplexWithAuthChallenge on the testwindows runner to investigate the reported CANCEL reset. Done means the test no longer flakes there; linked pull request #9564 indicates related work has already been attempted.
Written by the indexing model from the issue text.
Description
On 'testwindows' runner:
DuplexTest[jvm] > duplexWithAuthChallenge()[jvm] FAILED
java.util.concurrent.ExecutionException: okhttp3.internal.http2.StreamResetException: stream was reset: CANCEL
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)
at okhttp3.internal.duplex.MockSocketHandler.awaitSuccess(MockSocketHandler.kt:120)
at okhttp3.DuplexTest.duplexWithAuthChallenge(DuplexTest.kt:549)
Caused by:
okhttp3.internal.http2.StreamResetException: stream was reset: CANCEL
at app//okhttp3.internal.http2.Http2Stream.checkOutNotClosed$okhttp(Http2Stream.kt:702)
at app//okhttp3.internal.http2.Http2Stream$FramingSink.flush(Http2Stream.kt:631)
at app//okio.RealBufferedSink.flush(RealBufferedSink.kt:270)
at app//okhttp3.internal.duplex.MockSocketHandler.sendResponse$lambda$0$0(MockSocketHandler.kt:77)
at app//okhttp3.internal.duplex.MockSocketHandler.serviceSocketTask$lambda$0(MockSocketHandler.kt:107)
at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at app//okhttp3.internal.duplex.MockSocketHandler.handle(MockSocketHandler.kt:97)
at app//mockwebserver3.MockWebServer$Http2SocketHandler.writeResponse(MockWebServer.kt:1224)
at app//mockwebserver3.MockWebServer$Http2SocketHandler.onStream(MockWebServer.kt:1066)
at app//okhttp3.internal.http2.Http2Connection$ReaderRunnable.headers$lambda$0$0(Http2Connection.kt:700)
at app//okhttp3.internal.concurrent.TaskQueue$execute$1.runOnce(TaskQueue.kt:112)
at app//okhttp3.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:81)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at [email protected]/java.lang.Thread.run(Thread.java:1583)
- Dominant language
- Kotlin
- Stars
- 47.1k
- Forks
- 9.3k
- Avg merge
- 18h 18m
- Merged PRs (30d)
- 15
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lysine-dev/okhttp
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
lysine-dev/okhttp#9788 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
lysine-dev/okhttp#9761 · 3 comments ·
Maintainers usually reply within 1 day
-
Remove crossinline `addInterceptor` and `addNetworkInterceptor` overloadsMay be free again @Amir-Golmoradi claimed this 7 days ago, and no pull request is open. Openenhancement
Difficulty 3/5 1-2 days Newbie friendliness 58/100
lysine-dev/okhttp#9779 · 1 comment ·
Maintainers usually reply within 1 day
-
HTTP/2 Data padding is not counted toward the connection flow-control window. This deadlocks connections with peers that pad.May be free again @Amir-Golmoradi claimed this 7 days ago, and no pull request is open. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 67/100
lysine-dev/okhttp#9772 · 6 comments ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
lysine-dev/okhttp#9760 · 3 comments ·
Maintainers usually reply within 1 day
All issues in lysine-dev/okhttp
Similar issues
-
Dev
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ankidroid/Anki-Android#22555 ·
Maintainers usually reply within 1 day
-
enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
core: RAC_LLM_OPTIONS_DEFAULT.min_p disagrees with the IDL's annotated defaultPossibly taken A pull request linked to this issue is open or already merged. Openbug core p3
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
RunanywhereAI/runanywhere-sdks#1083 ·
Maintainers usually reply within 5 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Java and Kotlin (JVM): parse gradle/wrapper/gradle-wrapper.properties with exact line locationsOpenarea: detector eco: java help wanted lane: free-agent roadmap size: S type: parser
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
arminazimi/evergreen#355 ·
Maintainers usually reply within 1 day