An error occurred when springcloud config obtained the remote configuration file
error source code: 2021-11-03 19:51:31.421 warn 6608 – [on (3) – 127.0.0.1]. C.s.e.multiplejgitenvironmentrepository: error occurred cloning to base directory
org.eclipse.jgit.api.errors.TransportException: https://github.com/ClowLAY/spring-cloud-config.git: Cannot open git upload pack
error reason: the project cannot be cloned because the remote GitHub warehouse cannot be connected
solution: modify the configuration file application.properties
#previous code
spring.cloud.config.server.git.uri=https://github.com/ClowLAY/spring-cloud-config.git
#Modified Code
[email protected]:ClowLAY/spring-cloud-config.git
Successfully obtained the remote warehouse configuration file
Note: change the proxy mode from HTTPS to git
remember to change the remote warehouse address to your own remote warehouse address
Read More:
- [Solved] Springcloud Add gateway to Startup Error: Exception encountered during context initialization – cancelling refresh
- SpringCloud: gateway module startup error [How to Solve]
- [Solved] Vite Project jenkins Auto Package Error: failed to load config from ../vite.config.js You installed esbuild on
- [Solved] The version of springcloud must support the current version of springboot, otherwise the startup project will report an error: error starting ApplicationContext
- [Solved] Jenkins-ERROR: Error cloning remote repo ‘origin‘
- Springcloud configuration center client 3355 startup Error: error on get request for“ http://localhost:8761/eureka/apps/ “: Connection
- [Solved] win32diskimager Error: An error occured when attempting to XXX, Error 5: Access is Denied
- How to Solve Clickhouse restart error: Cannot obtain value of path from config file…
- How to Solve QT Error: The build directory needs to be at the same level as the source directory.
- [Solved] Spring cloud config server can’t parse the YML file of the remote warehouse, and it will also report an error
- Database App.config configurate file Error & Solution
- Implement base64_decode in GO language to solve the problem of illegal characters
- VSCode Unable to find custom header file directory: fatal error: no such file or directory
- Encountered internal error running command: Error: Error occured while starting App. Original error:
- [Solved] ROS Error: Could NOT find move_base_msgs
- Error: cannot find module ‘webpack cli/bin/config yargs’‘
- [Solved] MYSQLD: Can‘t create directory ‘/usr/local/mysql/data/’(Errcode:2 -No such file or directory)
- [Solved] MindSpore Error: “ValueError:invalid literal for int()with base10’the’
- Intellij IDEA jetty-jmx.xml Error:Duplicate config file paths found
- [Solved] URIError: Failed to decode param ‘/%3C%=%20BASE_URL%20%3Estatic/index.%3C%=%20VUE_APP_INDEX_CSS_HASH%20%3E.css’