| Issue 120: | Blackberry's crash the site | |
| 1 person starred this issue and may be notified of changes. | Back to list |
|
It's probably because they suck
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/opt/sword/ecwsp/work_study/views.py", line 446, in approve
form = TimeSheetForm(request.POST, request.FILES, instance=sheet)
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/wsgi.py", line 210, in _get_post
self._load_post_and_files()
File "/usr/local/lib/python2.6/dist-packages/django/http/__init__.py", line 284, in _load_post_and_files
self._post, self._files = QueryDict(self.raw_post_data, encoding=self._encoding), MultiValueDict()
File "/usr/local/lib/python2.6/dist-packages/django/http/__init__.py", line 248, in _get_raw_post_data
self._raw_post_data = self.read(content_length)
File "/usr/local/lib/python2.6/dist-packages/django/http/__init__.py", line 296, in read
return self._stream.read(*args, **kwargs)
IOError: request data read error
<WSGIRequest
GET:<QueryDict: {u'key': [u'ichoxbvz-e0a9s82w137']}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CONTENT_LENGTH': '197',
'CONTENT_TYPE': 'application/x-www-form-urlencoded',
'DOCUMENT_ROOT': '/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTPS': '1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml,*/*;q=0.5',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
'HTTP_CACHE_CONTROL': 'no-cache',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_HOST': 'sis.cristoreyny.org',
'HTTP_ORIGIN': 'https://sis.cristoreyny.org'
'HTTP_REFERER': 'https://sis.cristoreyny.org/work_study/approve/?key=ichoxbvz-e0a9s82w137',
'HTTP_USER_AGENT': 'Mozilla/5.0 (BlackBerry; U; BlackBerry 9650; en-US) AppleWebKit/534.1+ (KHTML, like Gecko) Version/6.0.0.415 Mobile Safari/534.1+',
'HTTP_X_RIM_HTTPS': '1.1',
'HTTP_X_WAP_PROFILE': '"http://www.blackberry.net/go/mobile/profiles/uaprof/9650_evdo/6.0.0.rdf"',
'PATH': '/usr/local/bin:/usr/bin:/bin',
'PATH_INFO': u'/work_study/approve/',
'PATH_TRANSLATED': '/opt/sword/django.wsgi/work_study/approve/',
'QUERY_STRING': 'key=ichoxbvz-e0a9s82w137',
'REMOTE_ADDR': '74.82.68.144',
'REMOTE_PORT': '23021',
'REQUEST_METHOD': 'POST',
'REQUEST_URI': '/work_study/approve/?key=ichoxbvz-e0a9s82w137',
'SCRIPT_FILENAME': '/opt/sword/django.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '10.5.142.202',
'SERVER_ADMIN': '[no address given]',
'SERVER_NAME': 'sis.cristoreyny.org',
'SERVER_PORT': '443',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at sis.cristoreyny.org Port 443</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)',
'mod_wsgi.application_group': 'sis.cristoreyny.org|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '443',
'mod_wsgi.process_group': '',
'mod_wsgi.reload_mechanism': '0',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (2, 8),
'wsgi.errors': <mod_wsgi.Log object at 0x7f344b3691e0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f342413e7b0>,
'wsgi.input': <mod_wsgi.Input object at 0x7f344aee26f0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'https',
'wsgi.version': (1, 0)}>
May 10, 2011
Project Member
#1
dmbs...@gmail.com
Status:
New
Sep 12, 2011
(No comment was entered for this change.)
Owner:
---
Sep 17, 2011
https://groups.google.com/forum/#!topic/django-users/aPeF6aSdyig The problem effects other browsers too. It's discussed here https://groups.google.com/forum/#!topic/django-users/aPeF6aSdyig It looks like something the client does causes this, perhaps "The basic problem remains that the connection to the HTTP server was dropped before all data could be read. " So it makes sense that blackberries would do this more often. mod_wsgi should recognize this but doesn't. Just ignore these errors.
Status:
WontFix
Owner: da...@burkesoftware.com Cc: jmil...@cristoreyny.org ca...@burkesoftware.com |
||||||||||