Closed thomas-riccardi closed 4 years ago
In #58 we used advanced timeout control in requests
: small connect
timeout (3.05s
) then larger read
timeout (idle timeout between 2 effective data reads).
However, it seems that connect
timeout does not mean TCP connect timeout as we expected, but in fact it's TCP connect + HTTP request write timeout, which is clearly larger than expected for network uploads (N*100MB to upload...).
Also, we are probably impacted by https://github.com/psf/requests/issues/4402#issuecomment-415748368 ...
requests
project finally responded to my 1 year old issue: it's a behavior change in python 3.5 socket.sendall()
: https://github.com/psf/requests/issues/5263#issuecomment-753620169
It seems the current behavior may be there for a long time.
When creating a Network we sometimes get a timeout error: