err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `start' for #<Puppet::Network::HTTP::Connection:0x7fa6e25db7c8>
How would I go about finding the actual cause of this issue?
Thanks,
Chris Price
unread,
Aug 31, 2012, 12:28:44 PM8/31/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
Chuck,
The cause of this issues is that we introduced our own HTTP connection wrapper in 3.0 (rather than using Net::HTTP directly). This allows us to do a better job of centralizing the logic related to managing SSL setup and error handling.
Our Connection class provides a subset of the methods available on Ruby's HTTP class, and it looks like puppetdbquery is using one of the methods that don't currently exist in our new API.
The possible solutions would be to add the missing #start method to our new class, or to tweak puppetdbquery so that it doesn't rely on the #start method. I'll ping the folks on our platform team and see what their thoughts are.
Thanks for the heads up!
Chris
Erik Dalén
unread,
Sep 1, 2012, 5:03:19 AM9/1/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
I'll try to take a look at this during the weekend and see if I can
create something that is compatible with both puppet 2.7 and 3.0. Can
probably try to make the requests more like the puppetdb-terminus does
them as it works on both.