Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`HttpOverHttp2Test.recoverFromMultipleRefusedStreamsRequiresNewConnection` flaky

Open
#9,673 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
kotlin

Research direction

Start with HttpOverHttp2Test.kt, especially recoverFromMultipleRefusedStreamsRequiresNewConnection at line 1068, and reproduce the failure on the Windows CI shard. Trace how the test handles repeated REFUSED_STREAM responses and connection recovery; done means the test passes reliably on Windows without hiding a real regression.

Written by the indexing model from the issue text.

Description

tests
HttpOverHttp2Test[jvm] > recoverFromMultipleRefusedStreamsRequiresNewConnection()[jvm] FAILED
    okhttp3.internal.http2.StreamResetException: stream was reset: REFUSED_STREAM
        at app//okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.kt:166)
        at app//okhttp3.internal.http2.Http2ExchangeCodec.readResponseHeaders(Http2ExchangeCodec.kt:105)
        at app//okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:116)
        at app//okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:97)
        at app//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
        at app//okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
        at app//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
        at app//okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:98)
        at app//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
        at app//okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
        at app//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
        at app//okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:72)
        at app//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
        at app//okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:232)
        at app//okhttp3.internal.connection.RealCall.execute(RealCall.kt:187)
        at app//okhttp3.internal.http2.HttpOverHttp2Test.recoverFromMultipleRefusedStreamsRequiresNewConnection(HttpOverHttp2Test.kt:1068)

On Windows CI shard.

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

  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.

More from lysine-dev/okhttp

All issues in lysine-dev/okhttp

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.