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

Upload Max Size #133

Open
arghoritma opened this issue Mar 1, 2025 · 0 comments
Open

Upload Max Size #133

arghoritma opened this issue Mar 1, 2025 · 0 comments

Comments

@arghoritma
Copy link

Description

I’m running Huly Selfhost using Docker Compose and encountering issues when uploading files larger than 1MB. Files under 1MB upload successfully, but larger files fail with the following errors in the browser console:

  • POST https://huly.todohub.id/files 413 (Payload Too Large)
  • Uncaught (in promise) Error: Access to storage is not allowed from this context

I’ve already set client_max_body_size 100M in my Nginx configuration, but the issue persists. It seems there might be an additional limitation in the Huly application or a misconfiguration with MinIO/storage.

Steps to Reproduce

  1. Deploy Huly Selfhost using the provided compose.yml (attached below).
  2. Configure Nginx with client_max_body_size 100M in .huly.nginx.
  3. Restart all services with docker compose up -d.
  4. Attempt to upload a file larger than 1MB (e.g., a 5MB ZIP file) via the Huly interface.
  5. Observe the error in the browser console.

Expected Behavior

Files up to 100MB should upload successfully since Nginx is configured to allow this size.

Actual Behavior

Uploads fail for files >1MB with HTTP 413 and a "storage access" error, despite the Nginx setting.

Environment

  • Huly Version: ${HULY_VERSION} (replace with your version from compose.yml, e.g., v0.6.429)
  • OS: [e.g., Ubuntu 22.04]
  • Docker Compose: [e.g., version 2.20.2]
  • Domain: huly.todohub.id
  • Browser: [e.g., Chrome 122.0]

Configuration

Here’s my compose.yml:

(paste your entire compose.yml here)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant