# AWX playbook issue using redhat module for Satellite

**URL:** <https://forum.ansible.com/t/awx-playbook-issue-using-redhat-module-for-satellite/36778>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [June 27, 2022, 12:22pm UTC](https://forum.ansible.com/t/awx-playbook-issue-using-redhat-module-for-satellite/36778 "2022-06-27T12:22:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hieronymus](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/hieronymus/32/1624_2.png) [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Post date:** [June 27, 2022, 12:22pm UTC](https://forum.ansible.com/t/awx-playbook-issue-using-redhat-module-for-satellite/36778/1 "2022-06-27T12:22:21Z")

</div>

Hi All,

I’m using automation hub collection with Ansible to retrieve or configure parameters by Satellite, like: _redhat.satellite.sync\_plan_. As test I’ve disabled TLS certificates checking with _validate\_certs_ as no.  
Unfortunately I’ve received a connection error despite username/password are correct.  
Here’s the error message from AWX:  
Failed to connect to Foreman server: DocLoadingError: Could not load data from [https://server.domain](https://server.domain): HTTPSConnectionPool(host=‘server.domain’, port=443): Max retries exceeded with url: /apidoc/v2.json (Caused by NewConnectionError(‘\<urllib3.connection.VerifiedHTTPSConnection object at 0x7f1c3ca46e80\>: Failed to establish a new connection: [Errno 110] Connection timed out’,))\n - is your server down?\n - was rake apipie:cache run when using apipie cache? (typical production settings)"

I don’t understand this problem and I don’t know how to go further for troubleshooting…  
Has anyone had encounter the same issue or does anyone have an idea?

Thanks for your help

Best regards, H

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [June 29, 2022, 7:40pm UTC](https://forum.ansible.com/t/awx-playbook-issue-using-redhat-module-for-satellite/36778/2 "2022-06-29T19:40:54Z")

</div>

Hello,

Did you mask the [https://server.domain](https://server.domain) or is that really where its trying to connect to?  
The module error is reporting: “Failed to establish a new connection: [Errno 110] Connection timed out” which I think is your error.  
If you did mask the URL, can you attempt to connect to your server from the AWX server using curl or some other means to make sure there isn’t something blocking the connection?  
Also, if this is the supported collection (which it looks like it is) you can also request support from RedHat.

-The AWX Team

---

<div class="post-metadata">

**Author:** ![hieronymus](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/hieronymus/32/1624_2.png) [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Post date:** [July 1, 2022, 1:13pm UTC](https://forum.ansible.com/t/awx-playbook-issue-using-redhat-module-for-satellite/36778/3 "2022-07-01T13:13:17Z")

</div>

Hi Team,  
Yeah, I’ve masked the URL.  
I’ve tried to connected to my server from the AWX Server and it is ok but I’ve got some issue from the AWX Container: SSL certificate problem: self signed certificate in certificate chain

- Closing connection.  
Unfortunately I don’t have the password of the awx user on container and I cannot change anything on this **awx-instance-web container**.  
You right, it is a supported collection but I dont’t know if I could do some request because I’m using AWX and not Ansible Tower.  
Thank you and best regards, H

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [July 1, 2022, 3:49pm UTC](https://forum.ansible.com/t/awx-playbook-issue-using-redhat-module-for-satellite/36778/4 "2022-07-01T15:49:03Z")

</div>

Do you know what the self signed cert in the chain is from? Is it an internal cert?  
If so, and you trust it, have you tried using the validate\_certs option in the module?  
That should prevent the module from validating the certs all together.

-The AWX Team
