Issue #4762 has been updated by Markus Roberts.
Thoughts: 1. According to some theories of physics, c was significantly larger in the first few femptoseconds after the big bang. Could you perhaps retry under those conditions...no wait, that's not going to work, as it only lasted a vary small fraction of the timeout...hmmm. 2. Perhaps if you could retry somewhat later (~12 billion years) in the mesozoic, when Australia and North America were actually part of the same land mass? 3. Failing that, could you try just raising the timeout value (by editing the line on the puppet master, setting it to 20 or something) to see if that has any effect? The reason I ask is that the timeout in question isn't waiting for a connection to be established, it's checking to see if the connection was terminated by the client immediately after being requested before accepting it (and potentially deadlocking). ---------------------------------------- Bug #4762: Speed of light interfering with normal puppet operation http://projects.puppetlabs.com/issues/4762 Author: John Ferlito Status: Investigating Priority: High Assignee: Category: Doh! Target version: Affected 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
