cloudpods
cloudpods copied to clipboard
fail to upload large image from web console
What happened:
fail to upload large image more than 6.6G, report error "create upload fail unexpected EOF"

Environment:
- OS (e.g.
cat /etc/os-release): - Kernel (e.g.
uname -a):
目前从前端上传镜像的路径太长了,如下: 浏览器 -> k8s ingress -> nginx service -> yunion apigateway -> glance service 可以修改成以下路径试试: 浏览器 -> k8s ingress -> glance service
主要原因是浏览器的问题,可以更换或者升级浏览器到最新版本 具体可以查看default-web日志,是否出现408错误码 https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Status/408
https://github.com/yunionio/cloudpods-operator/pull/936/files nginx配置timeout应该可以避免这个问题