puppet error

31 views
Skip to first unread message

Aditya Gupta

unread,
Jun 28, 2016, 7:21:46 AM6/28/16
to Puppet Developers
hello ,

I am getting this error most of the time in puppet client.

Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2)


puppet client reports back even after this error display and same error comes under warning in foreman ENC.

Please suggest

Thanks,
Aditya

Michael Smith

unread,
Jun 28, 2016, 12:23:10 PM6/28/16
to puppet...@googlegroups.com, puppe...@googlegroups.com
This is most likely more appropriate for puppet-users.

On Tue, Jun 28, 2016 at 4:21 AM, Aditya Gupta <aditya...@gmail.com> wrote:
hello ,

I am getting this error most of the time in puppet client.

Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2)

Is there a possibility you're using remote resources via HTTP or a provider? Do particular resource applications fail? This is a pretty generic message that happens when trying to use Ruby's HTTP library to connect.

Turning on `--debug` may give more context for when this fails as well.


puppet client reports back even after this error display and same error comes under warning in foreman ENC.

Please suggest

Thanks,
Aditya

--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/e21f4ca5-d9e0-4bc1-a6e6-9fb3f5410eb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Aditya Gupta

unread,
Jun 30, 2016, 6:52:40 AM6/30/16
to Puppet Developers, puppet...@googlegroups.com
Thanks michael for reply.

I put that in debug and found exactly where it is geeting that warning:

Debug: Using cached certificate for r8sysapptest
Debug: Creating new connection for https://r8sysdpl08.localdomain:8140
Debug: Using cached certificate_revocation_list for ca
Debug: Starting connection for https://r8sysdpl08.localdomain:8140
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: A connection attempt failed because the connected party did not properl
y respond after a period of time, or established connection failed because conne
cted host has failed to respond. - connect(2)
Debug: Evicting cache entry for environment 'production'
Debug: Caching environment 'production' (ttl = 0 sec)
Info: Retrieving pluginfacts
Debug: Evicting cache entry for environment 'production'


when it start connection to the puppet server.


any idea??/
Reply all
Reply to author
Forward
0 new messages