【问题标题】:CouchDB 1.6.1 SSL error on RaspbianRaspbian 上的 CouchDB 1.6.1 SSL 错误
【发布时间】:2016-08-12 12:55:43
【问题描述】:

我正在尝试在 Raspbian 上的 CouchDB 1.6.1 中设置 SSL,我明白了:

** {badarg,[{ets,select_delete,
             [undefined,[{{{undefined,'_','_'},'_'},[],[true]}]],
             []},
        {ets,match_delete,2,[{file,"ets.erl"},{line,655}]},
        {ssl_pkix_db,remove_certs,2,[{file,"ssl_pkix_db.erl"},{line,221}]},
        {ssl_connection,terminate,3,
                        [{file,"ssl_connection.erl"},{line,934}]},
        {tls_connection,terminate,3,
                        [{file,"tls_connection.erl"},{line,326}]},
        {gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,595}]},
        {gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,517}]},
        {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}

我的 erlang 版本是 Erlang/OTP 17 [erts-6.2]。

我的 local.ini 文件包含:

httpsd = {couch_httpd, start_link, [https]}

[ssl]
port = 6984
cert_file = /etc/couchdb/cert/couchdb.crt
key_file = /etc/couchdb/cert/couchdb.key

Http 工作正常。有什么想法吗?

干杯。

【问题讨论】:

    标签: ssl erlang debian couchdb


    【解决方案1】:

    这看起来像是 this pull request 修复的崩溃,已合并到 Erlang/OTP 18.2。

    据我所知,崩溃本身是无害的:它发生在连接终止期间,因为代码试图清理从未设置过的东西。但是,它可能会引起您对之前发生的其他错误的注意,例如密钥/证书文件的路径不正确。

    【讨论】:

    • 谢谢,你说的很对,看来我需要睡觉了。 :)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-04-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-04
    • 2020-09-16
    相关资源
    最近更新 更多