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

IoCompatibleClient throws CloseStreamException #27

Open
Tienisto opened this issue Sep 30, 2024 · 5 comments
Open

IoCompatibleClient throws CloseStreamException #27

Tienisto opened this issue Sep 30, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Tienisto
Copy link
Owner

When using IoCompatibleClient, it might throw CloseStreamException when using with HttpOverrides

See #25

@Tienisto Tienisto added the bug Something isn't working label Sep 30, 2024
@Tienisto
Copy link
Owner Author

@abdelaziz-mahdy Can you check the latest version (v0.8.2) if it fixes the problem?

@abdelaziz-mahdy
Copy link
Contributor

currently i cant test it due to the error thrown at the set idle timeout, so i am searching for a way to implement it in rust side, if i think i got something i will open a pr for it

@abdelaziz-mahdy
Copy link
Contributor

with my pr, i got another error

_$RhttpError_RhttpUnknownErrorImpl (RhttpError.rhttpUnknownError(field0: hyper_util::client::legacy::Error(SendRequest, hyper::Error(Http2, Error { kind: Reset(StreamId(1), PROTOCOL_ERROR, Remote) }))))

@Tienisto
Copy link
Owner Author

Tienisto commented Nov 2, 2024

It seems that there is something wrong with the server. Does it work with dio or http? Does it help to use HTTP/1.1 ?

@abdelaziz-mahdy
Copy link
Contributor

It seems that there is something wrong with the server. Does it work with dio or http? Does it help to use HTTP/1.1 ?

it works with dio yes,

using httpVersionPref: HttpVersionPref.http1_1 works for some requests but some other fail

this is the stacktrace
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants