Questions tagged [cronet]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
1 vote
0 answers
99 views

All available Cronet providers are disabled. A provider should be enabled before it can be used

Caused by java.lang.RuntimeException: All available Cronet providers are disabled. A provider should be enabled before it can be used. at org.chromium.net.CronetEngine$Builder....
Sanjeet Kushwaha's user avatar
0 votes
0 answers
50 views

Glide with Cronet uses http2 instead of http3 for image download

I want to download images using HTTP3 and Glide. I read that I can use Cronet to send HTTP3 requests in android and I can integrate Glide and Cronet in my app. According to this doc, Glide will start ...
aquaman's user avatar
  • 1,523
0 votes
0 answers
68 views

Crash in Cronet on Android [CronetDynamite.apk] SIGTRAP

I use Cronet in my Android app. Recently the following crash is reported in the Play Console (about 1 in 100 users is affected): [CronetDynamite.apk] SIGTRAP *** *** *** *** *** *** *** *** *** *** *...
jake n's user avatar
  • 371
1 vote
0 answers
94 views

Certificate authentication with Cronet (Android)

I would like to perform API calls using Cronet (https://developer.android.com/codelabs/cronet#0) with certificate authentication (aka mutual TLS). I cannot find any documentation or sample. Is there ...
Florent Nosari's user avatar
0 votes
0 answers
153 views

Not getting plain text response using Cronet Engine with Brotli enabled

I am using CronetEngine for making a network request as below val engine: CronetEngine = CronetEngine.Builder(context).enableQuic(false) .enableBrotli(true) ...
WISHY's user avatar
  • 11.4k
0 votes
0 answers
270 views

Java - Read from InputStream to ByteBuffer by chunk size

I am using Cronet API with our current API stack, specifically UploadDataProvider, there is a ByteBuffer with preset limit, seems like the limit size is fixed and we need to pass the data chunk by ...
Cheng's user avatar
  • 775
0 votes
1 answer
334 views

How to set max wait time for http response in Android Cronet?

I use Android's recommended Cronet library for making HTTP requests, however, I couldn't find information on how to implement certain features. For example, I need to set max wait time for all HTTP ...
Bravo's user avatar
  • 1,482
0 votes
1 answer
42 views

"_bidirectional_stream_destroy", referenced from:

i'm trying to use grpc+quic on iOS. the podspec is pod 'gRPC-ProtoRPC' pod 'gRPC-Core/Cronet-Implementation' pod 'gRPC/GRPCCoreCronet' then buildsuccss but link error: Undefined symbols for ...
Simp.L's user avatar
  • 1
0 votes
1 answer
1k views

Android: How inspect http(s) request headers?

I'm developing an Android application, it is like a browser, has a web-view and sends http(s) requests. For debugging purpose, I want to be able to see the requests sent and received by the ...
Marco's user avatar
  • 1
4 votes
0 answers
124 views

Change max. idle time for (crypto) handshake in Chromium HTTP/3

Background: I'm trying to measure common metrics (e.g. firstContentfulPaint) using selenium with chromium over satellite links under different loss and delay parameters. Problem: When running with ...
curtp67's user avatar
  • 41
0 votes
1 answer
249 views

QUIC with HTTP 1

Can I use QUIC with HTTP 1 (in Android). I have been reading that QUIC works with HTTP 2 but when I used it with HTTP 1 then my HTTP connection time improved. I was using urlConnection = (...
Android14's user avatar
  • 1,085
1 vote
1 answer
306 views

How to build chromium's cronet library for Linux desktop?

I would like to use chromium's network stack for desktop applications, from what I heard it was developed for mobile platforms. Is there a way to build it for desktop platforms?
hldev's user avatar
  • 994
2 votes
2 answers
252 views

Downloading prebuilt Cronet (Chromium network stack) library

Is there any way to download Cronet prebuilt library? I'd like to use cronet.<version>.so (dynamic/shared library) on Desktop for debugging purposes. Is there any way to download it directly ...
Prerak Mann's user avatar
6 votes
2 answers
1k views

How to send a “multipart/form-data” POST in Android with CRONET?

Has anyone been able to accomplish sending a multipart/form-data POST in Android with CRONET yet? I have had no success trying to upload an image/png using a POST request to our server and am curious ...
user avatar
-1 votes
1 answer
215 views

UDP transport underneath GPRC for C# unity gaming application

I am planning to use GRPC with C# and unity for gaming application. Is it possible to use UDP transport underneath GRPC? Also, is it possible to use Cronet transport underneath GRPC?
curry rocks's user avatar
1 vote
1 answer
198 views

iOS cronet ld error with enable_ios_bitcode flag

I build iOS Cronet with flag 'enable_ios_bitcode=true'. However, I meet the error below: ld: section __bundle (address=0x003F8000, size=1136419986) would make the output executable exceed available ...
Lonnie.Zhang's user avatar
2 votes
1 answer
3k views

How to send json object as post request in CRONET?

I am developing android application in which i send data to server using cronet now i want to send data to server in json object but not know how to send in object? Following is my snippet code for ...
Bolt UIX's user avatar
  • 6,290
1 vote
0 answers
312 views

NSURLProtocol registerClass works for iOS simulator but not actual device

I am calling [NSURLProtocol registerClass] to use a custom protocol (Chromium Cronet) when playing a video using AVPlayer. (The register is done at here: ) It works well on iOS simulator (Xcode 11.3)...
user1783732's user avatar
  • 1,679
1 vote
1 answer
221 views

Weird iOS crash stack without the called function [closed]

the code block below is the crash stack of a iOS APP, which using Cronet. we are trying to find the exact crash line in the source code according to the last frame 1, as we can see, is the function ...
Berte Colin's user avatar
0 votes
1 answer
587 views

How to emit from a LiveData builder from a non-suspending callback function

I'm new to LiveData and Kotlin Coroutines. I'm trying to use the Chromium Cronet library to make a request from my repository class to return a LiveData object. To return the liveData, I'm using the ...
VIN's user avatar
  • 6,586
4 votes
1 answer
518 views

C++ API availability for Cronet [closed]

Are native bindings to Cronet available? Are there any C++ API available?That would be useful when having a C++ library shared between Android and iOS.
kul3r4's user avatar
  • 351
0 votes
1 answer
191 views

Does Cronet support requests queueing?What is the limit?

Does Cronet support queueing outgoing requests when using HTTP/2 or QUIC? and if so, is it unbounded/has large limit? Is an error returned if the application exceeds the max allowed in-flight requests?...
kul3r4's user avatar
  • 351
0 votes
1 answer
244 views

Cronet and ExperimentalCronetEngine

Are there any drawbacks to use ExperimentalCronetEngine instead of CronetEngine? We would like to experiment with the network quality estimator, which is only exposed in ExperimentalCronetEngine.
kul3r4's user avatar
  • 351