Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 86697 invoked from network); 20 Sep 2008 08:08:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Sep 2008 08:08:41 -0000 Received: (qmail 98280 invoked by uid 500); 20 Sep 2008 08:08:38 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 98231 invoked by uid 500); 20 Sep 2008 08:08:38 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 98220 invoked by uid 99); 20 Sep 2008 08:08:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Sep 2008 01:08:38 -0700 X-ASF-Spam-Status: No, hits=-1997.6 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,URIBL_RHS_DOB,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Sep 2008 08:07:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5C1DE234C1DD for ; Sat, 20 Sep 2008 01:07:44 -0700 (PDT) Message-ID: <1443284647.1221898064362.JavaMail.jira@brutus> Date: Sat, 20 Sep 2008 01:07:44 -0700 (PDT) From: "Senmiao Liu (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Created: (COUCHDB-123) Error (54 'Connection reset by peer') when try to fetch item from db MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Error (54 'Connection reset by peer') when try to fetch item from db -------------------------------------------------------------------- Key: COUCHDB-123 URL: https://issues.apache.org/jira/browse/COUCHDB-123 Project: CouchDB Issue Type: Bug Components: HTTP Interface Affects Versions: 0.8.1 Environment: Mac OS 10.5 Python 2.5 couchdb-python 0.4 Django 1.0 Reporter: Senmiao Liu I recently play with django+couchdb using couchdb-python. Sometimes I met a error like this: ============================================= Environment: Request Method: GET Request URL: http://127.0.0.1:8000/blog/detail/76157aebf566c3ab5dfa126f7c68f5d6/ Django Version: 1.0-final-SVN-unknown Python Version: 2.5.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'djcouch.blog'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware') Traceback: File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response 86. response = callback(request, *callback_args, **callback_kwargs) File "/Users/zai/workspace/python/djcode/djcouch/../djcouch/blog/views.py" in detail 18. post = db.get(id) File "/opt/local/lib/python2.5/site-packages/CouchDB-0.4-py2.5.egg/couchdb/client.py" in get 295. return Document(self.resource.get(id, **options)) File "/opt/local/lib/python2.5/site-packages/CouchDB-0.4-py2.5.egg/couchdb/client.py" in get 646. return self._request('GET', path, headers=headers, **params) File "/opt/local/lib/python2.5/site-packages/CouchDB-0.4-py2.5.egg/couchdb/client.py" in _request 674. body=body, headers=headers) File "/opt/local/lib/python2.5/site-packages/httplib2-0.4.0-py2.5.egg/httplib2/__init__.py" in request 1050. (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/opt/local/lib/python2.5/site-packages/httplib2-0.4.0-py2.5.egg/httplib2/__init__.py" in _request 854. (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/opt/local/lib/python2.5/site-packages/httplib2-0.4.0-py2.5.egg/httplib2/__init__.py" in _conn_request 824. response = conn.getresponse() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py" in getresponse 928. response.begin() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py" in begin 385. version, status, reason = self._read_status() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py" in _read_status 343. line = self.fp.readline() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/socket.py" in readline 331. data = recv(1) Exception Type: error at /blog/detail/76157aebf566c3ab5dfa126f7c68f5d6/ Exception Value: (54, 'Connection reset by peer') ============================================= I'm new to python and couchdb, so I'm not sure it's a bug of django, couchdb or the python client. Any ideas? Thank you, -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.