-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
413 Request Entity Too Large #15823
Comments
What is the size of your image? Is there an Nginx proxy before the Nginx container of the harbor? If there is an nginx proxy before the nginx container of the harbor, please set the proxy body size to 0 for harbor nginx container in the front nginx proxy. |
Have a nginx proxy. set a client_max_body_size. |
But how to set the via helm chart? |
@LinuxSuRen Either patch your harbor ingress by adding the following in .metadata.annotations:
You can also add this to the values file. |
What can we help you?
docker push error,info: 413 Request Entity Too Large
harbor version:
harbor harbor-offline-installer-v2.2.2.tgz
nginx.config:
[root@xyh-harbor-single-host nginx]# pwd
/root/harbor/common/config/nginx
[root@xyh-harbor-single-host nginx]# ls
conf.d nginx.conf
[root@xyh-harbor-single-host nginx]# grep client nginx.conf
client_body_temp_path /tmp/client_body_temp;
client_max_body_size 0;
error info:
[root@xyh-gitlab ~]# docker push 10.0.0.87/s2i/tomcat:8
The push refers to a repository [10.0.0.87/s2i/tomcat]
aa3d17275dd0: Pushed
c190c471d474: Pushed
82ec57a337a5: Pushing [==================================================>] 18.98 MB
ecf2a68d58aa: Pushed
211736d7fc9d: Pushing [==================================================>] 342.7 MB/342.7 MB
62a5b8741e83: Pushing [==================================================>] 512 B
36e0782f1159: Waiting
ba6e5ff31f23: Waiting
9f9f651e9303: Waiting
0b3c02b5d746: Waiting
62a747bf1719: Waiting
error parsing HTTP 413 response body: invalid character '<' looking for beginning of value: "\r\n<title>413 Request Entity Too Large</title>\r\n<body bgcolor="white">\r\n
413 Request Entity Too Large
\r\nnginx/1.14.2\r\n\r\n\r\n"
The text was updated successfully, but these errors were encountered: