[
https://issues.apache.org/jira/browse/COUCHDB-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Filipe Manana closed COUCHDB-847.
---------------------------------
Resolution: Fixed
Hi,
that bug was fixed in branches 1.0.x and 0.11.x
Releases 1.0.1 and 0.11.2 (to be out soon) contain the fix.
http://svn.apache.org/viewvc/couchdb/branches/1.0.x/src/couchdb/couch_httpd.erl?view=diff&r1=981341&r2=981342&pathrev=981342
> Tried to access Couch DB with jCouchDB driver 0.11.0-1 but failed to
> handshake.
> -------------------------------------------------------------------------------
>
> Key: COUCHDB-847
> URL: https://issues.apache.org/jira/browse/COUCHDB-847
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 1.0
> Environment: Windows XP SP3, 32bit
> Reporter: Kai Hackemesser
>
> a simple method call like
> Database db = new Database("localhost", database);
> System.out.println(db.getStatus());
> fails with exception. In the CouchDB log I find
> [Tue, 10 Aug 2010 10:34:57 GMT] [error] [<0.106.0>] {error_report,<0.33.0>,
> {<0.106.0>,crash_report,
> [[{initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}},
> {pid,<0.106.0>},
> {registered_name,[]},
> {error_info,
> {error,badarg,
> [{re,run,[undefined,"html",[{capture,none}]]},
> {couch_httpd,error_headers,4},
> {couch_httpd,send_error,2},
> {couch_httpd,handle_request_int,5},
> {mochiweb_http,headers,5},
> {proc_lib,init_p_do_apply,3}]}},
> {ancestors,
> [couch_httpd,couch_secondary_services,couch_server_sup,<0.34.0>]},
> {messages,[]},
> {links,[<0.105.0>,#Port<0.3249>]},
> {dictionary,[{mochiweb_request_qs,[]},{mochiweb_request_cookie,[]}]},
> {trap_exit,false},
> {status,running},
> {heap_size,987},
> {stack_size,24},
> {reductions,2375}],
> []]}}
> [Tue, 10 Aug 2010 10:34:57 GMT] [error] [<0.105.0>] {error_report,<0.33.0>,
> {<0.105.0>,std_error,
> {mochiweb_socket_server,235,{child_error,badarg}}}}
> [Tue, 10 Aug 2010 10:34:57 GMT] [error] [<0.134.0>] {error_report,<0.33.0>,
> {<0.134.0>,crash_report,
> [[{initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}},
> {pid,<0.134.0>},
> {registered_name,[]},
> {error_info,
> {error,badarg,
> [{re,run,[undefined,"html",[{capture,none}]]},
> {couch_httpd,error_headers,4},
> {couch_httpd,send_error,2},
> {couch_httpd,handle_request_int,5},
> {mochiweb_http,headers,5},
> {proc_lib,init_p_do_apply,3}]}},
> {ancestors,
> [couch_httpd,couch_secondary_services,couch_server_sup,<0.34.0>]},
> {messages,[]},
> {links,[<0.105.0>,#Port<0.3565>]},
> {dictionary,[{mochiweb_request_qs,[]},{mochiweb_request_cookie,[]}]},
> {trap_exit,false},
> {status,running},
> {heap_size,1597},
> {stack_size,24},
> {reductions,2254}],
> []]}}
> [Tue, 10 Aug 2010 10:34:57 GMT] [error] [<0.105.0>] {error_report,<0.33.0>,
> {<0.105.0>,std_error,
> {mochiweb_socket_server,235,{child_error,badarg}}}}
> [Tue, 10 Aug 2010 10:34:57 GMT] [error] [<0.142.0>] {error_report,<0.33.0>,
> {<0.142.0>,crash_report,
> [[{initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}},
> {pid,<0.142.0>},
> {registered_name,[]},
> {error_info,
> {error,badarg,
> [{re,run,[undefined,"html",[{capture,none}]]},
> {couch_httpd,error_headers,4},
> {couch_httpd,send_error,2},
> {couch_httpd,handle_request_int,5},
> {mochiweb_http,headers,5},
> {proc_lib,init_p_do_apply,3}]}},
> {ancestors,
> [couch_httpd,couch_secondary_services,couch_server_sup,<0.34.0>]},
> {messages,[]},
> {links,[<0.105.0>,#Port<0.3568>]},
> {dictionary,[{mochiweb_request_qs,[]},{mochiweb_request_cookie,[]}]},
> {trap_exit,false},
> {status,running},
> {heap_size,1597},
> {stack_size,24},
> {reductions,2241}],
> []]}}
> [Tue, 10 Aug 2010 10:34:57 GMT] [error] [<0.105.0>] {error_report,<0.33.0>,
> {<0.105.0>,std_error,
> {mochiweb_socket_server,235,{child_error,badarg}}}}
> [Tue, 10 Aug 2010 10:34:57 GMT] [error] [<0.143.0>] {error_report,<0.33.0>,
> {<0.143.0>,crash_report,
> [[{initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}},
> {pid,<0.143.0>},
> {registered_name,[]},
> {error_info,
> {error,badarg,
> [{re,run,[undefined,"html",[{capture,none}]]},
> {couch_httpd,error_headers,4},
> {couch_httpd,send_error,2},
> {couch_httpd,handle_request_int,5},
> {mochiweb_http,headers,5},
> {proc_lib,init_p_do_apply,3}]}},
> {ancestors,
> [couch_httpd,couch_secondary_services,couch_server_sup,<0.34.0>]},
> {messages,[]},
> {links,[<0.105.0>,#Port<0.3569>]},
> {dictionary,[{mochiweb_request_qs,[]},{mochiweb_request_cookie,[]}]},
> {trap_exit,false},
> {status,running},
> {heap_size,1597},
> {stack_size,24},
> {reductions,2241}],
> []]}}
> [Tue, 10 Aug 2010 10:34:57 GMT] [error] [<0.105.0>] {error_report,<0.33.0>,
> {<0.105.0>,std_error,
> {mochiweb_socket_server,235,{child_error,badarg}}}}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.