Do we have a timeout set for pulling docker images...
# dev-help
b
Do we have a timeout set for pulling docker images when running OH? If I understand correctly, this user is complaining that it takes a long time for the docker images to get downloaded and it keeps timing out.
l
It's the CLI serve code. If you look at the sources shown in the issue, it kills the docker pull after 300s. I kept running into the same issue, but didn't bother looking into it. Also, docker pull doesn't resume, so even if you keep running openhands serve it will never finish downloading if the issue is the connection speed.
It's the timeout shown in the screenshot below. Edit: I wanted to send a PR to remove it, but didn't want to bother the devs since the CLI is being rewritten.
b
Ouch! That doesn't seem great considering how bad it is on WSL.
Thanks for educating me 🙏
l
Np. I wanted to comment on the issue back when I read it, but I forgot 😱. It's not WSL only though, in my case it happened on Ubuntu. Any connection slower than ~10mbit will likely run into the issue. If the new CLI isn't going to be ready soon, it would be better to get rid of that timeout.
docker pull
will likely fail on its own in case of an unreliable connection.