#694 closed defect

tahoe put reeturns "error, got 413 request entity too large" — at Version 1

Reported by: sigmonsays Owned by: nobody
Priority: major Milestone: undecided
Component: unknown Version: 1.4.1
Keywords: easy Cc: kevan
Launchpad Bug:

Description (last modified by zooko)

<sigmonsays> the tahoe put returns this after several seconds "error, got 413 
             Request Entity Too Large"                                  [09:06] 
<sigmonsays> allmydata.interfaces.FileTooLargeError: SDMF is limited to one 
             segment, and 3500419 > 3500000                             [09:07] 
<sigmonsays> the file i'm trying to send is only 9k

---- [configuration]------
3 node cluster each w/ 2G (about 75% full on each)

---- [the full exception]------
12148151_1141322388.jpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 16  7234   16  1232    0     0   5401      0  0:00:01 --:--:--  0:00:01  5401waiting for file data on stdin..
100  7234  100  7234    0     0  22420      0 --:--:-- --:--:-- --:--:-- 63851
error, got 413 Request Entity Too Large
Traceback (most recent call last):
  File "/usr/local/src/tahoe-files/allmydata-tahoe-1.4.1/Twisted-8.1.0-py2.4-linux-x86_64.egg/twisted/internet/defer.py", line 312, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/local/src/tahoe-files/allmydata-tahoe-1.4.1/Twisted-8.1.0-py2.4-linux-x86_64.egg/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/local/src/tahoe-files/allmydata-tahoe-1.4.1/Twisted-8.1.0-py2.4-linux-x86_64.egg/twisted/internet/defer.py", line 289, in _continue
    self.unpause()
  File "/usr/local/src/tahoe-files/allmydata-tahoe-1.4.1/Twisted-8.1.0-py2.4-linux-x86_64.egg/twisted/internet/defer.py", line 285, in unpause
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/local/src/tahoe-files/allmydata-tahoe-1.4.1/Twisted-8.1.0-py2.4-linux-x86_64.egg/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/local/src/tahoe-files/allmydata-tahoe-1.4.1/src/allmydata/mutable/filenode.py", line 403, in _apply
    return self._upload(new_contents, servermap)
  File "/usr/local/src/tahoe-files/allmydata-tahoe-1.4.1/src/allmydata/mutable/filenode.py", line 438, in _upload
    return p.publish(new_contents)
  File "/usr/local/src/tahoe-files/allmydata-tahoe-1.4.1/src/allmydata/mutable/publish.py", line 146, in publish
    raise FileTooLargeError("SDMF is limited to one segment, and "
allmydata.interfaces.FileTooLargeError: SDMF is limited to one segment, and 3500419 > 3500000

12062355_1141263102.jpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 20  5998   20  1232    0     0   5319      0  0:00:01 --:--:--  0:00:01  5319waiting for file data on stdin..
100  5998  100  5998    0     0  19168      0 --:--:-- --:--:-- --:--:-- 58839
./send-to-tahoe.sh: line 19: 20708 Broken pipe             cat files.lst

Change History (1)

comment:1 Changed at 2009-05-04T16:57:16Z by zooko

  • Description modified (diff)

Reformatting for Trac wiki escape.

Note: See TracTickets for help on using tickets.