Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Configuration Management Tool » IP Address UNREACHABLE: HTTP connection pool Max exceeded
  • MBAM Reports
    Microsoft BitLocker Administration and Monitoring Report Fields Windows Server
  • windows 10 creators update wallpaper 1
    How to locate and edit the host file on Windows Windows Server
  • Machine does not support XSAve
    How to disable side-channel mitigations on VMware Workstation Virtualization
  • Git not Recognized Image banner
    Fix Git is not recognised as an internal or external command Version Control System
  • image 22
    How to clone a Windows Server running on VirtualBox Virtualization
  • chocolatey logo 1
    Windows Package Manager: How to install applications using Chocolatey? Windows
  • mdtxxxxx
    Failed to run the action install Operating System: Lifetouch deployment failed, Return Code = -2147467259 0x80004005 when installing Windows image via MDT Windows
  • Updates Windows Apps with Norton
    How to update Windows Applications with Norton Updater Anti-Virus Solution

IP Address UNREACHABLE: HTTP connection pool Max exceeded

Posted on 17/04/202016/12/2023 Christian By Christian 4 Comments on IP Address UNREACHABLE: HTTP connection pool Max exceeded

In this article, you will learn how to fix the following error “IP Address UNREACHABLE: HTTP connection pool Max exceeded’. Ansible is an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code. Please see how to deploy a React Application to AWS S3, and how to deploy a .NET application to AWS Elastic Beanstalk using AWS Tool Kit.

Other helpful tutorials can be found here: Amazon Relational Database Service: How to install Amazon RDS using Terraform. How to install PostgreSQL on Ubuntu, and how to install, configure Prometheus for Monitoring on a Linux Server.

Why was the Error “IP Address UNREACHABLE” Prompted?

The following error below is a result of a wrong IP Address used in the inventory list. For more information on Ansible authentication options, see the following guides on Kerberos and WinRM Options.

Error as shown in the image below " IP Address UNREACHABLE: HTTP connection pool Max retries exceeded with url/wsman caused by NewConnectionError"

Since my focus is on Kerberos, see the article on how to configure Kerberos

192,168,178.43 | UNREACHABLE! => {
"changed": false,
"msg": "ssl: HTTPSConnectionPool(host='192,168,178.43', port=5986): Max retries exceeded with url: /wsman (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 8] Name or service not known'))",
"unreachable": true
}

The solution to fixing IP Address UNREACHABLE: HTTP connection pool Max retries exceeded with url/wsman caused by NewConnectionError

As you can see, it clearly stated “NewConnectionError”. Failed to establish a new connection because the IP Address had a comma (,) instead of a dot (.) in the host inventory as shown below.

Correct the inventory file as shown above. With the right IP Address and try again and try to oing the host inventory file as shown below with the following Ad hoc command.

$ ansible all -i hosts -m win_ping

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Configuration Management Tool Tags:Configuration Management Tool, IP Address, Windows 11

Post navigation

Previous Post: Ansible_user=UNREACHABLE {Failed to connect to the host via SSH: SSH: Could not resolve hostname (Name or service not known, unreachable true)
Next Post: How to configure a remote Windows Server to Support Ansible

Related Posts

  • image 92
    Install Let’s Encrypt Wildcard SSL Certificate in cPanel using Certify The Web Configuration Management Tool
  • 1 kajkbmlyehn0inifwrh 8w 1
    What to note when settings up Ansible to work with Kerberos Configuration Management Tool
  • images 1
    WARNING: The provided hosts list is empty only the localhost is available and note that the implicit localhost does not match all Configuration Management Tool
  • Groovy
    How to install Groovy on Linux and Windows Configuration Management Tool
  • ansible logo600 591x296 1
    Ansible_user=UNREACHABLE {Failed to connect to the host via SSH: SSH: Could not resolve hostname (Name or service not known, unreachable true) Configuration Management Tool
  • ansible business cards 1600x0 c default
    Various Ansible Authentication Options Configuration Management Tool

More Related Articles

image 92 Install Let’s Encrypt Wildcard SSL Certificate in cPanel using Certify The Web Configuration Management Tool
1 kajkbmlyehn0inifwrh 8w 1 What to note when settings up Ansible to work with Kerberos Configuration Management Tool
images 1 WARNING: The provided hosts list is empty only the localhost is available and note that the implicit localhost does not match all Configuration Management Tool
Groovy How to install Groovy on Linux and Windows Configuration Management Tool
ansible logo600 591x296 1 Ansible_user=UNREACHABLE {Failed to connect to the host via SSH: SSH: Could not resolve hostname (Name or service not known, unreachable true) Configuration Management Tool
ansible business cards 1600x0 c default Various Ansible Authentication Options Configuration Management Tool

Comments (4) on “IP Address UNREACHABLE: HTTP connection pool Max exceeded”

  1. Avatar photo Dan says:
    02/08/2022 at 3:34 PM

    I have been having a lot of trouble with the Windows AMI builds. We use a AWS code build server that we load packer and Ansible on to connect and configure the AMI’s. 

    I am having a problem with winrm connection time outs, especially after reboots.  

    CONNECTION FOR USER: Administrator on PORT 5986 TO 10.184.8.21
       amazon-ebs: fatal: [default]: UNREACHABLE! => {
       amazon-ebs:    “changed”: false,
       amazon-ebs:    “msg”: “basic: HTTPSConnectionPool(host=’10.184.8.21′, port=5986): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPSConnection object at 0x7f893732dd50>, ‘Connection to 10.184.8.21 timed out. (connect timeout=30)’))”,
       amazon-ebs:    “unreachable”: true
       amazon-ebs: }
       amazon-ebs:
       amazon-ebs: PLAY RECAP 
    Is there a way to increase this time to 90 and add the number of tries? I added a pause after the reboot, this seems to help, but it still is not consistent. This timing delicacy is my main problem working with Windows AMI’s. If I change the order of the tasks, or and executable changes the whole thing breaks.

    Log in to Reply
    1. chris Christian says:
      03/08/2022 at 3:09 PM

      [ansible-project] Re: Problem with WinRM Connections (mail-archive.com)

      Log in to Reply
  2. Avatar photo Shashikant Ngare says:
    15/03/2023 at 12:48 PM

    I have struggled for 2 days with same issue , and while googling got his page , tried the solution and it got worked …

    Thanks …….

    Log in to Reply
    1. chris Christian says:
      15/03/2023 at 2:42 PM

      Thanks, a lot for your feedback! I am glad you found it useful…

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • MBAM Reports
    Microsoft BitLocker Administration and Monitoring Report Fields Windows Server
  • windows 10 creators update wallpaper 1
    How to locate and edit the host file on Windows Windows Server
  • Machine does not support XSAve
    How to disable side-channel mitigations on VMware Workstation Virtualization
  • Git not Recognized Image banner
    Fix Git is not recognised as an internal or external command Version Control System
  • image 22
    How to clone a Windows Server running on VirtualBox Virtualization
  • chocolatey logo 1
    Windows Package Manager: How to install applications using Chocolatey? Windows
  • mdtxxxxx
    Failed to run the action install Operating System: Lifetouch deployment failed, Return Code = -2147467259 0x80004005 when installing Windows image via MDT Windows
  • Updates Windows Apps with Norton
    How to update Windows Applications with Norton Updater Anti-Virus Solution

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,836 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.