Ask Your Question
0

WebSocket on fail event (connection loss): Underlying Transport Error (code: 1006)

asked 2018-04-12 16:41:41 -0500

whoisearth gravatar image

On Nodes outside of the Node which sits on my monolithic puppet server I am unable to connect the PXP Agent. I continually see the following in the log:

 2018-04-12 17:37:29.929784 INFO  puppetlabs.cpp_pcp_client.connection:402 - Establishing the WebSocket connection with 'wss://puppetmaster.domain.com:8142/pcp2/agent' with a timeout of 5000 ms
2018-04-12 17:37:29.933294 WARN  puppetlabs.cpp_pcp_client.connection:548 - WebSocket on fail event (connection loss): Underlying Transport Error (code: 1006)

I'm able to do a puppet agent -t with no errors.

Running puppet-job run --nodes server.domain.com from the puppet master returns a similar error message

Starting deployment ...

+-------------------+-------+
| Job ID            | 29    |
| Target            | nodes |
| Concurrency Limit | None  |
| Nodes             | 1     |
+-------------------+-------+

Application instances: 0

Node run order (nodes in level 0 run before their dependent nodes in level 1, etc.):
0 -----------------------------------------------------------------------
server.domain.com

New job id created: 29
Started puppet run on server.domain.com ...
Error running puppet on server.domain.com: server.domain.com is not connected to the PCP broker
|
Job failed. 1 run failed, 0 runs skipped, 0 runs succeeded.
Duration: 1 sec
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-04-12 16:43:07 -0500

whoisearth gravatar image

oh for the love of God! It was my firewalld service! I need to poke a hole in it now :)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-04-12 16:41:41 -0500

Seen: 27 times

Last updated: Apr 12