Closed avysk closed 1 month ago
I have bypassed the problem by setting http_timeout = 60
in config file. You have somewhere the hardcoded timeout. Oh my.
This https://github.com/jdx/mise/commit/cca3a8abf58a7d851ce413a8e0c7dc99b859477f kinda parametrizes timeout. Still "did not download file in time T" is not a good way to determine if http request has stalled. At the very least, without major changes in the architecture, you can reset timeout if some new data has arrived.
HTTP timeout is still 30s even after changes in cca3a8a but i assume the culprit is the following line which should rather be a read_timeout()
.
https://github.com/jdx/mise/blob/4334313da52c13d7f87656fb0e7978e4cf1f5d2f/src/http.rs#L38
Describe the bug
I have tried to
cargo uninstall mise
and thencarge install mise
with the same result.Expected behavior Node is updated.
mise doctor
outputAdditional context
Downloading dist tarball manually on this system works without any problems.