CRITICAL: [Errno 104] Connection reset by peer in reviewboard due to UnreadablePostError: request data read error

In a reviewboard when am posting the review with rbtools (like cmd: 'rbt post') am getting CRITICAL: [Errno 104] Connection reset by peer error. In reviewboard logs am getting this StackTrace:

request data read error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/vary.py", line 19, in inner_func
    response = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/djblets/webapi/resources/base.py", line 162, in __call__
    method = request.POST.get('_method', kwargs.get('_method', method))
  File "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 146, in _get_post
    self._load_post_and_files()
  File "/usr/lib/python2.7/site-packages/django/http/request.py", line 219, in _load_post_and_files
    self._post, self._files = self.parse_file_upload(self.META, data)
  File "/usr/lib/python2.7/site-packages/django/http/request.py", line 184, in parse_file_upload
    return parser.parse()
  File "/usr/lib/python2.7/site-packages/django/http/multipartparser.py", line 140, in parse
    for item_type, meta_data, field_stream in Parser(stream, self._boundary):
  File "/usr/lib/python2.7/site-packages/django/http/multipartparser.py", line 598, in __iter__
    for sub_stream in boundarystream:
  File "/usr/lib/python2.7/site-packages/django/utils/six.py", line 535, in next
    return type(self).__next__(self)
  File "/usr/lib/python2.7/site-packages/django/http/multipartparser.py", line 415, in __next__
    return LazyStream(BoundaryIter(self._stream, self._boundary))
  File "/usr/lib/python2.7/site-packages/django/http/multipartparser.py", line 441, in __init__
    unused_char = self._stream.read(1)
  File "/usr/lib/python2.7/site-packages/django/http/multipartparser.py", line 315, in read
    out = b''.join(parts())
  File "/usr/lib/python2.7/site-packages/django/http/multipartparser.py", line 308, in parts
    chunk = next(self)
  File "/usr/lib/python2.7/site-packages/django/utils/six.py", line 535, in next
    return type(self).__next__(self)
  File "/usr/lib/python2.7/site-packages/django/http/multipartparser.py", line 330, in __next__
    output = next(self._producer)
  File "/usr/lib/python2.7/site-packages/django/utils/six.py", line 535, in next
    return type(self).__next__(self)
  File "/usr/lib/python2.7/site-packages/django/http/multipartparser.py", line 391, in __next__
    data = self.flo.read(self.chunk_size)
  File "/usr/lib/python2.7/site-packages/django/http/request.py", line 248, in read
    six.reraise(UnreadablePostError, UnreadablePostError(*e.args), sys.exc_info()[2])
  File "/usr/lib/python2.7/site-packages/django/http/request.py", line 246, in read
    return self._stream.read(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 51, in read
    result = self.buffer + self._read_limited(size - len(self.buffer))
  File "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 39, in _read_limited
    result = self.stream.read(size)
UnreadablePostError: request data read error

I tried posting review, but it is showing the error.

Back to Top