Garden-AI / garden

https://garden-ai.readthedocs.io
MIT License
19 stars 4 forks source link

New kind of Docker connection failure #480

Closed WillEngler closed 3 months ago

WillEngler commented 3 months ago

When onboarding, Jason ran into this Docker error I haven't seen before. Given that he just installed the Garden CLI today/yesterday, it seems plausible that he ran into this issue that a lot of people have been running into. A possible fix is limiting requests to <= 2.31 until we do a deeper dive.

image (2) image (1)

Acceptance Criteria

Given someone has just installed the latest release of Garden with pipx, when they try to use notebook start, then they can connect to Docker from the CLI.

hholb commented 3 months ago

@MaxTuecke Is this the same issue you ran into?

mtilyxuegao commented 3 months ago

I tried pinning requests 2.31 and 2.29 but it doesn't seem to help

WillEngler commented 3 months ago

I did a fresh install of Garden that pulled in requests 2.32, and was able to reproduce the issue. I then tweaked pyproject.toml to limit requests <=2.31. I refreshed my dependencies with poetry update, which installed requests 2.31. Then the issue was resolved. This would be a good first issue for a new intern to make a PR for :)

Screenshot 2024-06-12 at 11 15 15 AM