从 2.11.7 升级到 2.14.1 后,匿名/ https 选项在 gerrit 中不可见
anonymous/ https option is not visible in gerrit after upgrade to 2.14.1 from 2.11.7
我已将 gerrit 从版本 2.11.5 升级到 2.14.1,我再也看不到匿名的 http 和 https 选项卡来克隆我的存储库(只有 http 和 ssh urls 存在)。此外,我无法使用 http url 进行克隆,这会给我 401,即使我使用的是正确的密码。
对于登录,我可以在日志中看到密码不匹配错误(这不是真的)。我使用的是正确的密码。
此外,我的日志文件中充满了以下警告
[2017-07-31 09:35:18,326] [sshd-SshServer[5d8319a7]-nio2-thread-5] WARN org.apache.sshd.server.session.ServerSessionI
mpl : exceptionCaught(ServerSessionImpl[null@/xx.xx.xx.xxx:38772])[state=Opened] IOException: Connection reset by peer
一些要检查的项目:
1) 确保 donwloads-commands plugin 已安装并且 运行 没有问题
检查插件 > 已安装
勾选GERRIT-SITE/plugins
重启Gerrit并检查GERRIT-SITE/logs/error_log
2) 确保在 GERRIT-SITE/etc/gerrit.config
中设置了 download options
[download]
scheme = anon_http
scheme = http
scheme = ssh
我已将 gerrit 从版本 2.11.5 升级到 2.14.1,我再也看不到匿名的 http 和 https 选项卡来克隆我的存储库(只有 http 和 ssh urls 存在)。此外,我无法使用 http url 进行克隆,这会给我 401,即使我使用的是正确的密码。
对于登录,我可以在日志中看到密码不匹配错误(这不是真的)。我使用的是正确的密码。
此外,我的日志文件中充满了以下警告
[2017-07-31 09:35:18,326] [sshd-SshServer[5d8319a7]-nio2-thread-5] WARN org.apache.sshd.server.session.ServerSessionI
mpl : exceptionCaught(ServerSessionImpl[null@/xx.xx.xx.xxx:38772])[state=Opened] IOException: Connection reset by peer
一些要检查的项目:
1) 确保 donwloads-commands plugin 已安装并且 运行 没有问题
检查插件 > 已安装
勾选GERRIT-SITE/plugins
重启Gerrit并检查GERRIT-SITE/logs/error_log
2) 确保在 GERRIT-SITE/etc/gerrit.config
中设置了 download options[download]
scheme = anon_http
scheme = http
scheme = ssh