Closed tylere closed 6 years ago
Potentially relevant issues/PRs:
Here is a much simpler example that triggers the error:
from IPython.display import Image
for i in range(20):
display(Image(
url='http://www.esipfed.org/wp-content/uploads/2017/11/2018_Meeting_Branding_FullV2_RGB@1x.png',
embed=True,
format='png'
))
confirm error 413 with test.
Further file testing: I can upload a file from my computer to my instance that is < 15M I can create and save a file that is > 35M (not sure the upper limit) but I cannot save a Notebook > 1
@tylere Sorry for the late response. You are correct that this is related to the nginx proxy body size. Will update the configuration and let you know when resolved.
I've updated the the nginx configmap setting proxy-body-size: 64m
per the above PR and restarted the ingress pods. Your test case is now working for me. Let me know if otherwise.
Closing this based, but noting based on https://gitter.im/jupyterhub/jupyterhub?at=5b68936dc917d40dc24e4305
I implemented the change in the nginx ILB configmap directly, but apparently could've been achieved through the JupyterHub configuration:
ingress:
annotations:
ingress.kubernetes.io/proxy-body-size: 64m
I didn't need to change the proxy body size, since it is already 64m.
hub:
nginx:
proxyBodySize: 64m
The ESIPHub JupyterHub appears to have a very restrictive limit of 1M for file size.
This issue can be reproduced by running a notebook and then attempting to save it (or wait for the autosave to happen).