Questions tagged [netflix-zuul]

Zuul is an edge service that provides dynamic routing, monitoring, resiliency, security, and more.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Zuul Response filter getting blocked for sometime intermittently

We are using zuul 2.1.6 without eureka and we got the response back form down stream API but it's getting blocked for some reason in the response/outbound filter sometimes (not all the time). It's ...
karthik's user avatar
0 votes
0 answers
36 views

Simulate latency and timeout between two microservices

Let's say you have microservice A that call's microservice B APIs. I want to simulate latency and timeouts of B's APIs without touching the code of either A or B. What I need is basically a third ...
cloooze's user avatar
  • 163
0 votes
0 answers
15 views

netflix zuul1, a strange phenomenon of uploading large files with multipart file?

My project uses zuul1, has a file upload module, and the client call interface, as others have reported, is http://zuul-proxy/zuul/upload-module/file However, I found that when the file is large, the ...
lightling's user avatar
0 votes
0 answers
35 views

Zuul Proxy Routing to WebSocket service

I am using Eureka and Zuul Proxy services for load balancing and routing the application traffic to my microservices. I have one WebSocket server which is in Node.js. The service got successfully ...
Prakash's user avatar
  • 593
0 votes
0 answers
741 views

Zuul compatability with Spring boot 3

I migrated from spring boot 2.7 to 3.1.1, before I have redirection with Zuul and it can't find bean for RouteLocator and ZuulController: import org.springframework.beans.BeansException; import org....
Yauheni Vozny's user avatar
0 votes
0 answers
18 views

Zuul settings in the application.yml doesn't work, just showing 404

The Enreka center is ok (https://i.stack.imgur.com/sITP9.png). And I can invoke the api directly (https://i.stack.imgur.com/dpVVd.png). But if I invoke by the gateway,it shows error (https://i....
yuankaiyang2023's user avatar
1 vote
0 answers
313 views

Is it possible to replace Spring Cloud Netflix Zuul with Spring Cloud Gateway in an Spring MVC App?

I am working on a Spring Boot App, that uses Spring Cloud Zuul. Zuul is used for routing and for filters of the types PRE, POST, ROUTE and ERROR. Because of the EOL of Zuul I want to switch to another ...
marcel.s's user avatar
0 votes
0 answers
41 views

Is "zuul.sensitiveHeaders: true" valid and useful for Spring Boot Zuul?

Refactoring configs, and I see a list of apps like this: zuul: some-service: path: /someservice/** serviceId: some-service stripPrefix: false sensitiveHeaders: true Every app has ...
Paul Hodges's user avatar
  • 14.1k
0 votes
0 answers
46 views

Why this public endpoints returns 404?

I've been trying to figure this out for days and getting really crazy. I have two microservices in spring cloud, one working as a gateway with zuul, running at localhost:8090, and the other runs at ...
bruno's user avatar
  • 1
0 votes
1 answer
124 views

How to get request and response as string after RequestDispatcher forward

In my Springboot application, I use RequestDispatcher forward to send the request and response to a remote service. Now I need to get that response and request as string to log it into database. The ...
AdvMaple's user avatar
  • 109
0 votes
0 answers
63 views

Could not fetch spring.config.import host when its proxy in Zuul Gateway

Explain Issue Hello, I have a created a gateway for reverse proxy with zuul on port 8080 I have the service registry that run on port 8090, and that contain the keycloak config for every other ...
TPL's user avatar
  • 9
0 votes
0 answers
67 views

Spring Cloud Gateway proxy could not embedded routes in link element like Zuul Proxy?

I tried to create a reverse proxy to a service, I am testing with Spring Cloud Gateway and Zuul, and I saw that Zuul could change also the link inside page. The reverse proxy create a route from ...
TPL's user avatar
  • 9
0 votes
0 answers
203 views

o.s.c.n.z.f.post.SendResponseFilter : Error while sending response to client: java.io.IOException: Broken pipe

Most of our requests are processed successfully on the Zuul API Gateway, but sometimes we are facing this issue. 2023-03-09 16:05:15.565 WARN 1 --- [nio-80-exec-647] o.s.c.n.z.f.post....
ayamshifo's user avatar
0 votes
0 answers
212 views

netflix-zuul-api-gateway-server api is not running

I am currently building an API gateway for a new microservices system, using the Spring Netflix Zuul library. So far my gateway contains PRE and POST filters that intercept the requests and perform ...
Rekha's user avatar
  • 37
0 votes
0 answers
22 views

the property ribbon.PoolMaxThreads doesn't work?

1.what does ribbon.PoolMaxThreads mean? it means ribbon has its own thread pools? 2.whether ribbon.PoolMaxThreads configure hystrix's thread pool? I use zuul1 as the API Gateway of my application, and ...
littleJass's user avatar
0 votes
1 answer
27 views

zuul + ribbon set MaxAutoRetries : 3, but repeted 8 times why it happens?

My yml: spring: application: name: test-gateway cloud: loadbalancer: retry: enabled: true zuul: retryable: true set-content-length: true routes: test: path: /...
Dovile Barkauskaite's user avatar
0 votes
0 answers
30 views

Possible to use Spring Cloud with my current Gateway Component

we have microservice based multiple components where graphQL requests passes through gateway component. graphQL requests are coming from UI which is in angular. gateway component is having dependency ...
Gopal Lal's user avatar
0 votes
0 answers
64 views

migration from spring zuul to spring cloud

we are migrating from spring zull to spring cloud. for zuul, we had simple routing configuration: zuul: host: connection-request-timeout-millis: 60000 socket-timeout-millis: 60000 ...
Gopal Lal's user avatar
1 vote
0 answers
30 views

How can use Zuul gateway with Spring boot 3? [duplicate]

I am trying create a Zuul Api gateway for my microservices. It also has the eureka disovery client. I am using Spring Boot 3 and Zuul 1.0 starter. Here is the application Zuul Gateway class. ...
Muhammad Ahmed's user avatar
0 votes
0 answers
29 views

zuul routing Strips request payload and attachment (SOAP - multipart\related) before sending to app backend

Our apps running on springBootVersion "2.3.1.RELEASE" . As per the framework requests hit zuul and are the routed to appropriate app backends. Apps backends are actually mule services. For ...
Abhishek's user avatar
0 votes
0 answers
124 views

zuul api gateway cannot set socket timeout

I'm setting up a zuul api gateway, but cannot set socket timeout This is my application.properies file: server.port = 8888 #server.port = 443 #server.port = 80 spring.application.name = fmmm-gateway #...
Pham X. Bach's user avatar
  • 5,317
1 vote
0 answers
148 views

after using Zuul as API Gateway, the downloaded image is being chunked and damaged and cannot be displayed. without Zuul, everything is fine. why?

I have microservice which is written with Spring Boot and I use Zuul as API Gateway. in this microservice, I'm calling an external service which receive and get an image. when I call that external ...
Mehdi's user avatar
  • 93
0 votes
0 answers
69 views

Getting 503 Exception when sending large file as body in post request : Cannot retry request with a non-repeatable request entity

I am using microservice architecture, when trying to upload a larger file(<100 MB) in a post-request body, post call is failing. There are 2 scenarios in my case: Scenerio I : When I am going via ...
Aman Mishra's user avatar
5 votes
3 answers
3k views

bean of type 'com.netflix.discovery.AbstractDiscoveryClientOptionalArgs' could not be found

I am trying create a Zuul Api gateway for my microservices. It also has the eureka disovery client. Here is the application class ZuulServerApplication.java package com.ftr.zuul; import org....
Sushant's user avatar
  • 123
0 votes
0 answers
73 views

Ratelimit Specific path using Spring gateway

I was trying to migrate my project to the Latest spring gateway, previously I was using zuul rate limiter which has the flexibility to the specific exact path to rate limit ex "/api/xxx/yyy" ...
Muhammed Fawzy's user avatar
0 votes
1 answer
407 views

java.lang.NumberFormatException: For input string: "80,80" or "443,443" in Swagger

We are using Spring Boot, Swagger and Zuul API gateway in our application and when we try to access swagger documentation. We get java.lang.NumberFormatException: For input string: "80,80" ...
Ziaullhaq Savanur's user avatar
0 votes
0 answers
114 views

Zuul routes redirect issue in chrome browser

I have deployed one application on GKE GCP Front end is in Angular and backend is spring boot with version 2.6.7 and spring clound version 2021.0.5. The flows goes from front end to backend and in the ...
Sanny Pathak's user avatar
0 votes
1 answer
949 views

RedirectingEurekaHttpClient Request execution error

I have a gateway application with customized loadbalancing rule, and here is the code following spring cloud official doc: @RibbonClients(defaultConfiguration = CustomizedRibbonConfig.class) public ...
william's user avatar
  • 285
0 votes
0 answers
105 views

Spring Cloud - ZUUL API Gateway - uploading and downloading a csv (or any format) file?

Using Spring Boot, I have tested the method described here to download a csv file by hitting the backend api. Here the flow is simple: browser <--request/response--> backend api and the response ...
samshers's user avatar
  • 3,119
0 votes
2 answers
242 views

I am running zuul in a docker container, but I cant connect to it via postman on my local host (windows 10)

I have 3 services zuul, eureka, and a rest service. Running the code locally via springboot works and I can use the url http://localhost:8080/account/bank/account/ But when I dockerise it The eurka ...
Tony Cavanagh's user avatar
1 vote
0 answers
564 views

Can't start my spring boot application with Zuul Gateway [duplicate]

I'm trying to secure my spring boot applications using Zuul, the problem is when I try to start the application I get this exception: org.springframework.beans.factory.BeanCreationException: Error ...
Alex's user avatar
  • 99
0 votes
1 answer
120 views

forward Authorization token to routed microservices with zuul

I've been using Zuul to make an API Gateway which holds most of the SecurityConfig, and made a Jwt based Authenticaiton, however I don't know why, whenever I request one of the routes to my ...
TensaDev's user avatar
1 vote
0 answers
212 views

Spring cloud gateway backend uri modification

Can someone please explain how spring-cloud-gateway routes the request ? Say I have following code public RouteLocator routeLocator(RouteLocatorBuilder builder) { return builder.routes() ...
Robert Don's user avatar
1 vote
0 answers
193 views

adding request id in request using MDC in zuul gateway service doesn't reflect client micro service application

I have written a Pre filter in zuul gateway @Override public Object run() throws ZuulException { String uniqueID = UUID.randomUUID().toString(); MDC.put("request_id", ...
user1379280's user avatar
0 votes
1 answer
216 views

Zuul Gateway No redirecting to client server

I have configured a zuul server with a single client application. But when I hit the URL with Zuul Gateway , it does not redirect to the client service and gives the error 2022-08-21 19:25:39.120+0200 ...
user1379280's user avatar
1 vote
0 answers
132 views

antMatchers hasRole throwing 403 access denied using spring cloud gateway

Initially I'm using zuul for gateway operations, now migrated to spring cloud gateway. After migrating getting access denied error with the below code. @Bean public SecurityWebFilterChain ...
Ananya's user avatar
  • 11
1 vote
0 answers
146 views

Declaring Routes in Code Using Only Zuul 2

I'm trying to declare routes in a Zuul 2 example project using code rather than a properties file. The example project was taken from here. I'd like to avoid using any Eureka, Spring, or Spring Cloud ...
kanai's user avatar
  • 33
5 votes
1 answer
7k views

Does Zuul have any support issues in SpringBoot 2.7 and Java 11?

I am trying to implement Zuul in my SpringBoot Gradle project. I am facing some issues while running the application and I have tried almost all the ways that I could find online. Does anyone know ...
TJ32's user avatar
  • 341
0 votes
1 answer
111 views

Zuul Redirect Issue in Docker container

I am using Grail application and couple of microservices are written which is accessible by grails application. Request comes from grails to Gateway which is on 4000 port. Now based on request gateway ...
Kushwaha's user avatar
  • 860
1 vote
0 answers
207 views

zuul as Api Gateway with Authentication vs as Load balancer for internal service communication

I am confused with Zuul role in Microservice architecture. zuul acts as a proxy and loadbalancer for internal communication between the services where in lets say no authentication is required. zuul ...
CodeMonger's user avatar
2 votes
0 answers
506 views

Passing sensitive headers in Spring Cloud Gateway

I am migrating my application from Zuul to Spring Cloud Gateway. How can I replace the sensitive header part of below code in Spring Cloud Gateway? zuul: routes: tableau: path:/test/** ...
Anjan Krishna's user avatar
0 votes
0 answers
989 views

Spring Cloud - Cannot Register Service with eureka server locally

I'm trying to configure the Eureka port with Spring Cloud with a eureka server, and config server (which is also a eureka client). Eureka service is successfully deployed and got a ip address. My Goal ...
Dhushy_A's user avatar
2 votes
1 answer
978 views

Spring boot and Zuul proxy DeferringLoadBalancerExchangeFilterFunction Error

I have a simple app that uses Netflix Zuul as an API gateway I added the Zuul dependency in the pom.xml file as follows: <dependency> <groupId>org.springframework.cloud</groupId> ...
HibaHasan's user avatar
  • 1,323
0 votes
1 answer
139 views

how to set private endpoint in zuul

how to set private endpoint in zuul? env: spring, zuul i'm using zuul: routes: abc: path: /abc/** sensitive-headers: url: http://abc.api.develop.com in abc service, i want ...
blahblah's user avatar
  • 169
1 vote
0 answers
389 views

Cannot find solution for ,,Load balancer does not have available server for client" with Zuul

For a couple of days I am trying to resolve the ,,Forwarding error - Load balancer does not have available server for client" error. Even though this is a common problem with configuring Eureka ...
77jt777's user avatar
  • 69
0 votes
1 answer
2k views

Spring Boot Microservice zuul Forwarding error

I have created micro service using spring boot and implment zuul proxy so when I call url via zuul proxy and somehow my service is down I get com.netflix.zuul.exception.ZuulException com.netflix.zuul....
mohamed amine salah's user avatar
1 vote
0 answers
190 views

Is it possible to delay the launch of a spring-boot application until a Eureka registration has completed?

I have a spring-boot backend architecture which consists of a Eureka discovery service, a Zuul Gateway + various other microservices which register with the discovery service and communicate via the ...
nick_j_white's user avatar
2 votes
1 answer
812 views

Zuul unable to route to application registered in eureka server

I am developing a Microservice were I am trying to use the Zuul proxy to route through the services. But for some reason Zuul unable to route to the app registered in eureka. I have tried increasing ...
Yuvanath's user avatar
  • 127
1 vote
0 answers
179 views

Zuul API Gateway monitoring

Does Zuul have a web application to monitor API's? Since Zuul is an API gateway.Does it has its own UI where we can monitor the API's ?How many requests received for a particular API? What was the ...
Kaushik's user avatar
  • 93
1 vote
0 answers
141 views

Secure Microservices' API endpoints at Zuul Gateway using keycloak

I have Spring boot microservices running behind a Zuul API gateway. And a keycloak server for security. I want to secure(authorize) some of the API endpoints, and a few endpoints will be whitelisted ...
pks's user avatar
  • 31

1
2 3 4 5
25