Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Collabora Online (CODE)
  3. Collabora throwing 413 Request Entity Too Large error

Collabora throwing 413 Request Entity Too Large error

Scheduled Pinned Locked Moved Collabora Online (CODE)
4 Posts 2 Posters 465 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rcdncn
    wrote on last edited by
    #1

    I have a Nextcloud instance running on a non-Cloudron server, but use Collabora within Cloudron to open documents and convert. Currently, I will get the following error in my Nextcloud logs:

    [richdocuments] Error: Failed to convert preview: Client error: `POST https://[servername]/cool/convert-to/png` resulted in a `413 Request Entity Too Large` response:
    <html>
    <head><title>413 Request Entity Too Large</title></head>
    <body>
    <center><h1>413 Request Entity Too Large</h1>< (truncated...)
    
    	GET /core/preview?fileId=11028&x=32&y=32&mimeFallback=true&v=687e6d&a=0
    	from 70.54.87.2 by kv_pdacadmin at Sep 12, 2025, 12:46:02 PM
    
    

    Some research suggests the it might be the nginx at the cloudron side that may be the issue, and that client_max_body_size may need to be increased. What's odd is that I can open large files for editing, so I think that Nextcloud is sending other requests to Collabora (thumbnails, pdf conversion?) that are failing.
    I can't see any error logs in nginx on Cloudron, but I can see the access.

    Am I on the right path? Is there a documented way to alter the nginx infor for a single app that is persistent between updates?

    1 Reply Last reply
    0
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote on last edited by
      #2

      Hello @rcdncn

      Is POST https://[servername]/cool/convert-to/png your Nextcloud or the collabora?
      This is important because if you Nextcloud responds with 413 Request Entity Too Large then the issue is with your Nextcloud provider.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rcdncn
        wrote last edited by
        #3

        It's appearing in the Nextcloud log. But isn't this the error received by collabora to Nextcloud when the request is placed?

        1 Reply Last reply
        0
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #4

          Hello @rcdncn
          From the error message you have posted, it looks like Nextcloud is giving this error.
          Another question, are you using Cloudflare with proxying by any chance?
          Since Cloudflare does limit the max upload size / post size when proxying.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search