Results 1 to 7 of 7

Thread: status=413 Request Entity Too Large

  1. #1
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default status=413 Request Entity Too Large

    Attempting to transfer a mailbox between two Zimbra servers and receiving a message
    Code:
    status=413 Request Entity Too Large
    I believe this to be a NGINX problem and from another post I have increased the zimbraFileUploadMaxSize parameter and restarted NGINX but the problem persists; the same if I restart the mailboxd process

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,568
    Rep Power
    57

    Default

    Does this thread help: ZCS-to-ZCS with zmmailbox and RestURL
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Hi Bill, that is what I had already tried Was working fine until I installed the front-end proxy

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    zmprov gs `zmhostname` zimbraFileUploadMaxSize
    # name zimbra01.xxxxxxx.xxxxxxxxx
    zimbraFileUploadMaxSize: 2097152000

  5. #5
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Have even tried updating the front-end proxy and that makes no difference at all. Really stuck now as should be migrating mailbox tomorrow What I don't understand is that the exported mailbox is not that big; it fact its mine so I know that
    Code:
    [zimbra@zimbra01 ~]$ ls -l /download/import/pd.tgz
    -rw-r--r-- 1 root root 16223685 Feb 16 04:59 /download/import/pd.tgz
    [zimbra@zimbra01 ~]$ zmmailbox -z -m pd@domain.com postRestURL "//?fmt=tgz" /download/import/pd.tgz
    ERROR: service.FAILURE (system failure: POST failed, status=413 Request Entity Too Large)
    [zimbra@zimbra01 ~]$ zmprov gs `zmhostname` zimbraFileUploadMaxSize
    # name zimbra01.domain.com
    zimbraFileUploadMaxSize: 209715200
    So how can 16.2Mb not fit into 200Mb ? If I check /opt/zimbra/conf/nginx/includes/nginx.conf.web.http(s) they do contain
    Code:
    client_max_body_size    200m
    Any ideas please

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    I have taken a different approach to test and created a dummy mailbox with not content at all. I exported it from the source server and then attempted a import on the target and this is what I get
    Code:
    mmailbox -z -m test@domain.com postRestURL "//?fmt=tgz" /download/import/test.tgz
    [] INFO: Redirect requested but followRedirects is disabled
    ERROR: service.FAILURE (system failure: POST failed, status=302 Moved Temporarily)
    This was all fine before I enabled NGINX.

  7. #7
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    I believe I have fixed the problem
    Code:
    su - zimbra
    zmprov md domain.com -zimbraPublicServiceHostname smtp01.domain.com
    when running zmmailbox with debug I noticed in the SOAP responses that it was directing HTTP traffic to the front-end proxy. Temporarily disabling the public service hostname allowed the import to work okay.

    The question is whether this should be the correct action

    Bug 44639 - zmmailbox fails on postRest when using public service hostname
    Last edited by uxbod; 02-16-2010 at 07:01 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. zmprov mc default zimbraFeatureNotebookEnabled TRUE
    By nbhanji in forum Installation
    Replies: 11
    Last Post: 04-29-2008, 10:39 AM
  2. DNS Questions and Trouble Installing
    By smurraysb in forum Installation
    Replies: 22
    Last Post: 03-14-2008, 03:27 PM
  3. Error loading on Mac OS X 10.4.10 server PPC
    By qprcanada in forum Installation
    Replies: 7
    Last Post: 10-26-2007, 06:25 AM
  4. Can not reach https://example.com:7017/zimbraAdmin
    By Max Ma in forum Installation
    Replies: 14
    Last Post: 03-31-2007, 09:14 AM
  5. Replies: 26
    Last Post: 02-12-2007, 07:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •