Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request Entity Too Large #777

Closed
borkovec opened this issue Oct 23, 2023 · 1 comment
Closed

Request Entity Too Large #777

borkovec opened this issue Oct 23, 2023 · 1 comment

Comments

@borkovec
Copy link

borkovec commented Oct 23, 2023

I'm building a shiny app in python. I'd like to keep this deployment without R if possible and I need to be able to upload large files (30 to 50 MB). In R, I'd simply set the option maxRequestSize to the desired value afaik.

When I upload a file larger than 1 MB, there appears following error message
<html> <head><title>413 Request Entity Too Large</title></head> <body> <center><h1>413 Request Entity Too Large</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </

image

However, I'm not able to find anything about how to raise this limit in python. I tried setting ws_max_size in run_app to a high value, but this doesn't seem to have any effect. I'd be very thankful for any help!

@borkovec
Copy link
Author

borkovec commented Nov 3, 2023

The problem has to do with the VM I'm developing on and the limit probably has nothing to do with shiny or python. Not sure how to change this in my setup, but once I dockerized the app and deployed it, it's possible to upload larger files.

@borkovec borkovec closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant