Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3875CD2AB for ; Mon, 6 Aug 2012 16:32:23 +0000 (UTC) Received: (qmail 16075 invoked by uid 500); 6 Aug 2012 16:32:21 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 16020 invoked by uid 500); 6 Aug 2012 16:32:21 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 16009 invoked by uid 99); 6 Aug 2012 16:32:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 16:32:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.213.180] (HELO mail-yx0-f180.google.com) (209.85.213.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 16:32:12 +0000 Received: by yenq6 with SMTP id q6so2686109yen.11 for ; Mon, 06 Aug 2012 09:31:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=CZDrRGlmWkexxcGUpwhLeWpBEfBLzlsID7kkbOLg8Dc=; b=oGHDCWnbDPpfFr5uotxEcxDwPqsDtemSXkXeMX55Y0TexmKtSYicv53oW3DIc7kx/s /btuvK9OUjwG+djAiFIZyVWdwpOGONtJbCmxLWGmoHiasqxrjKBJOdcWQnqJsiUSWn7Q ac7FDK7aYB6w5Q3hJGbRAwoEh+sjVlfXwQFkzQG6sabSsOLW6hoUrpRoTbXSQWmZRc+Q GQoVxYLXSuBxRi3vlDiqN60cWfvlQNC/EgwqUbCy0EehYCTXO48VDakQiFl2vJNAcWZU zdT7HkMhTRORBqF+dlnUIQ/kPo2O/ncUR133ylevpX8ZwDrhjgZCVa2nRLujNq7jqsIK mpOg== MIME-Version: 1.0 Received: by 10.50.179.99 with SMTP id df3mr1248145igc.73.1344270710243; Mon, 06 Aug 2012 09:31:50 -0700 (PDT) Received: by 10.64.73.5 with HTTP; Mon, 6 Aug 2012 09:31:50 -0700 (PDT) X-Originating-IP: [173.76.195.202] In-Reply-To: References: Date: Mon, 6 Aug 2012 12:31:50 -0400 Message-ID: Subject: Re: more refused connections From: Sam Bisbee To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQk7DKhgP7uduVkd2F48DvbqHBx7bXoqv8G2J/dINJzgTqencYIGOXpbN+EaUwnglQ31zJjD Hi Tim, A few questions to help with the debugging... - Can you confirm that CouchDB is actually running when you see this problem? - How are you connecting to CouchDB from PHP? Are you using a library? - What version of CouchDB are you using? - Can you provide a reliable set of steps to reproduce this problem? Cheers, -- Sam Bisbee On Sun, Aug 5, 2012 at 2:26 PM, Tim Tisdall wrote: > Well, I've had this problem before, but I still have no idea what > caused it then, why it went away, or why it's back again. :S > > "PHP Warning: fsockopen(): unable to connect to localhost:5984 > (Connection refused)" > > After making several bulk updates of about 100 documents each, I then > get this warning. That means that the same code executed fine several > times and then suddenly gave me a "connection refused". Why would > CouchDB be refusing connections? > > I also occasionally get back invalid JSON responses from CouchDB > either because the content returned is truncated or completely > missing. I'm not sure if the 2 issues are related. > > Anyone else have problems like this with PHP? > > -Tim