2023-06-29 09:20:20 |
KangWoo Lee |
description |
An error occurs when uploading an image larger than approximately 1 gigabytes.
I don't think there is a limit on the mod_deflate side.
The workaround is at the bottom of horizon.conf like below
LimitRequestBody 0
or
use skyline :) |
An error occurs when uploading an image larger than approximately 1 gigabytes.
it appears
{"data":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>413 Request Entity Too Large</title>\n</head><body>\n<h1>Request Entity Too Large</h1>\nThe requested resource does not allow request data with POST requests, or the amount of data provided in\nthe request exceeds the capacity limit.\n</body></html>\n","status":413,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"/api/glance/images/","data":{"source_type":"file-legacy","data":{},"is_copying":false,"protected":false,"min_disk":30,"min_ram":0,"container_format":"bare","disk_format":"qcow2","visibility":"public","name":"CentOS-8"},"_isDigested":true,"_chunkSize":null,"headers":{"Accept":"application/json, text/plain, */*","X-Requested-With":"XMLHttpRequest","X-CSRFToken":"NHilkpdwFjreV0KoSHmXh0g8UsJGxrU4ZEOy1umVlAPXGl8ilV9qCgYWHCxhUulN"},"_deferred":{"promise":{}}},"statusText":"Request Entity Too Large","xhrStatus":"complete"}
or
TypeError: Cannot read properties of undefined (reading 'data')
I don't think there is a limit on the mod_deflate side.
The workaround is at the bottom of horizon.conf like below
LimitRequestBody 0
or
use skyline :) |
|
2023-06-29 09:23:09 |
KangWoo Lee |
description |
An error occurs when uploading an image larger than approximately 1 gigabytes.
it appears
{"data":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>413 Request Entity Too Large</title>\n</head><body>\n<h1>Request Entity Too Large</h1>\nThe requested resource does not allow request data with POST requests, or the amount of data provided in\nthe request exceeds the capacity limit.\n</body></html>\n","status":413,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"/api/glance/images/","data":{"source_type":"file-legacy","data":{},"is_copying":false,"protected":false,"min_disk":30,"min_ram":0,"container_format":"bare","disk_format":"qcow2","visibility":"public","name":"CentOS-8"},"_isDigested":true,"_chunkSize":null,"headers":{"Accept":"application/json, text/plain, */*","X-Requested-With":"XMLHttpRequest","X-CSRFToken":"NHilkpdwFjreV0KoSHmXh0g8UsJGxrU4ZEOy1umVlAPXGl8ilV9qCgYWHCxhUulN"},"_deferred":{"promise":{}}},"statusText":"Request Entity Too Large","xhrStatus":"complete"}
or
TypeError: Cannot read properties of undefined (reading 'data')
I don't think there is a limit on the mod_deflate side.
The workaround is at the bottom of horizon.conf like below
LimitRequestBody 0
or
use skyline :) |
An error occurs when uploading an image larger than approximately 1 gigabytes.
it appears
{"data":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>413 Request Entity Too Large</title>\n</head><body>\n<h1>Request Entity Too Large</h1>\nThe requested resource does not allow request data with POST requests, or the amount of data provided in\nthe request exceeds the capacity limit.\n</body></html>\n","status":413,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"/api/glance/images/","data":{"source_type":"file-legacy","data":{},"is_copying":false,"protected":false,"min_disk":30,"min_ram":0,"container_format":"bare","disk_format":"qcow2","visibility":"public","name":"CentOS-8"},"_isDigested":true,"_chunkSize":null,"headers":{"Accept":"application/json, text/plain, */*","X-Requested-With":"XMLHttpRequest","X-CSRFToken":"NHilkpdwFjreV0KoSHmXh0g8UsJGxrU4ZEOy1umVlAPXGl8ilV9qCgYWHCxhUulN"},"_deferred":{"promise":{}}},"statusText":"Request Entity Too Large","xhrStatus":"complete"}
or
TypeError: Cannot read properties of undefined (reading 'data')
It is possible that mod_deflate is imposing a restriction.
The workaround is at the bottom of horizon.conf like below
LimitRequestBody 0
or
use skyline :) |
|