Eric
2011-Apr-03 05:06 UTC
[Puppet Users] Puppetmaster behind ssh with remote port forward
Hi Folks, I''m trying to setup a test envoriment which is composed by a puppetmaster running in my laptop (Macos Snow Leopard) and a puppet client running on a EC2 instance at Amazon. In order to allow the client to talk with the master I''m using an SSH Remote port forward, ie I login into from the laptop into the EC2 instance witha "-R 8140:localhost:8140" flag. This way when the clients connect into localhost:8140 this connection is forwarded back via SSH tunnel to my laptop. Now, whenever I test it with netcat or something similar, everything went fine, but when I run puppetd I got the error: "err: Could not request certificate: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A". What does this mean? How could I get this working? Thanks in advance for any help. Best regards, Eric -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jaroslav Klaus
2011-Apr-03 09:48 UTC
Re: [Puppet Users] Puppetmaster behind ssh with remote port forward
On 3.4.2011, at 7:06, Eric wrote:> I''m using an SSH Remote port forward, > ie I login into from the laptop into the EC2 instance witha "-R > 8140:localhost:8140" flag. > > but when I run puppetd I got the error: > > "err: Could not request certificate: SSL_connect SYSCALL returned=5 > errno=0 state=SSLv2/v3 read server hello A". What does this mean? How > could I get this working?Hi, This was discussed this week. http://bit.ly/gUXkHn Find IO.select in lib/puppet/network/http/webrick.rb and increase timeout. In my case 0.5s was enough. regards Jaroslav -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Eric
2011-Apr-03 14:34 UTC
[Puppet Users] Re: Puppetmaster behind ssh with remote port forward
Nice!! thanks, that did the trick! On Apr 3, 6:48 am, Jaroslav Klaus <jaroslav.kl...@gmail.com> wrote:> On 3.4.2011, at 7:06, Eric wrote: > > > I''m using an SSH Remote port forward, > > ie I login into from the laptop into the EC2 instance witha "-R > > 8140:localhost:8140" flag. > > > but when I run puppetd I got the error: > > > "err: Could not request certificate: SSL_connect SYSCALL returned=5 > > errno=0 state=SSLv2/v3 read server hello A". What does this mean? How > > could I get this working? > > Hi, > > This was discussed this week.http://bit.ly/gUXkHn > > Find IO.select in lib/puppet/network/http/webrick.rb and increase timeout. In my case 0.5s was enough. > > regards > Jaroslav-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.