Is your Jenkins services hosted on jenkins.com ? The error indicate
that's the host you are trying to connect to.
On Friday, June 30, 2023 at 12:22:19 AM UTC-7 Narmada Karthika wrote:
> I am getting below error when trying to connect to jenkins url using
> ansible_jenkins_info module
>
> msg": "Unable to connect to Jenkins server, Unable to authenticate with
> any scheme:\nauth(kerberos) HTTPSConnectionPool(host='<jenkins.com>.*',
> port=443): Max retries exceeded with url: /api/json (Caused by
> NewConnectionError('<urllib3.connection.HTTPSConnection object at
> 0x7f4fcb26bd30>: Failed to establish a new connection: [Errno -2] Name or
> service not known',))\nauth(basic) HTTPSConnectionPool(host=' <jenkins.com>.*
>
> ', port=443): Max retries exceeded with url: /api/json (Caused by
> NewConnectionError('<urllib3.connection.HTTPSConnection object at
> 0x7f4fcb26b9e8>: Failed to establish a new connection: [Errno -2] Name or
> service not known',))",
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/e94b3949-c247-4756-94a0-fe5a1d04aa18n%40googlegroups.com.