Issue #2668 has been updated by Brice Figureau.

Brice Figureau wrote:
> Josh Anderson wrote:
> > Brice Figureau wrote:
> > 
> > > What could be done is to maybe gzip the facts before using them as a 
> > > request parameter.
> > 
> > Gzip == binary format == lots more escape sequences in the request. I think 
> > the gzipped and URL-escaped request would be as long as the original data, 
> > or maybe even longer.
> 
> I was thinking about gzip + base64 actually. It might be interesting to try.

I just tried on some of my facts:

 * verbatim: 3799 bytes
 * gzipped: 1614 bytes
 * gz+base64: 2181 bytes

So in the end the compression ratio is: 57%
which is not that bad...


----------------------------------------
Bug #2668: Too many facts: request-URI Too Large
http://projects.reductivelabs.com/issues/2668

Author: David Escala
Status: Accepted
Priority: Normal
Assigned to: 
Category: plumbing
Target version: 0.25.2
Affected version: 0.25.0
Keywords: 
Branch: 


Puppet client says

<pre>
err: Could not retrieve catalog from remote server: Error 414 on SERVER: 
Request-URI Too Large
</pre>

when facter URL is too large.

<pre>
# facter | wc
     75     295    5947
</pre>

Note we are using @http_proxy_h...@. I do not know if that matters.


-- 
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---

Reply via email to