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 67DDCDD34 for ; Wed, 15 Aug 2012 02:38:38 +0000 (UTC) Received: (qmail 53929 invoked by uid 500); 15 Aug 2012 02:38:36 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 53882 invoked by uid 500); 15 Aug 2012 02:38:36 -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 53872 invoked by uid 99); 15 Aug 2012 02:38:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2012 02:38:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tisdall@gmail.com designates 209.85.215.52 as permitted sender) Received: from [209.85.215.52] (HELO mail-lpp01m010-f52.google.com) (209.85.215.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2012 02:38:29 +0000 Received: by lage4 with SMTP id e4so548667lag.11 for ; Tue, 14 Aug 2012 19:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=++oOU7Dv3txRXA16hNgt6NzCHJ56FWUTLMH81J5JjVA=; b=AePtwFFAF6OgSGDKTE+u65pMMFQIruYX5g+/2ja4Bz5dAocAPdmaJvUD0D7N+V2pgC a2x85i4gELMvATfl722HSBeswze3SNyWzgtbxtOWM2u+9n/rY5FwhMzvkZdrSizkpNb9 BmWr01pe6dww7eU0gSFZGDBtKzzt6sDJSb0R45pcv5PeAF3RR177KhIS5h1yJv2rzMdK affvLJuHJMaY3zlHkrSIOTRpbk7x5/31ckBekzREaJjSVwAWw+gcNbE5WtlAU/5pqpFt lZuoqiRZzDAt27uluuH0jgsSi64O1bT3Caihx5M2WMOAlQ7r4q1o71XJJsAWOY8rQvcI d+Fw== MIME-Version: 1.0 Received: by 10.112.43.67 with SMTP id u3mr8862073lbl.16.1344998288366; Tue, 14 Aug 2012 19:38:08 -0700 (PDT) Received: by 10.112.49.170 with HTTP; Tue, 14 Aug 2012 19:38:08 -0700 (PDT) Date: Tue, 14 Aug 2012 22:38:08 -0400 Message-ID: Subject: couchdb returning empty response From: Tim Tisdall To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I'm still having problems with couchdb, but I'm trying out different things to see if I can narrow down what the problem is... I stopped using fsockopen() in PHP and am using curl now to hopefully be able to see more debugging info. I get an empty response when sending a POST to _bulk_docs. From the couch logs it seems like the server restarts in the middle of processing the request. Here's what I have in my logs: (I have no idea what the _replicator portion is about there, I'm currently not using it) [Wed, 15 Aug 2012 02:27:30 GMT] [debug] [<0.1255.0>] 'POST' /app_stats_test/_bulk_docs {1,0} from "127.0.0.1" Headers: [{'Accept',"*/*"}, {'Content-Length',"2802300"}, {'Content-Type',"application/json"}, {'Host',"localhost:5984"}] [Wed, 15 Aug 2012 02:27:30 GMT] [debug] [<0.1255.0>] OAuth Params: [] [Wed, 15 Aug 2012 02:27:45 GMT] [debug] [<0.115.0>] Include Doc: <<"_design/_replicator">> {1, <<91,250,44,153, 238,254,43,46, 180,150,45,181, 10,163,207,212>>} [Wed, 15 Aug 2012 02:27:45 GMT] [info] [<0.32.0>] Apache CouchDB has started on http://127.0.0.1:5984/ In my code logs I have the following by running curl in verbose mode: * About to connect() to localhost port 5984 (#0) * Trying 127.0.0.1... * connected * Connected to localhost (127.0.0.1) port 5984 (#0) > POST /app_stats_test/_bulk_docs HTTP/1.0 Host: localhost:5984 Accept: */* Content-Type: application/json Content-Length: 2802300 * Empty reply from server * Connection #0 to host localhost left intact curl error: 52 : Empty reply from server I also tried using HTTP/1.1 and I get an empty response after receiving only a "100 Continue", but the end result appears the same. -Tim