on-internet
← Community

Spring Cloud Config - Cannot clone or checkout repository: ssh://[email protected]//repo.git

Stack Overflow ·

When I try the URL with https it works but I don't want to have the username and password. I am able to perform a git clone with the above url and its working. But when I try it in the code and hit the localhost:8888/default endpoint I get the error: { "error": "Not Found", "message": "Cannot clone or checkout repository: ssh://[email protected]/<user>/config-repo.git", "path": "/licensingservice/default", "status": 404, "timestamp": "2018-04-30T23:32:54.726+0000" } Here is my application.yml entry server: port: 8888 spring: cloud: config: server: git: uri: ssh://[email protected]/<user>/config-repo

Comments

Sign in or sign up to comment and upvote.

No comments yet.