Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: 413 "Request Entity Too Large" (Net::HTTPServerException) #30

Open
lhasadreams opened this issue Mar 5, 2018 · 0 comments
Open

Comments

@lhasadreams
Copy link

Running the Windows 2016 CIS profile causes this error when the Compliance report size is over 1MByte. It returns 1.05Mbytes.

Upon investigation the default size limit set on the Chef Server is 1MByte.

I fixed the issue by adding:
opscode_erchef['max_request_size'] = "2000000"
to /etc/opscode/chef-server.rb and running chef-server-ctl reconfigure

Not sure if that is a sensible default, perhaps it should be exposed and a setup parameter.

Cheers
Adrian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant