cloudpods icon indicating copy to clipboard operation
cloudpods copied to clipboard

fail to upload large image from web console

Open swordqiu opened this issue 3 years ago • 1 comments

What happened: fail to upload large image more than 6.6G, report error "create upload fail unexpected EOF" image

Environment:

  • OS (e.g. cat /etc/os-release):
  • Kernel (e.g. uname -a):

swordqiu avatar Feb 11 '22 15:02 swordqiu

目前从前端上传镜像的路径太长了,如下: 浏览器 -> k8s ingress -> nginx service -> yunion apigateway -> glance service 可以修改成以下路径试试: 浏览器 -> k8s ingress -> glance service

zexi avatar Jul 22 '22 10:07 zexi

主要原因是浏览器的问题,可以更换或者升级浏览器到最新版本 具体可以查看default-web日志,是否出现408错误码 https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Status/408

ioito avatar Apr 11 '23 06:04 ioito

https://github.com/yunionio/cloudpods-operator/pull/936/files nginx配置timeout应该可以避免这个问题

ioito avatar Aug 10 '23 12:08 ioito