博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
spring-cloud-config 突然报错 cannot open git-upload-pack
阅读量:4149 次
发布时间:2019-05-25

本文共 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/

你可能感兴趣的文章
Dynamic Programming
查看>>
Sorting
查看>>
Bit manipulation
查看>>
Swap all odd and even bits
查看>>
Binary representation of a given number
查看>>
Position of rightmost set bit
查看>>
Write one line C function to find whether a no is power of two
查看>>
Efficient way to multiply with 7
查看>>
Write a C program to find the parity of an unsigned integer
查看>>
Write an Efficient Method to Check if a Number is Multiple of 3
查看>>
Next Power of 2
查看>>
Count number of bits to be flipped to convert A to B
查看>>
Count set bits in an integer
查看>>
Write an Efficient C Program to Reverse Bits of a Number
查看>>
Check for Integer Overflow
查看>>
Find the Number Occurring Odd Number of Times
查看>>
Find the two non-repeating elements in an array of repeating elements
查看>>
Rotate bits of a number
查看>>
Compute the minimum or maximum of two integers without branching
查看>>
Compute modulus division by a power-of-2-number
查看>>