couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From couc...@lechat.org
Subject CouchDB 2.0 HTTPS won't start & crash
Date Thu, 06 Oct 2016 09:12:09 GMT
Hi,

I made a fresh installation of couchdb2.0 on Debian 4.9.2-10
Everything works fine with http 5984, great couchdb ! Thank you all for 
your long and hard work !

But when I uncomment local.ini line :

httpsd = {couch_httpd, start_link, [https]}

and putting ssl cert_file and key_file path in config as described in docs,

couchdb won't start anymore and crash immediately with this log :

[error] 2016-10-06T08:43:32.412024Z couchdb@localhost <0.213.0> -------- 
Supervisor couch_secondary_services had child httpsd started with 
couch_httpd:start_link(https) at undefined exit with reason 
{'EXIT',{badarg,[{erlang,'++',[undefined,"."],[]},{couch_util,parse_term,1,[{file,"src/couch_util.erl"},{line,164}]},{couch_httpd,start_link,1,[{file,"src/couch_httpd.erl"},{line,46}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,314}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,297}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,263}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},...]}]}}

in context start_error

I'have triple checked all file permissions of cert files and path to be 
sure the issue is not on this side.


Does somebody could point me in a direction to understand what is 
happening ? Bad arg undefined '.' is not really understandable.

Thank you by advance if somebody can help.

Regards,

Thierry.

Mime
View raw message