Open taoqf opened 6 months ago
It is an issue about network. We chineses could not access github smoothly. Is there a way to avoid this?
Part of this is security related (we can put harmful Dev Container Features on a disallow list). It would be best to allow the connection. If you can't do that a workaround would be to immediately reject the connection at your network's firewall instead of letting it time out which takes a lot of time.
Cancer? then Is there an configuration to set timeout?
Not only github, there are to many connection we are been blocking.
I'm not a networking expert, but the error message you posted above ETIMEDOUT
suggests that some firewall is silently dropping your connection attempts. It would be much faster if that firewall actively rejected the connection attempt, so it immediately fails and doesn't wait until the timeout occurs.
We can look into lowering the timeout on our side, but that would still have to be a value long enough to let slow connections succeed.
That would be nice then.
Reopening to track lowering the timeout here. Thanks.
Looking forward to customizable timeout too. Have same error:
[7515 ms] userEnvProbe is taking longer than 2 seconds. Process not found.
[7978 ms] Stop (3516 ms): Run: docker buildx version
[7980 ms] github.com/docker/buildx 0.12.1 0.12.1-0ubuntu2.1
[7980 ms]
[7981 ms] Start: Run: docker -v
[8016 ms] Stop (35 ms): Run: docker -v
[8017 ms] Start: Resolving Remote
[8027 ms] Start: Run: git rev-parse --show-cdup
[8035 ms] Stop (8 ms): Run: git rev-parse --show-cdup
[144217 ms] Failed to fetch control manifest:
[144223 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/titov_g/monorepo --filter label=devcontainer.config_file=/home/titov_g/monorepo/.devcontainer/devcontainer.json
But as you can see i haven't got an error type.
I'm not sure does this problem cause hang, but I don't see other slow tasks.
Steps to Reproduce:
Does this issue occur when you try this locally?: Yes/No Does this issue occur when you try this locally and all extensions are disabled?: Yes/No