Skip to content

Instantly share code, notes, and snippets.

@user24
Created September 17, 2012 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save user24/3736284 to your computer and use it in GitHub Desktop.
Save user24/3736284 to your computer and use it in GitHub Desktop.
bigcouch snafu
$ telnet couchdb portno
Trying [ipaddress]...
Connected to couchdb
Escape character is '^]'.
GET /dbname/_design/dname/_view/viewname?key="keyname"&include_docs=true&limit=20&descending=true
HTTP/1.1 200 OK
X-Couch-Request-ID: 9dc69414
Server: CouchDB/1.1.1 (Erlang OTP/R14B01)
Etag: eb2051218277fa86006969ac40867b28
Date: Mon, 17 Sep 2012 08:28:02 GMT
Content-Type: text/plain;charset=utf-8
Cache-Control: must-revalidate
{"total_rows":59433,"offset":52087,"rows":[
HTTP/1.1 500 Internal Server Error
X-Couch-Request-ID: 9dc69414
Server: CouchDB/1.1.1 (Erlang OTP/R14B01)
Date: Mon, 17 Sep 2012 08:28:02 GMT
Content-Type: text/plain;charset=utf-8
Content-Length: 290
Cache-Control: must-revalidate
{"error":"function_clause","reason":null,"stack":["fabric_view:transform_row/1","fabric_view:maybe_send_row/1","rexi_utils:process_mailbox/6","fabric_view_map:go/6","chttpd_view:-design_doc_view/5-fun-1-/6","chttpd:handle_request/1","mochiweb_http:headers/5","proc_lib:init_p_do_apply/3"]}
couch log:
[Mon, 17 Sep 2012 08:30:04 GMT] [error] [<0.1966.0>] [9a9ccc69] Uncaught error in HTTP request: {exit,normal}
[Mon, 17 Sep 2012 08:30:04 GMT] [info] [<0.1966.0>] [9a9ccc69] Stacktrace: [{mochiweb_request,send,2},
                                           {chttpd,send_chunk,2},
                                           {chttpd_view,view_callback,2},
                                           {fabric_view,maybe_send_row,1},
                                           {rexi_utils,process_mailbox,6},
                                           {fabric_view_map,go,6},
                                           {chttpd_view,
                                            '-design_doc_view/5-fun-1-',6},
                                           {chttpd,handle_request,1}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment