-
Notifications
You must be signed in to change notification settings - Fork 17
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
Getting H3_INTERNAL_ERROR on calling via h3 preference #33
Comments
|
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. |
can resolve by this: |
Thanks @denonzhu did your suggested changes work, if you tried changing on a fork or something? |
Hello @scoobhidu , your screenshot is unfortunately not loading. Rhttp already uses the latest version (0.12.9) https://github.com/Tienisto/rhttp/blob/main/rhttp%2Frust%2FCargo.toml#L17 I am thinking of adding the workaround by @denonzhu but I am not sure if it has bad side effects or if we should wait if the issue is fixed by h3. |
oh sorry @Tienisto, the screenshot was of https://github.com/seanmonstar/reqwest/blob/master/src/async_impl/h3_client/connect.rs the file does not contain the grease dependency in remote_connect method as highlighted in denonzhu's screenshot |
@denonzhu's suggested fix seems to be working as from H3_INTERNAL_ISSUE I have now started getting another issue where I keep getting this
This keeps happening on a loop with recurrent requests and same error Can you please help in resolving this? |
hi @Tienisto I tried building the same logic using reqwest
I get the following response |
You should reach out for https://github.com/seanmonstar/reqwest |
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
The text was updated successfully, but these errors were encountered: