# urllib3 issue

**URL:** <https://forum.ansible.com/t/urllib3-issue/28434>\
**Category:** Ansible Project\
**Created:** [August 27, 2018, 11:01pm UTC](https://forum.ansible.com/t/urllib3-issue/28434 "2018-08-27T23:01:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guy\_Knights](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Post date:** [August 27, 2018, 11:01pm UTC](https://forum.ansible.com/t/urllib3-issue/28434/1 "2018-08-27T23:01:36Z")

</div>

Using Ansible 2.4, we suddenly started getting an error on a random assortment of our servers today:

ERROR! Unexpected Exception, this is probably a bug: Requests dependency ‘urllib3’ must be version \>= 1.21.1, \< 1.22!

Some servers running exactly the same task and also with version 1.23 of urllib3 installed worked fine. I rolled back urllib3 to 1.22 on the failing servers and it fixed the issue. Anyone know what the problem is and why only some of the servers are failing with this error?

Thanks,  
Guy

---

<div class="post-metadata">

**Author:** ![Bharath\_Kumar2](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@Bharath\_Kumar2](https://forum.ansible.com/u/Bharath_Kumar2)\
**Post date:** [August 28, 2018, 2:30am UTC](https://forum.ansible.com/t/urllib3-issue/28434/2 "2018-08-28T02:30:29Z")

</div>

Hi Guy,

Where this servers patched recently?

“yum update/upgrade”

---

<div class="post-metadata">

**Author:** ![Guy\_Knights](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Post date:** [August 28, 2018, 5:23pm UTC](https://forum.ansible.com/t/urllib3-issue/28434/3 "2018-08-28T17:23:15Z")

</div>

We’re using Ubuntu (14.04) but yes, we do weekly upgrades.

---

<div class="post-metadata">

**Author:** ![Guy\_Knights](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Post date:** [August 30, 2018, 6:00pm UTC](https://forum.ansible.com/t/urllib3-issue/28434/4 "2018-08-30T18:00:18Z")

</div>

Is no-one else seeing this issue? It keeps coming up for me.

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [August 30, 2018, 7:07pm UTC](https://forum.ansible.com/t/urllib3-issue/28434/5 "2018-08-30T19:07:35Z")

</div>

> Is no-one else seeing this issue? It keeps coming up for me.

No, from which part are you getting this error message?

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [August 30, 2018, 7:15pm UTC](https://forum.ansible.com/t/urllib3-issue/28434/6 "2018-08-30T19:15:03Z")

</div>

That error would seem to be coming from requests. Based on that, it seems that you have upgraded urllib3 out of band of upgrading requests, and the dependency is insufficient.

Requests is used throughout a few modules/plugins, either directly, or as a dependency, as well as by the winrm connection plugin.
