# curl: (35) TCP connection reset by peer and 503 errors

**URL:** <https://forum.ansible.com/t/curl-35-tcp-connection-reset-by-peer-and-503-errors/26308>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [December 15, 2017, 9:50pm UTC](https://forum.ansible.com/t/curl-35-tcp-connection-reset-by-peer-and-503-errors/26308 "2017-12-15T21:50:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sammic30](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Sammic30](https://forum.ansible.com/u/Sammic30)\
**Post date:** [December 15, 2017, 9:50pm UTC](https://forum.ansible.com/t/curl-35-tcp-connection-reset-by-peer-and-503-errors/26308/1 "2017-12-15T21:50:48Z")

</div>

Hi,

I’m trying to use AWX with Openstack and while running bootstrap as a adhoc command I’m getting curl: (35) TCP connection reset by peer and 503 errors but when I execute manually directly on the server everything works fine.

Any suggestion will be appreciated.

Regards,  
Sammi

---

<div class="post-metadata">

**Author:** ![Sammic30](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Sammic30](https://forum.ansible.com/u/Sammic30)\
**Post date:** [December 18, 2017, 7:03pm UTC](https://forum.ansible.com/t/curl-35-tcp-connection-reset-by-peer-and-503-errors/26308/2 "2017-12-18T19:03:41Z")

</div>

FYI,  
yum -y install git curl autoconf gcc gcc-c++ nc python2 python2-devel openssl-devel libffi-devel libselinux-python  
[https://copr-be.cloud.fedoraproject.org/results/mrmeee/awx-dev/epel-7-x86\_64/repodata/repomd.xml](https://copr-be.cloud.fedoraproject.org/results/mrmeee/awx-dev/epel-7-x86_64/repodata/repomd.xml): [Errno 14] curl#35 - “TCP connection reset by peer”  
Trying other mirror.  
[https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86\_64/repodata/repomd.xml](https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/repodata/repomd.xml): [Errno 14] curl#35 - “TCP connection reset by peer”  
Trying other mirror.

- curl --silent --show-error --retry 5 [https://bootstrap.pypa.io/get-pip.py](https://bootstrap.pypa.io/get-pip.py)  
curl: (35) TCP connection reset by peer
- curl --silent --show-error --retry 5 [https://raw.githubusercontent.com/pypa/get-pip/master/get-pip.py](https://raw.githubusercontent.com/pypa/get-pip/master/get-pip.py)  
curl: (35) TCP connection reset by peer
