前景提要
最近在搞 gerrit,git 仓库用 gitlab,现在配置好 replication 之后代码的同步都没有问题,但唯独新建的项目无法同步步骤是这样:gerrit 中 create project,之后 replication 日志中就会报错 [2018-03-13 11:16:20,169] [d685449c] Created remote repository: [email protected] :xxxxx/xxxx.git[2018-03-13 11:16:20,169] [d685449c] Missing repository created; retry replication to [email protected] :xxxxx/xxxx.gitreplication.config 配置如下: [remote "xxxxx"] url = [email protected] :${name}.gitpush = +refs/heads/*:refs/heads/* push = +refs/tags/*:refs/tags/* push = +refs/changes/*:refs/changes/* timtout = 30 threads = 3 createMissingRepositories = true replicateProjectDeletions = true mirror = true 不知是不是 gerrit 还是 gitlab 配置的不对,有木有大神可以帮忙解决? --------- 补充:在 error.log 中有这样的 warning WARN org.apache.sshd.common.keyprovider.FileKeyPairProvider : Failed (StreamCorruptedException) to load key resource=/home/appweb/chuixue/review_site/etc/ssh_host_ecdsa_key: Invalid DER: object is not an OID: SEQUENCE