Open hendisantika opened 3 years ago
Hi, You need to setup the config server repo. By default it picks up on your local server.
You can check my medium article on this. You can also use GitHub by changing the reference.
On Sat, May 8, 2021 at 11:04 AM Hendi Santika @.***> wrote:
Hi, Nice sample.
Why I alway got this error message when trying to access properties on every services?
Cannot pull from remote https://github.com/hendisantika/microservices-config-server.git, the working tree is not clean.
Do You have any idea?
Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/albeever/microservices-examples/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHVT2EX6MCSDRPVI3NIHREDTMTEQBANCNFSM44MIN55Q .
Hi @albeever , issue has been closed. BTW, I already setup config server repo.
good to know. do suggest to me, if I need to update anything at my end.
thanks lal
On Sat, May 8, 2021 at 1:29 PM Hendi Santika @.***> wrote:
Hi @albeever https://github.com/albeever , issue has been closed. BTW, I already setup config server repo.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/albeever/microservices-examples/issues/1#issuecomment-835190053, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHVT2EV5O5OX26G7W2DBOOTTMTVOHANCNFSM44MIN55Q .
Now I have errors again. As follow: It is said:
https://gitlab.com/microservice-samples/micro-services-spring-cloud-config/configuration: 422 Unprocessable Entity
2021-05-09 10:08:11.007 WARN 28080 --- [nio-8888-exec-1] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.cloud.config.server.environment.NoSuchRepositoryException: Cannot clone or checkout repository: https://gitlab.com/microservice-samples/micro-services-spring-cloud-config/configuration]
But, When I change config from spring.cloud.config.server.git.uri=https://gitlab.com/microservice-samples/micro-services-spring-cloud-config/configuration
to spring.cloud.config.server.git.uri=file://${user.home}/Desktop/tes/configuration
it works.
Then If I change properties file to yml it error again.
Any suggestion?
Thanks
Hi, Nice sample.
Why I alway got this error message when trying to access properties on every services?
Do You have any idea?
Thanks