Open rajat-ventura opened 1 month ago
I just dug a bit deeper and this line is throwing the error
final rustResponse = await responseCompleter.future;
in request.dart line 160
H3_INTERNAL_ERROR
seems like an error on the Rust side.
is there any way i can look into the RCA on what was wrong from my end? and maybe try to fix it
An option would be to run write the exact request in Rust to check if Rhttp doesn't do anything wrong. If it still occurs, then maybe there is a solution in reqwest or h3 Github repo.
I am calling NGINX with http3 enabled and cronet is working fine as well as a request client. We are doing a PoC and are trying to use rhttp instead because of its speed. Could you please check if my implementation is wrong?
` rAuthInvest = await RhttpCompatibleClient.create( interceptors: [TimeInterceptor()], settings: ClientSettings( httpVersionPref: HttpVersionPref.http3, timeoutSettings: TimeoutSettings( timeout: Duration(seconds: 30), connectTimeout: Duration(seconds: 10), keepAliveTimeout: Duration(seconds: 60), ), throwOnStatusCode: true, ) );
Future orderbookHeaders( {Function(dynamic data)? onSuccess, Function(dynamic error)? onError, Map<String, String> headers = const {}, Map requestData = const {}}) async {
} `
any support would be really helpful