Issue #4762 has been updated by Francisco Lozano.
Michael Stahnke wrote: > This is by far my favorite ticket ever. > > > Fix released for 2.7.3rc1. Is this backported somehow to 2.6? if so, which version? ---------------------------------------- Bug #4762: Speed of light interfering with normal puppet operation https://projects.puppetlabs.com/issues/4762#change-90078 * Author: John Ferlito * Status: Closed * Priority: High * Assignee: * Category: Doh! * Target version: 2.7.3 * Affected Puppet version: 0.25.5 * Keywords: speed of light in a vacuum * Branch: ---------------------------------------- Puppet::Network::HTTP::WEBrick doesn't wait long enough for the connection to establish In puppet/network/http/webrick.rb there is the following code @mutex.synchronize do raise "WEBrick server is already listening" if @listening @listening = true @thread = Thread.new { @server.start { |sock| raise "Client disconnected before connection could be established" unless IO.select([sock],nil,nil,0.1) sock.accept @server.run(sock) } } sleep 0.1 until @server.status == :Running end end The select only waits for 100ms. In my situation I have servers in US and puppet masters in Australia. 100ms is nowhere near long enough for the connection to establish Maybe 2-5 seconds would be more appropriate -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
