We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to open a websocket connection using okhttp + cronet. It's failing every time with following exception:
java.io.IOException: java.util.concurrent.ExecutionException: m.mc: Exception in CronetUrlRequest: net::ERR_INVALID_HTTP_RESPONSE, ErrorCode=11, InternalErrorCode=-370, Retryable=false
my okhttp clinet: val webSocket = OkHttpClient.Builder() .addInterceptor(CronetInterceptor.newBuilder(cronetEngine).build())
val webSocket = OkHttpClient.Builder() .addInterceptor(CronetInterceptor.newBuilder(cronetEngine).build())
My connection works if i remove CronetInterceptor. Can anyone confirm is cronet supports websocket connections?
The text was updated successfully, but these errors were encountered:
Hi,
I'm afraid Cronet does not support WebSocket. Therefore the OkHttp Cronet transport doesn't support it either.
Sorry, something went wrong.
No branches or pull requests
I am trying to open a websocket connection using okhttp + cronet. It's failing every time with following exception:
java.io.IOException: java.util.concurrent.ExecutionException: m.mc: Exception in CronetUrlRequest: net::ERR_INVALID_HTTP_RESPONSE, ErrorCode=11, InternalErrorCode=-370, Retryable=false
my okhttp clinet:
val webSocket = OkHttpClient.Builder() .addInterceptor(CronetInterceptor.newBuilder(cronetEngine).build())
My connection works if i remove CronetInterceptor. Can anyone confirm is cronet supports websocket connections?
The text was updated successfully, but these errors were encountered: