Springcloud config 获取远程配置文件出现错误
错误源码:2021-11-03 19:51:31.421 WARN 6608 — [on(3)-127.0.0.1] .c.s.e.MultipleJGitEnvironmentRepository : Error occured cloning to base directory.

org.eclipse.jgit.api.errors.TransportException: https://github.com/ClowLAY/spring-cloud-config.git: cannot open git-upload-pack

错误原因:可能是因为连接不上远程github仓库导致无法克隆项目
解决办法:修改配置文件application.properties

#修改之前代码
spring.cloud.config.server.git.uri=https://github.com/ClowLAY/spring-cloud-config.git#修改之后代码
spring.cloud.config.server.git.uri=git@github.com:ClowLAY/spring-cloud-config.git

成功获取远程仓库配置文件

注意事项:就是把代理方式从https改成了git方式
记得把远程仓库地址改成自己的远程仓库地址

Springcloud config 出现Error occured cloning to base directory.相关推荐

  1. SpringCloud config 原理分析

    SpringCloud config 原理分析 前置说明 SpringCloud config 服务端加载配置 客户端加载配置 客户端配置刷新 结尾 前置说明 源码来自springcloud.G版本 ...

  2. 解决微信H5获取SDK授权报错提示errMsg: “config:fail,Error: 系统错误,错误码:63002,invalid signature [20200908 22:17:17][]“

    如果常规检查都做过可以仔细看下微信开放文档 这个里面的报错原因 如果都不是那么极有可能是(恭喜你!看样子你的H5页面日活人数还蛮多[呲牙]) 获取腾讯微信平台access_token超过每日默认上限2 ...

  3. Sublime Text 3便携版下载安装和常用插件安装--顺便解决报错An error occured installing和no packages available for install

    文章目录 Sublime Text 3便携版下载安装和常用插件安装 1.Sublime Text 3便携版下载: 2.sublime 插件控制器(Package Control)安装 2.1离线安装P ...

  4. 配置SpringCloud Config Client连上Config Server

    SpringCloud Config Client实际上就是连接到Config Server的普通应用,前面一篇文章 SpringCloud Config Server搭建 已经介绍了如何搭建一个Co ...

  5. SpringCloud Config Server搭建

    文章目录 1 创建Git仓库 2 创建应用配置文件 3 将应用配置文件commit到Git仓库中 4 创建Config Server应用 5 配置运行Config Server 6 访问Config ...

  6. 安装 ArcGISAPI31forSilverlight an i/o error occured while installing a file错误解决

    安装ArcGISAPI31forSilverlight出现"an i/o error occured while installing a file--"主要是这个文件可能已经损坏 ...

  7. 解决apktool d file.apk出现Error occured while disassembling class以及apktool源码编译

    最近在反编译文件时出现Error occured while disassembling class...,网上一查发现是因为apktool版本太低的问题,而官方给出编译好的最新版本时1.5.2,因此 ...

  8. RuntimeError: Error occured during execution of the processing block! See the log for more info

    Intel Realsense报错:RuntimeError: Error occured during execution of the processing block! See the log ...

  9. rabbitmq 连接报错 An unexpected connection driver error occured(亲测)

    在服务器上安装了一个RabbitMq,并新创建了一个用户授予了管理员角色,登录控制台查看一切正常,兴高采烈启动项目进行连接,结果一盆冷水下来,报如下错误: o.s.a.r.l.SimpleMessag ...

  10. 解决An error occured while deploying the file. This probably means that the app contains ARM...

    产生场景 电脑上安装Genymotion后,使用Genymotion安装安卓app,产生 An error occured while deploying the file. This probabl ...

最新文章

  1. zabbix 监控 elasticsearch
  2. 鼠标悬停事件_Red语言-GUI-事件和参与者
  3. mysql olap 工具_OLAP分析工具之Presto
  4. 线上内核_线上研讨会 |了解图书馆转型动态,建设智慧图书馆
  5. 从知识图谱到事理图谱 | CNCC 2017
  6. 判断某一天是这一年的第多少天
  7. 全球域名商解析新增保有量15强:爱名网落榜
  8. min-width:100%和max-width:100%的区别
  9. IAudioEndpointVolume
  10. java重定向链接页面变小_java web的进来看一下!页面重定向的异常!帮忙看一下!谢谢了!...
  11. 上传自己的项目到github
  12. 【英语学习】【医学】有机化学系统 (1)
  13. 互联网薪资最新出炉,收藏了
  14. cookie代码加时间多久出现一次_恶意代码分析 丨 一个毫无套路的咸鱼诈骗网站...
  15. DJ音乐播放管理软件rekordbox如何从导出设备恢复音乐
  16. 关于python pandas read_csv的理解
  17. python爱好者社区 周琦_这么多年来,我算想明白了!
  18. 什么是软件著作权,怎么申请软件著作权
  19. 添加Android手机 CA系统根证书
  20. MSP430学习笔记(一)--从点灯说起

热门文章

  1. 关于Class mocking requires to have Objenesis library in the classpath异常的处理
  2. MongoDB时间加减操作记录
  3. BufferedReader.readLine() 日文乱码
  4. 小鸟云数据盘如何进行挂载?
  5. matlab初值的非线性最小二乘,Matlab与Mathematica在非线性拟合中的应用比较
  6. 你被套路了吗?预防分析失误的必看指南
  7. 资源网址合集的合集,上千个链接!
  8. 论文解读:手机拍照暗光成像
  9. Kubernetes 如何重塑虚拟机
  10. vue图片时间轴滑动_在vue2.0 中制作时间轴拖动组件