nathannlu / ComfyUI-Cloud

☁️ VRAM for SDXL, AnimateDiff, and upscalers. Run your workflows on the cloud, from your local ComfyUI
http://comfyui-cloud.com
GNU Affero General Public License v3.0
179 stars 15 forks source link

413 Request Entity Too Large #32

Closed ryo0ka closed 3 months ago

ryo0ka commented 3 months ago

Describe the bug Modal shows Error: Failed to upload upon uploading a workflow containing multiple large files, as in attached image below.

API response corresponding to the error contains the following text:

<html>
  <head><title>413 Request Entity Too Large</title></head>
  <body>
    <center><h1>413 Request Entity Too Large</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
  </body>
</html>

Error log as following:

Upload task execution error: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://storage.comfyui-cloud.com/upload-urls')

To Reproduce Steps to reproduce the behavior:

  1. Load workflow.json;
  2. Download assets from tutorial and set up inputs;
  3. Tap Generate on cloud GPU button;
  4. Wait for uploads to complete;
  5. See the modal pop up.

Expected behavior Workflow should be accepted.

Screenshots image

Desktop:

Additional context The workflow is part of a popular tutorial on video-to-video workflows using Animatediff. Since vid2vid requires large VRAM, I expect that many users would opt out to cloud-based solutions like Comfy Cloud.

nathannlu commented 3 months ago

hi @ryo0ka , just pushed a fix for this. thank you for providing the details. let me know if your issue has been resolved!

ryo0ka commented 3 months ago

@nathannlu Got it working, thanks a bunch. Got another issue related to ControlNet which I will dig in and let you know if it may be on your side, cheers