Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

patientsknowbest/stream_refused_repro

Repository files navigation

stream refused repro

Repro for a bug we've seen with okhttp and ingress-nginx

Start nginx:

nginx -c  $(pwd)/nginx.conf -g "daemon off;"
  • Compile & run the java app in another terminal
mvn package 
java -jar target/my-app-1-jar-with-dependencies.jar
  • You might need to stop and restart the app once to make it reproduce the error:
okhttp3.internal.http2.StreamResetException: stream was reset: REFUSED_STREAM
	at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.kt:148)
...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages