Curt, Is it just me or do some of those URL's have semicolons where there should be ampersands? I don't think its necessarily relevant though. My first guess is that your client is closing the socket before the body has been completely sent.
HTH, Paul Davis On Thu, Jun 18, 2009 at 10:07 AM, Curt Arnold <[email protected]> wrote: > > I've been seeing HTTP 500 failures from time to time with a fairly recent > snapshot build ("0.10.0a777361") from the SVN. The actual keys have been > omitted, however the queries have been working for a long time and the keys > are valid and return the right data most of the time. > > Any clues what might be happening? > > > > [Thu, 18 Jun 2009 01:22:59 GMT] [debug] [<0.1178.84>] 'POST' > /loaded/_design/query/_view/byURI?include_docs=true {1,1} > Headers: [{'Accept',"*/*"}, > {'Accept-Encoding',"gzip, deflate"}, > {'Accept-Language',"en-us"}, > {'Cache-Control',"no-cache"}, > {'Connection',"Keep-Alive"}, > {'Content-Length',"537"}, > {'Content-Type',"text/plain; charset=utf-8"}, > {'Cookie',"x-auto-16=m%3Asize%7Cf%3A235.0"}, > {'Host',"localhost:5984"}, > {'Referer',"http://localhost:8888/browser/hosted.html?browser"}, > {'User-Agent',"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; > SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR > 1.1.4322)"}] > > [Thu, 18 Jun 2009 01:22:59 GMT] [debug] [<0.1180.84>] 'GET' > /loaded/_design/query/_view/forSubject?include_docs=true;;key=[omitted] {1, > > > 1} > Headers: [{'Accept',"*/*"}, > {'Accept-Encoding',"gzip, deflate"}, > {'Accept-Language',"en-us"}, > {'Cache-Control',"no-cache"}, > {'Connection',"Keep-Alive"}, > {'Cookie',"x-auto-16=m%3Asize%7Cf%3A235.0"}, > {'Host',"localhost:5984"}, > {'Referer',"http://localhost:8888/browser/hosted.html?browser"}, > {'User-Agent',"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; > SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR > 1.1.4322)"}] > > [Thu, 18 Jun 2009 01:22:59 GMT] [debug] [<0.1180.84>] request_group {Pid, > Seq} {<0.15823.64>,4485} > > [Thu, 18 Jun 2009 01:22:59 GMT] [info] [<0.1180.84>] 127.0.0.1 - - 'GET' > /loaded/_design/query/_view/forSubject?include_docs=true;;key=[omitted] 200 > > [Thu, 18 Jun 2009 01:22:59 GMT] [debug] [<0.1180.84>] 'GET' > /loaded/_design/query/_view/byURI?include_docs=true;key=[omitted] {1, > > 1} > Headers: [{'Accept',"*/*"}, > {'Accept-Encoding',"gzip, deflate"}, > {'Accept-Language',"en-us"}, > {'Cache-Control',"no-cache"}, > {'Connection',"Keep-Alive"}, > {'Cookie',"x-auto-16=m%3Asize%7Cf%3A235.0"}, > {'Host',"localhost:5984"}, > {'If-None-Match',"\"60FWBA3D7UUZI9NSMR4PS9VM4\""}, > {'Referer',"http://localhost:8888/browser/hosted.html?browser"}, > {'User-Agent',"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; > SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR > 1.1.4322)"}] > > [Thu, 18 Jun 2009 01:22:59 GMT] [debug] [<0.1180.84>] request_group {Pid, > Seq} {<0.15823.64>,4485} > > [Thu, 18 Jun 2009 01:22:59 GMT] [info] [<0.1180.84>] 127.0.0.1 - - 'GET' > /loaded/_design/query/_view/byURI?include_docs=true;key=[omitted] 304 > > [Thu, 18 Jun 2009 01:23:09 GMT] [error] [<0.1178.84>] Uncaught error in HTTP > request: {exit,normal} > > [Thu, 18 Jun 2009 01:23:09 GMT] [debug] [<0.1178.84>] Stacktrace: > [{mochiweb_request,recv,3}, > {mochiweb_request,stream_unchunked_body,5}, > {mochiweb_request,recv_body,2}, > {couch_httpd,json_body,1}, > {couch_httpd,json_body_obj,1}, > {couch_httpd_view,handle_view_req,2}, > {couch_httpd_db,do_db_req,2}, > {couch_httpd,handle_request,5}] > > [Thu, 18 Jun 2009 01:23:09 GMT] [debug] [<0.1178.84>] httpd 500 error > response: > {"error":"unknown_error","reason":"normal"} > > > [Thu, 18 Jun 2009 01:23:09 GMT] [info] [<0.1178.84>] 127.0.0.1 - - 'POST' > /loaded/_design/query/_view/byURI?include_docs=true 500 > > [Thu, 18 Jun 2009 01:23:20 GMT] [debug] [<0.1180.84>] 'GET' > /loaded/_design/query/_view/forValue?key=[omitted] {1, > > > 1} > Headers: [{'Accept',"*/*"}, > {'Accept-Encoding',"gzip, deflate"}, > {'Accept-Language',"en-us"}, > {'Connection',"Keep-Alive"}, > {'Content-Type',"text/plain; charset=utf-8"}, > {'Cookie',"x-auto-16=m%3Asize%7Cf%3A235.0"}, > {'Host',"localhost:5984"}, > {'If-None-Match',"\"60FWBA3D7UUZI9NSMR4PS9VM4\""}, > {'Referer',"http://localhost:8888/browser/hosted.html?browser"}, > {'User-Agent',"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; > SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR > 1.1.4322)"}] > > [Thu, 18 Jun 2009 01:23:20 GMT] [debug] [<0.1180.84>] request_group {Pid, > Seq} {<0.15823.64>,4485}
