Trying to create/update objects from the web interface seems to fail when the data stored in the properties is too large (more than a few hundred kilobytes ?). Doing the same thing while using the HTTP API works as expected.
I saw the following symptoms :
- When accessing the service through a nginx reverse proxy, creating/updating some objects with large plotly charts return "Request Entity Too Large. The data value transmitted exceeds the capacity limit."
- When accessing the service directly from localhost, Firefox would give the error "The connection was reset" on creating/updating some objects with large plotly charts
I tried to change nginx's configuration (client_max_body_size = 100M;), as well as Flask's (MAX_CONTENT_LENGTH to a few billions), with no success.
I am not seeing any error in SampleDB docker logs.
Minimal example :
Try to create an object with the following two properties :
- name : something
- chart : a plotly chart with the following data data.txt. This chart was crafted to be a small as possible while still triggering the error, as removing 200 points is enough for the object creation to work on my instance
Trying to create/update objects from the web interface seems to fail when the data stored in the properties is too large (more than a few hundred kilobytes ?). Doing the same thing while using the HTTP API works as expected.
I saw the following symptoms :
I tried to change nginx's configuration (
client_max_body_size = 100M;), as well as Flask's (MAX_CONTENT_LENGTH to a few billions), with no success.I am not seeing any error in SampleDB docker logs.
Minimal example :
Try to create an object with the following two properties :