Closed
Bug 1248562
Opened 9 years ago
Closed 9 years ago
[traceback] UnreadablePostError on edit profile page
Categories
(Participation Infrastructure :: Phonebook, defect)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: nemo-yiannis, Unassigned)
Details
Traceback (most recent call last):
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/core/handlers/base.py", line 105, in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/lib64/python2.6/site-packages/newrelic-2.44.0.36/newrelic/hooks/framework_django.py", line 226, in wrapper
return wrapped(*args, **kwargs)
File "/data/www/mozillians.org/mozillians/vendor/src/django-session-csrf/session_csrf/__init__.py", line 97, in process_view
user_token = request.POST.get('csrfmiddlewaretoken', '')
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/core/handlers/wsgi.py", line 146, in _get_post
self._load_post_and_files()
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/http/request.py", line 215, in _load_post_and_files
self._post, self._files = self.parse_file_upload(self.META, data)
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/http/request.py", line 180, in parse_file_upload
return parser.parse()
File "/usr/lib64/python2.6/site-packages/newrelic-2.44.0.36/newrelic/api/function_trace.py", line 110, in literal_wrapper
return wrapped(*args, **kwargs)
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/http/multipartparser.py", line 201, in parse
for chunk in field_stream:
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/utils/six.py", line 535, in next
return type(self).__next__(self)
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/http/multipartparser.py", line 330, in __next__
output = next(self._producer)
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/utils/six.py", line 535, in next
return type(self).__next__(self)
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/http/multipartparser.py", line 458, in __next__
for bytes in stream:
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/utils/six.py", line 535, in next
return type(self).__next__(self)
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/http/multipartparser.py", line 330, in __next__
output = next(self._producer)
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/utils/six.py", line 535, in next
return type(self).__next__(self)
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/http/multipartparser.py", line 391, in __next__
data = self.flo.read(self.chunk_size)
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/http/request.py", line 244, in read
six.reraise(UnreadablePostError, UnreadablePostError(*e.args), sys.exc_info()[2])
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/http/request.py", line 242, in read
return self._stream.read(*args, **kwargs)
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/core/handlers/wsgi.py", line 51, in read
result = self.buffer + self._read_limited(size - len(self.buffer))
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/core/handlers/wsgi.py", line 39, in _read_limited
result = self.stream.read(size)
File "/usr/lib64/python2.6/site-packages/newrelic-2.44.0.36/newrelic/api/web_transaction.py", line 767, in read
data = self.__input.read(*args, **kwargs)
UnreadablePostError: request data read error
| Reporter | ||
Comment 1•9 years ago
|
||
Steps to reproduce:
* Throttle your internet connection to eg 10kbps down/10kbps up
* This not required but I haven't managed to abort the connection before the server accepts the request.
* Maybe if you try to upload a really large picture you will have enough time to abort the connection.
* Upload a new picture to your profile
* Hit "Update information" button
* Before the request gets POSTed completely, stop loading the page (x button in awesome bar)
* Error gets raised
I suggest we skip this for now since this is more of an apache issue of how it handles file uploading when a connection error occurs. Also i don't think this affects the user experience somehow.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•