Implementing Config Server and extending it

Implementing Config Server and extending it

SpringDeveloper

7 лет назад

12,140 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Anudeep Madrampalli
Anudeep Madrampalli - 21.01.2020 10:15

When I am starting the spring cloud config server, I am facing the Java heap space error. Is there a solution for this issue?

Ответить
Vivek Baranwal
Vivek Baranwal - 28.05.2017 18:35

I am new to using config server for getting external configuration from Github repository. In my application.yml file of spring boot application I have used below piece of lines and it works fine when I comment JWT authentication part in my application, spring boot application can fetch updated configurations from github repository.

security: basic: enabled: false management: security: enabled: false

My question is what if I don't include above code in my yml file, will it work fine? because when i remove above lines, it throws 401 unauthorized error.

Second thing my spring boot application is secured with JWT authentication, when I enable my JWT authentication with yml file having above piece of code, then on providing valid token also it gives 403 forbidden error.

Someone please guide me how resolve this, I am trying to resolve this from last 1 week but no luck. Thanks in advance.

Ответить