-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Requests that never end and cannot be canceled #1279
Comments
That it works everywhere else but not on actix-web-actors makes me think that the issue is somewhere in there... Something to check: in your |
That is also my suspicion.
Only one version, 1.6.1. |
Is there any way to debug this? |
The following crates appear twice:
I wonder if it could be the double |
try setting |
We've been hit by this yesterday (and I think once before) and tracked it down to this, which also affects reqwest. The example program from hyperium/hyper#2312 can easily show the problem. |
I'm submitting this issue without a minimal case so far because I have only been able to reproduce it with a specific server which requires authentication. Apologies for the lack of context. I'll try and add context as my investigation progresses.
What goes wrong
I'm using
reqwest::Client::get
to create and send requests to a HTTP server. According to server and proxy logs, the HTTP server sends a response within 1 second.The first few requests work nicely. Then, for reasons that I do not understand yet, at some point all new requests:
tokio::time::timeout
(I've set that one to 3 minutes).Needless to say, this quickly brings the application to a blocking state.
I've attempted to set
connection_verbose(true)
andRUST_LOG=trace
but I don't see any logs from reqwest for these requests.What I'm doing specific
reqwest::Client
- however, I've tried cloning the client before sending the request and this doesn't seem to change anything;buffer_unordered
- I've tried with various limits, between 1 and 10, this doesn't seem to change anything;tokio::spawn
, this doesn't seem to change anything;Software configuration
features = ["json", "stream"]
features = ["full"]
The text was updated successfully, but these errors were encountered: