Created
January 20, 2014 19:54
-
-
Save AstraLuma/8527789 to your computer and use it in GitHub Desktop.
Backtrace from using couch_httpd_proxy with httpd_db_handlers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Mon, 20 Jan 2014 19:51:54 GMT] [error] [<0.368.0>] Uncaught error in HTTP request: {error,undef} | |
[Mon, 20 Jan 2014 19:51:54 GMT] [info] [<0.368.0>] Stacktrace: [{couch_httpd_proxy,handle_proxy_req, | |
[{httpd, | |
{mochiweb_request,#Port<0.1979>,'GET', | |
"/test/_example", | |
{1,1}, | |
{8, | |
{"host", | |
{'Host',"localhost:5984"}, | |
{"connection", | |
{'Connection',"keep-alive"}, | |
{"accept", | |
{'Accept', | |
"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"}, | |
nil, | |
{"accept-encoding", | |
{'Accept-Encoding', | |
"gzip,deflate,sdch"}, | |
nil, | |
{"accept-language", | |
{'Accept-Language',"en-US,en;q=0.8"}, | |
nil,nil}}}, | |
{"dnt", | |
{"Dnt","1"}, | |
{"cookie", | |
{'Cookie', | |
"tabstyle=html-tab; AuthSession=YXN0cm9ub3V0aDczMDM6NTJERDdCMUE64Xna-nw_knpNHUjYif-AIJQhieI"}, | |
nil,nil}, | |
nil}}, | |
{"user-agent", | |
{'User-Agent', | |
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/31.0.1650.63 Chrome/31.0.1650.63 Safari/537.36"}, | |
nil,nil}}}}, | |
"127.0.0.1",'GET', | |
[<<"test">>,<<"_example">>], | |
[<<"test">>,<<"_example">>], | |
{dict,6,16,16,8,80,48, | |
{[],[],[],[],[],[],[],[],[],[],[],[],[], | |
[],[],[]}, | |
{{[[<<"_design">>| | |
#Fun<couch_httpd.8.101940839>]], | |
[], | |
[[<<"_view_cleanup">>| | |
#Fun<couch_httpd.8.101940839>]], | |
[],[],[],[],[], | |
[[<<"_compact">>| | |
#Fun<couch_httpd.8.101940839>]], | |
[],[], | |
[[<<"_temp_view">>| | |
#Fun<couch_httpd.8.101940839>]], | |
[[<<"_changes">>| | |
#Fun<couch_httpd.8.101940839>]], | |
[],[], | |
[[<<"_example">>| | |
#Fun<couch_httpd.7.101940839>]]}}}, | |
{user_ctx,null, | |
[<<"_admin">>], | |
<<"{couch_httpd_auth, default_authentication_handler}">>}, | |
undefined, | |
{dict,7,16,16,8,80,48, | |
{[],[],[],[],[],[],[],[],[],[],[],[],[], | |
[],[],[]}, | |
{{[], | |
[[<<"_show">>| | |
#Fun<couch_httpd.10.101940839>]], | |
[[<<"_info">>| | |
#Fun<couch_httpd.10.101940839>], | |
[<<"_list">>| | |
#Fun<couch_httpd.10.101940839>]], | |
[[<<"_update">>| | |
#Fun<couch_httpd.10.101940839>]], | |
[],[],[],[],[], | |
[[<<"_rewrite">>| | |
#Fun<couch_httpd.10.101940839>]], | |
[],[],[], | |
[[<<"_view">>| | |
#Fun<couch_httpd.10.101940839>]], | |
[], | |
[[<<"_example">>| | |
#Fun<couch_httpd.9.101940839>]]}}}, | |
undefined,#Fun<couch_httpd.6.101940839>, | |
{dict,14,16,16,8,80,48, | |
{[],[],[],[],[],[],[],[],[],[],[],[],[], | |
[],[],[]}, | |
{{[[<<"_restart">>| | |
#Fun<couch_httpd.6.101940839>], | |
[<<"_replicate">>| | |
#Fun<couch_httpd.6.101940839>]], | |
[[<<"_active_tasks">>| | |
#Fun<couch_httpd.6.101940839>]], | |
[],[], | |
[[<<"_utils">>| | |
#Fun<couch_httpd.5.101940839>], | |
[<<"/">>|#Fun<couch_httpd.5.101940839>], | |
[<<"_config">>| | |
#Fun<couch_httpd.6.101940839>]], | |
[[<<"_log">>| | |
#Fun<couch_httpd.6.101940839>]], | |
[],[], | |
[[<<"_all_dbs">>| | |
#Fun<couch_httpd.6.101940839>]], | |
[], | |
[[<<"_stats">>| | |
#Fun<couch_httpd.6.101940839>], | |
[<<"favicon.ico">>| | |
#Fun<couch_httpd.5.101940839>]], | |
[[<<"_session">>| | |
#Fun<couch_httpd.6.101940839>], | |
[<<"_uuids">>| | |
#Fun<couch_httpd.6.101940839>]], | |
[],[], | |
[[<<"_oauth">>| | |
#Fun<couch_httpd.6.101940839>]], | |
[[<<"_example">>| | |
#Fun<couch_httpd.5.101940839>]]}}}}, | |
{db,<0.165.0>,<0.166.0>,nil, | |
<<"1390246771059614">>,<0.167.0>,<0.163.0>, | |
<0.169.0>, | |
{db_header,6,3,0, | |
{76442,{1,0,68135},182}, | |
{76624,1,107}, | |
nil,0,nil,nil,1000}, | |
3, | |
{btree,<0.163.0>, | |
{76442,{1,0,68135},182}, | |
#Fun<couch_db_updater.10.57960608>, | |
#Fun<couch_db_updater.11.57960608>, | |
#Fun<couch_btree.5.133731799>, | |
#Fun<couch_db_updater.12.57960608>,snappy}, | |
{btree,<0.163.0>, | |
{76624,1,107}, | |
#Fun<couch_db_updater.13.57960608>, | |
#Fun<couch_db_updater.14.57960608>, | |
#Fun<couch_btree.5.133731799>, | |
#Fun<couch_db_updater.15.57960608>,snappy}, | |
{btree,<0.163.0>,nil, | |
#Fun<couch_btree.3.133731799>, | |
#Fun<couch_btree.4.133731799>, | |
#Fun<couch_btree.5.133731799>,nil,snappy}, | |
3,<<"test">>, | |
"/var/lib/couchdb/1.2.0/test.couch",[],[], | |
nil, | |
{user_ctx,null, | |
[<<"_admin">>], | |
<<"{couch_httpd_auth, default_authentication_handler}">>}, | |
nil,1000, | |
[before_header,after_header,on_file_open], | |
[{user_ctx, | |
{user_ctx,null, | |
[<<"_admin">>], | |
<<"{couch_httpd_auth, default_authentication_handler}">>}}], | |
snappy,nil,nil}, | |
<<"http://example.com">>], | |
[]}, | |
{couch_httpd_db,do_db_req,2, | |
[{file,"couch_httpd_db.erl"},{line,230}]}, | |
{couch_httpd,handle_request_int,5, | |
[{file,"couch_httpd.erl"},{line,317}]}, | |
{mochiweb_http,headers,5, | |
[{file,"mochiweb_http.erl"},{line,136}]}, | |
{proc_lib,init_p_do_apply,3, | |
[{file,"proc_lib.erl"},{line,227}]}] | |
[Mon, 20 Jan 2014 19:51:54 GMT] [error] [<0.368.0>] Uncaught server error: undef | |
[Mon, 20 Jan 2014 19:51:54 GMT] [info] [<0.368.0>] 127.0.0.1 - - GET /test/_example 500 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment