我是ejabberd的新手,正在尝试使用它。我按照官方文档页面上的说明使用用户名和密码安装了ejabbered。我能够启动受阻服务器,并使用“ Smack” API通过Java连接到它。
但是,当我尝试在http://localhost:5280/admin/处打开Web仪表板,然后以管理员用户身份登录时,它没有显示任何内容。当我检查日志时,它显示以下错误-
2020-03-13 21:03:17.618 [error] <0.1965.0>@ejabberd_http:apply_custom_headers:860 CRASH REPORT Process <0.1965.0> with 0 neighbours crashed with reason: bad argument in call to maps:from_list([html]) in ejabberd_http:apply_custom_headers/2 line 860
2020-03-13 21:03:17.619 [error] <0.535.0>@ejabberd_http:apply_custom_headers:860 Supervisor ejabberd_http_sup had child undefined started with {ejabberd_http,start_link,undefined} at <0.1965.0> exit with reason bad argument in call to maps:from_list([html]) in ejabberd_http:apply_custom_headers/2 line 860 in context child_terminated
请帮我解决这个问题。谢谢!
是的,该问题在ejabberd 20.02中引入,并且已在最近的git commit中修复。该修复程序尚未发布任何版本。参见https://github.com/processone/ejabberd/issues/3186
您有两个选择: