【异常】org.eclipse.jgit.api.errors.TransportException: git@xxx.xxx.xxx/base-config-center.git: channel is not opened.

一、异常原因

连不上git仓库,可能原因有:

1.)git仓库不存在

2)连接git仓库超时

二、对应的解决办法

1)

创建对应仓库

2)

2.1 换个服务性能更好的部署gitlab

2.2 可以研究下是否可以设置连接git仓库的超时时间(待验证)

原文地址:https://www.cnblogs.com/756623607-zhang/p/11595193.html