Apache is not logging any error when this happens. I experimented with
upping the LimitRequestLine, and LimitRequestFieldsize apache config
directives but hasn't made any difference.

I tried your suggestion to decode the string (even one that works ok)
but am getting this error....Not sure what this means...

I even tried 
irb(main):017:0>
Zlib::Inflate.inflate(Base64.decode64(CGI.unescape(text)))
Zlib::BufError: buffer error
        from (irb):17:in `inflate'
        from (irb):17
        from :0


-----Original Message-----
From: puppet-users@googlegroups.com
[mailto:puppet-us...@googlegroups.com] On Behalf Of Brice Figureau
Sent: Thursday, August 26, 2010 11:37 AM
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] viewing b64_zlib_yaml data

On 26/08/10 20:20, Sukh Khehra wrote:
> Thanks for the helpful suggestions.
> 
> I checked for this and my problem does not appear to be request size
> related. I say this because I turned on the logging for the request
size
> and see that it is serving requests larger than the problem hosts just
> fine.

I meant incoming request. Those are usually the issue with apache,
especially if the given node has a large number of facts or long facts.

> I even tried turning on debugging for puppetmaster but it is not
> logging anything helpful (log pasted below). The behavior I see is
that
> the puppetmaster is not seeing any facts from the client (I suspect
due
> to the issue I posted about originally). Any other ideas?

You can try to decode the facts (as you asked in your first message)
with this:
1) launch irb
2) enter:
require 'zlib'
require 'cgi'
text="<insert here the content of the facts parameters as in your log>"
Zlib::Inflate.inflate(Base64.decode64(CGI.unescape(text)))

This should print on the console the YAML serialization of the facts.
If in those you have the missing facts, then the problem is that this
request is not transmitted verbatim to puppet.

Hope that helps,
-- 
Brice Figureau
My Blog: http://www.masterzen.fr/

-- 
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to