Получение отказа в доступе при вызове API из одной службы в другую с использованием клиента Feign ⇐ JAVA
Получение отказа в доступе при вызове API из одной службы в другую с использованием клиента Feign
We have two microservices deployed on AWS EKS into same namespace. We are trying to call API of one service into another service.
If we try to call API from POD using curl it is working, If we use Web Client also in code to call the API then also it is working but when we use Feign Client it is not working.
Passing only authorization and content-type headers in all the implementation.
Below is the error: Your system policy has denied access to the requested URL. Transaction ID: dcff724f84f5aca8-00000000eadbc942-0000000065e5d403 For assistance, contact your network support team.
feign.FeignException$Forbidden: [403 Forbidden] during [POST] to [http://test-service:8080/process/7336f6 ... cde05a4eda]
Access Denied
Using spring-boot:3.1.6 spring-cloud-starter-openfeign:4.0.2
I am trying to call one service API from another service which are deployed in same namespace of AWS EKS.
Using web client I am able to successfully call the API but getting 403 while using Feign client. Passed same headers in both the implementation.
Источник: https://stackoverflow.com/questions/781 ... ng-feign-c
We have two microservices deployed on AWS EKS into same namespace. We are trying to call API of one service into another service.
If we try to call API from POD using curl it is working, If we use Web Client also in code to call the API then also it is working but when we use Feign Client it is not working.
Passing only authorization and content-type headers in all the implementation.
Below is the error: Your system policy has denied access to the requested URL. Transaction ID: dcff724f84f5aca8-00000000eadbc942-0000000065e5d403 For assistance, contact your network support team.
feign.FeignException$Forbidden: [403 Forbidden] during [POST] to [http://test-service:8080/process/7336f6 ... cde05a4eda]
Access Denied
Using spring-boot:3.1.6 spring-cloud-starter-openfeign:4.0.2
I am trying to call one service API from another service which are deployed in same namespace of AWS EKS.
Using web client I am able to successfully call the API but getting 403 while using Feign client. Passed same headers in both the implementation.
Источник: https://stackoverflow.com/questions/781 ... ng-feign-c
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение