Comments (8)
Added in the newest version. You can find the setting in the share tab of the admin settings.
from pingvin-share.
Oh I have found the issue. The limit for the body parser gets set in the bootstrap function of the backend which only gets called when the application starts. So if you change the chunk size the changes will only be applied when you restart the application.
I'll release a fix later today until then you have to restart the application. Thanks for your feedback!
from pingvin-share.
That is very quick; I'll test it now.
Thanks a lot.
from pingvin-share.
Increasing it, I always got this error during large file uploads:
413 Payload Too Large
I tried 32, 25, 20, and 16 MB chunk sizes so far.
Cloudflare allows 100MB; my Nginx allows 1GB.
Is there anything on the app backend that limits the file size for uploads?
from pingvin-share.
On the front-end app, I got this log:
node[2416818]:
API response for /api/shares/1gb/files/e9d69354-515d-455d-a608-2468044ce8b5 exceeds 4MB.
API Routes are meant to respond quickly. https://nextjs.org/docs/messages/api-routes-response-size-limit
So I lower it down to 4MB to prevent the error above.
from pingvin-share.
On the front-end app, I got this log:
node[2416818]: API response for /api/shares/1gb/files/e9d69354-515d-455d-a608-2468044ce8b5 exceeds 4MB. API Routes are meant to respond quickly. https://nextjs.org/docs/messages/api-routes-response-size-limit
I think this error log or warning happens when a large file is downloaded, like this URI path for a 1GB file.
Not related to file uploads, I guess.
from pingvin-share.
So, does the error occur when you try to download a file?
If not, it should be resolved in the latest version. Let me know if the issue still exists.
from pingvin-share.
So, does the error occur when you try to download a file?
Yes correct.
from pingvin-share.
Related Issues (20)
- 🚀 Feature: Sign Up with social login not clear for users
- 🐛 Bug Report: LDAP Auth not working for Active Directory HOT 10
- 🚀 Feature: Add "next item" in the preview window
- 🐛 Bug Report: Nonce error 500 internal server error with social logins HOT 7
- 🚀 Feature: LDAP users by AD group instead of OU HOT 6
- 🚀 Feature: Write logs to file
- 🐛 Bug Report: If you previously saved a login/password in Firefox, it fills the recipient and password fields with these credentials HOT 5
- 🚀 Feature: Legal notice and data protection
- 🐛 Bug Report: SMTP requires username/password even if the server does not require it HOT 4
- 🐛 Bug Report: HOT 1
- 🐛 Bug Report: Upload speed slow HOT 11
- 🚀 Feature: Auto-Login with OpenID HOT 1
- 🚀 Feature: show thumbnails in share download page
- 🚀 Feature: Option to logout from OpenID Connect provider HOT 3
- 🐛 Bug Report: LDAP Auth not working HOT 3
- 🐛 Bug Report: mail field for LDAP users is not saved HOT 4
- 🚀 Feature: Full api support HOT 2
- 🚀 Feature: Edit expiry of existing active shares
- 🚀 Feature: make "share link" behaviour same as "share info -> link"
- 🚀 Feature: Indicate that the page is loading after a click HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pingvin-share.