gpt4 book ai didi

chef-recipe - 上传 Recipe 时出现 413 Request Entity Too Large 错误

转载 作者:行者123 更新时间:2023-12-02 02:56:30 25 4
gpt4 key购买 nike

我将一个 zip 文件放入 Recipe 中,然后将其上传到服务器后,我发现了这个错误。有人可以建议我解决此错误的正确解决方案吗...

ERROR: Failed to upload ~/chef-repo/cookbooks/api/files/default/xx.zip (82c4bebb9890545ead67c44dca9f5a1f) to https://x.xxx.x.xxx:443/bookshelf/organization-9765dffbae2bea820ff192869963766f/checksum-82c4bebb9890545ead67c44dca9f5a1f?AWSAccessKeyId=970f9481256ced719247e5d4223442e56ac82b19&Expires=1519812888&Signature=szLz9tUlabOE8vck7Rug9cjUH%2B8%3D : 413 "Request Entity Too Large"
ERROR: Request Entity Too Large
Response: <html>
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>openresty/1.11.2.1</center>
</body>
</html>

最佳答案

您不应使用 Chef 来托管任何“大”文件。设置额外的 HTTP 服务器或使用 S3 等场外存储。

关于chef-recipe - 上传 Recipe 时出现 413 Request Entity Too Large 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49028024/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com