Issue #3133 has been updated by James Turnbull. Target version changed from 0.25.5 to 0.25.6
---------------------------------------- Bug #3133: On a failed request puppet error message is not very helpful http://projects.puppetlabs.com/issues/3133 Author: Peter Meier Status: Accepted Priority: Normal Assigned to: Category: Target version: 0.25.6 Affected version: 0.25.4 Keywords: Branch: After upgrading to 0.25.4 my OpenBSD clients failed to get the catalog. The error I received was: <pre> err: Could not retrieve catalog from remote server: wrong status line: "<html>" </pre> The @--trace@@ looks like: <pre> info: Loading facts in xen /usr/local/lib/ruby/1.8/net/http.rb:2031:in `read_status_line' /usr/local/lib/ruby/1.8/net/http.rb:2018:in `read_new' /usr/local/lib/ruby/1.8/net/http.rb:1059:in `request' /usr/local/lib/ruby/1.8/net/http.rb:1046:in `request' /usr/local/lib/ruby/1.8/net/http.rb:547:in `start' /usr/local/lib/ruby/1.8/net/http.rb:1044:in `request' /usr/local/lib/ruby/1.8/net/http.rb:781:in `get' /usr/local/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:69:in `find' /usr/local/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:195:in `find' /usr/local/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find' /usr/local/lib/ruby/site_ruby/1.8/puppet/configurer.rb:106:in `retrieve_catalog' /usr/local/lib/ruby/site_ruby/1.8/puppet/util.rb:418:in `thinmark' /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/local/lib/ruby/1.8/benchmark.rb:307:in `realtime' /usr/local/lib/ruby/site_ruby/1.8/puppet/util.rb:417:in `thinmark' /usr/local/lib/ruby/site_ruby/1.8/puppet/configurer.rb:105:in `retrieve_catalog' /usr/local/lib/ruby/site_ruby/1.8/puppet/configurer.rb:162:in `run' /usr/local/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run' /usr/local/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock' /usr/local/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run' /usr/local/lib/ruby/1.8/sync.rb:229:in `synchronize' /usr/local/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run' /usr/local/lib/ruby/site_ruby/1.8/puppet/agent.rb:134:in `with_client' /usr/local/lib/ruby/site_ruby/1.8/puppet/agent.rb:51:in `run' /usr/local/lib/ruby/site_ruby/1.8/puppet/application/puppetd.rb:103:in `onetime' /usr/local/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `send' /usr/local/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command' /usr/local/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run' /usr/local/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail' /usr/local/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run' /usr/local/sbin/puppetd:159 err: Could not retrieve catalog from remote server: wrong status line: "<html>" </pre> After debugging a while I found out that using webrick it works, hence I thought that the problem is related to my fronted proxy nginx. And yeah looks like I encounter the famous 414 Request URI too long. However this was only noted in the nginx-logs. I think puppet should a) at least print the status code it received (414) and b) maybe be more verbose, so one could find the error earlier and the error message makes more sense. -- 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.
