You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Benoit Chesneau (JIRA)" <ji...@apache.org> on 2009/05/27 01:43:45 UTC
[jira] Created: (COUCHDB-363) can't POST to an external
can't POST to an external
-------------------------
Key: COUCHDB-363
URL: https://issues.apache.org/jira/browse/COUCHDB-363
Project: CouchDB
Issue Type: Bug
Components: Database Core
Affects Versions: 0.10
Reporter: Benoit Chesneau
Fix For: 0.10
Trying to post to an external and get error 500 :
Headers: [{'Accept',"application/json, text/javascript, */*"},
{'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
{'Accept-Encoding',"gzip,deflate"},
{'Accept-Language',"en-us,en;q=0.5"},
{'Cache-Control',"no-cache"},
{'Connection',"keep-alive"},
{'Content-Length',"59"},
{'Content-Type',"application/x-www-form-urlencoded; charset=UTF-8"},
{'Host',"127.0.0.1:5984"},
{'Keep-Alive',"300"},
{'Pragma',"no-cache"},
{'Referer',"http://127.0.0.1:5984/friendpaste/_design/fp/index.html"},
{'User-Agent',"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10"},
{"X-Requested-With","XMLHttpRequest"}]
[error] [<0.60.0>] Uncaught error in HTTP request: {error,function_clause}
[info] [<0.60.0>] Stacktrace: [{mochiweb_util,parse_qs_key,[undefined,[]]},
{mochiweb_util,parse_qs,2},
{couch_httpd_external,json_req_obj,2},
{couch_httpd_external,process_external_req,3},
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request,5},
{mochiweb_http,headers,5},
{proc_lib,init_p_do_apply,3}]
[debug] [<0.60.0>] httpd 500 error response:
{"error":"unknown_error","reason":"function_clause"}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (COUCHDB-363) can't POST to an external
Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Joseph Davis resolved COUCHDB-363.
---------------------------------------
Resolution: Fixed
Fix Version/s: (was: 0.10)
0.9.1
Assignee: Paul Joseph Davis
Fixed with patch supplied by Benoit.
> can't POST to an external
> -------------------------
>
> Key: COUCHDB-363
> URL: https://issues.apache.org/jira/browse/COUCHDB-363
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 0.10
> Reporter: Benoit Chesneau
> Assignee: Paul Joseph Davis
> Priority: Critical
> Fix For: 0.9.1
>
> Attachments: couch_httpd_external.diff
>
>
> Trying to post to an external and get error 500 :
> Headers: [{'Accept',"application/json, text/javascript, */*"},
> {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
> {'Accept-Encoding',"gzip,deflate"},
> {'Accept-Language',"en-us,en;q=0.5"},
> {'Cache-Control',"no-cache"},
> {'Connection',"keep-alive"},
> {'Content-Length',"59"},
> {'Content-Type',"application/x-www-form-urlencoded; charset=UTF-8"},
> {'Host',"127.0.0.1:5984"},
> {'Keep-Alive',"300"},
> {'Pragma',"no-cache"},
> {'Referer',"http://127.0.0.1:5984/friendpaste/_design/fp/index.html"},
> {'User-Agent',"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10"},
> {"X-Requested-With","XMLHttpRequest"}]
> [error] [<0.60.0>] Uncaught error in HTTP request: {error,function_clause}
> [info] [<0.60.0>] Stacktrace: [{mochiweb_util,parse_qs_key,[undefined,[]]},
> {mochiweb_util,parse_qs,2},
> {couch_httpd_external,json_req_obj,2},
> {couch_httpd_external,process_external_req,3},
> {couch_httpd_db,do_db_req,2},
> {couch_httpd,handle_request,5},
> {mochiweb_http,headers,5},
> {proc_lib,init_p_do_apply,3}]
> [debug] [<0.60.0>] httpd 500 error response:
> {"error":"unknown_error","reason":"function_clause"}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COUCHDB-363) can't POST to an external
Posted by "Benoit Chesneau (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Chesneau updated COUCHDB-363:
------------------------------------
Component/s: (was: Database Core)
HTTP Interface
Priority: Critical (was: Major)
> can't POST to an external
> -------------------------
>
> Key: COUCHDB-363
> URL: https://issues.apache.org/jira/browse/COUCHDB-363
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 0.10
> Reporter: Benoit Chesneau
> Priority: Critical
> Fix For: 0.10
>
>
> Trying to post to an external and get error 500 :
> Headers: [{'Accept',"application/json, text/javascript, */*"},
> {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
> {'Accept-Encoding',"gzip,deflate"},
> {'Accept-Language',"en-us,en;q=0.5"},
> {'Cache-Control',"no-cache"},
> {'Connection',"keep-alive"},
> {'Content-Length',"59"},
> {'Content-Type',"application/x-www-form-urlencoded; charset=UTF-8"},
> {'Host',"127.0.0.1:5984"},
> {'Keep-Alive',"300"},
> {'Pragma',"no-cache"},
> {'Referer',"http://127.0.0.1:5984/friendpaste/_design/fp/index.html"},
> {'User-Agent',"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10"},
> {"X-Requested-With","XMLHttpRequest"}]
> [error] [<0.60.0>] Uncaught error in HTTP request: {error,function_clause}
> [info] [<0.60.0>] Stacktrace: [{mochiweb_util,parse_qs_key,[undefined,[]]},
> {mochiweb_util,parse_qs,2},
> {couch_httpd_external,json_req_obj,2},
> {couch_httpd_external,process_external_req,3},
> {couch_httpd_db,do_db_req,2},
> {couch_httpd,handle_request,5},
> {mochiweb_http,headers,5},
> {proc_lib,init_p_do_apply,3}]
> [debug] [<0.60.0>] httpd 500 error response:
> {"error":"unknown_error","reason":"function_clause"}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COUCHDB-363) can't POST to an external
Posted by "Benoit Chesneau (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Chesneau updated COUCHDB-363:
------------------------------------
Attachment: couch_httpd_external.diff
patch that solve this issue
> can't POST to an external
> -------------------------
>
> Key: COUCHDB-363
> URL: https://issues.apache.org/jira/browse/COUCHDB-363
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 0.10
> Reporter: Benoit Chesneau
> Priority: Critical
> Fix For: 0.10
>
> Attachments: couch_httpd_external.diff
>
>
> Trying to post to an external and get error 500 :
> Headers: [{'Accept',"application/json, text/javascript, */*"},
> {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
> {'Accept-Encoding',"gzip,deflate"},
> {'Accept-Language',"en-us,en;q=0.5"},
> {'Cache-Control',"no-cache"},
> {'Connection',"keep-alive"},
> {'Content-Length',"59"},
> {'Content-Type',"application/x-www-form-urlencoded; charset=UTF-8"},
> {'Host',"127.0.0.1:5984"},
> {'Keep-Alive',"300"},
> {'Pragma',"no-cache"},
> {'Referer',"http://127.0.0.1:5984/friendpaste/_design/fp/index.html"},
> {'User-Agent',"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10"},
> {"X-Requested-With","XMLHttpRequest"}]
> [error] [<0.60.0>] Uncaught error in HTTP request: {error,function_clause}
> [info] [<0.60.0>] Stacktrace: [{mochiweb_util,parse_qs_key,[undefined,[]]},
> {mochiweb_util,parse_qs,2},
> {couch_httpd_external,json_req_obj,2},
> {couch_httpd_external,process_external_req,3},
> {couch_httpd_db,do_db_req,2},
> {couch_httpd,handle_request,5},
> {mochiweb_http,headers,5},
> {proc_lib,init_p_do_apply,3}]
> [debug] [<0.60.0>] httpd 500 error response:
> {"error":"unknown_error","reason":"function_clause"}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.