Skip to content

Commit

Permalink
fix(ci): address Not supported URL scheme error caused by the request…
Browse files Browse the repository at this point in the history
…s package

A bug in the requests package v2.32.0 that causes the CI and Ansible docker module to fail with "Error connecting: Error while fetching server API version: Not supported URL scheme http+docker" msg, to reconcile this we either have to downgrade and pin the pip docker package to v7.1.0 or the requests packages to <2.32 until an offical fix is released

Source 1: docker/docker-py#3256

Source 2:ansible-collections/community.docker#868

Source 3: https://www.reddit.com/r/docker/comments/1cwx3pg/issue_with_python_docker_sdk/

All these sources are within the same timeframe
  • Loading branch information
OmarMoustafaElsherbiny committed May 28, 2024
1 parent a3a0a4f commit 5700f27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Ansible/install_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@
become_user: ec2-user
ansible.builtin.pip:
name:
- requests==2.30.0
# - docker==7.1.0
- docker
- docker-compose

0 comments on commit 5700f27

Please sign in to comment.