本文共 341 字,大约阅读时间需要 1 分钟。
今天同事突然跟我说配置中心访问不了,很慢。
我上去看了一下注册中心,发现服务还是正常的。
到服务器上去看日志,发现配置中心服务拉取git时报错了,Could not fetch remote for master remote: http://xxxxxx/scm/~jin/cldmp-config.git
org.eclipse.jgit.api.errors.TransportException: http://xxxxxx/config.git: cannot open git-upload-pack
重启配置中心后,仍然没用,改了ip也没用。
最后出大招,删除tmp文件夹,发现一切恢复正常了。。。。。。。无解的问题。
就是上面配置的tmp的文件夹,删除即可。
end
转载地址:http://nkpti.baihongyu.com/