Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4FF89A53 for ; Wed, 22 Feb 2012 04:09:18 +0000 (UTC) Received: (qmail 19276 invoked by uid 500); 22 Feb 2012 04:09:18 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 19212 invoked by uid 500); 22 Feb 2012 04:09:17 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 19186 invoked by uid 99); 22 Feb 2012 04:09:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 04:09:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,T_RP_MATCHES_RCVD,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 04:09:15 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D2DD9333A8A for ; Wed, 22 Feb 2012 04:08:53 +0000 (UTC) Date: Wed, 22 Feb 2012 04:08:53 +0000 (UTC) From: "Sam Bisbee (Closed) (JIRA)" To: dev@couchdb.apache.org Message-ID: <1685673067.2638.1329883733865.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (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-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sam Bisbee closed COUCHDB-123. ------------------------------ No follow up from reporter for several years. Closing. > 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.2 > couchdb-python 0.4 > Django 1.0 > Reporter: Senmiao Liu > Assignee: Damien Katz > Attachments: error at _blog_detail_76157aebf566c3ab5dfa126f7c68f5d6_.html, error at _blog_new_.html > > > 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. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira