Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky test: Unexpected status line: ng Protocols #3400

Closed
swankjesse opened this issue Jun 11, 2017 · 1 comment
Closed

Flaky test: Unexpected status line: ng Protocols #3400

swankjesse opened this issue Jun 11, 2017 · 1 comment
Labels
tests Fix relates to tests not code
Milestone

Comments

@swankjesse
Copy link
Member

swankjesse commented Jun 11, 2017

WebSocketHttpTest.nullByteStringThrows failed due to what looks like an Okio segment sharing problem. The status line is missing the HTTP/1.1 101 Switchi part of HTTP/1.1 101 Switching Protocols.

java.net.ProtocolException: Unexpected status line: ng Protocols
	at okhttp3.internal.http.StatusLine.parse(StatusLine.java:69)
	at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189)
	at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:75)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
	at okhttp3.internal.ws.WebSocketHttpTest$1.intercept(WebSocketHttpTest.java:68)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185)
	at okhttp3.RealCall$AsyncCall.execute(RealCall.java:135)
	at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
@swankjesse swankjesse added the tests Fix relates to tests not code label Jun 11, 2017
@swankjesse swankjesse added this to the 3.9 milestone Jun 11, 2017
@swankjesse
Copy link
Member Author

Dupe of #3138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Fix relates to tests not code
Projects
None yet
Development

No branches or pull requests

1 participant