iriscouch/browserid_couchdb — Issue #7: 500 error accessing _browserid/include.js
Author: gfxmonk
Created: 2012-02-05 07:56:38+00:00
State: open

Using a fresh couchdb-build on ubuntu 11.10 with only this plugin enabled (and enabled in config), I can't get http://localhost:5985/_browserid/include.js

When I try, the console gives me:

[error] [<0.2585.0>] Uncaught error in HTTP request: {error,undef}
[info] [<0.2585.0>] Stacktrace: [{couch_httpd_browserid,handle_id_req,
[{httpd,
{mochiweb_request,#Port<0.2190>,'GET',
"/_browserid/include.js",
{1,1},
{3,
{"user-agent",
{'User-Agent',
"curl/7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3"},
{"host",
{'Host',"localhost:5985"},
{"accept",{'Accept',"*/*"},nil,nil},
nil},
nil}}},
"127.0.0.1",'GET',
[<<"_browserid">>,<<"include.js">>],
[<<"_browserid">>,<<"include.js">>],
{dict,5,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[[<<"_design">>|
#Fun]],
[],
[[<<"_view_cleanup">>|
#Fun]],
[],[],[],[],[],
[[<<"_compact">>|
#Fun]],
[],[],
[[<<"_temp_view">>|
#Fun]],
[[<<"_changes">>|
#Fun]],
[],[],[]}}},
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth, default_authentication_handler}">>},
undefined,
{dict,6,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],
[[<<"_show">>|
#Fun]],
[[<<"_info">>|
#Fun],
[<<"_list">>|
#Fun]],
[[<<"_update">>|
#Fun]],
[],[],[],[],[],
[[<<"_rewrite">>|
#Fun]],
[],[],[],
[[<<"_view">>|
#Fun]],
[],[]}}},
undefined,#Fun,
{dict,14,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[[<<"_restart">>|
#Fun],
[<<"_replicate">>|
#Fun]],
[[<<"_active_tasks">>|
#Fun]],
[],[],
[[<<"_utils">>|
#Fun],
[<<"/">>|
#Fun],
[<<"_config">>|
#Fun]],
[[<<"_log">>|
#Fun]],
[[<<"_browserid">>|
#Fun]],
[],
[[<<"_all_dbs">>|
#Fun]],
[],
[[<<"_stats">>|
#Fun],
[<<"favicon.ico">>|
#Fun]],
[[<<"_session">>|
#Fun],
[<<"_uuids">>|
#Fun]],
[],[],
[[<<"_oauth">>|
#Fun]],
[]}}}}],
[]},
{couch_httpd,handle_request_int,5,
[{file,
"/home/tim/dev/web/couchdb/build-couchdb/dependencies/couchdb/src/couchdb/couch_httpd.erl"},
{line,262}]},
{mochiweb_http,headers,5,
[{file,
"/home/tim/dev/web/couchdb/build-couchdb/dependencies/couchdb/src/mochiweb/mochiweb_http.erl"},
{line,126}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]
[info] [<0.2585.0>] 127.0.0.1 - - 'GET' /_browserid/include.js 500

I've not dealt with erlang stack traces before, but I'm not sure if there's much there to go on...