netflix-zuul

Zuul with web socket

橙三吉。 提交于 2019-12-18 17:00:20
问题 We currently have a direct Websocket connection that goes to a backend webservice from our UI Application. Now when we are trying to do the same through Zuul(ApiGateway) we are not able to connect to backend service We have gone through below issue that does not solve our problem https://github.com/spring-cloud/spring-cloud-netflix/issues/163 but it gives me an alternative in below link https://jmnarloch.wordpress.com/2015/11/11/spring-cloud-sock-js-stomp-zuul-no-websockets/ I am considering

Zuul with web socket

懵懂的女人 提交于 2019-12-18 17:00:03
问题 We currently have a direct Websocket connection that goes to a backend webservice from our UI Application. Now when we are trying to do the same through Zuul(ApiGateway) we are not able to connect to backend service We have gone through below issue that does not solve our problem https://github.com/spring-cloud/spring-cloud-netflix/issues/163 but it gives me an alternative in below link https://jmnarloch.wordpress.com/2015/11/11/spring-cloud-sock-js-stomp-zuul-no-websockets/ I am considering

Zuul/Ribbon/Hystrix not retrying on different instance

别来无恙 提交于 2019-12-18 15:50:19
问题 Background I'm using Spring cloud Brixton.RC2, with Zuul and Eureka. I have one gateway service with @EnableZuulProxy and a book-service with a status method. Via configuration I can emulate work on the status method by sleeping a defined amount of time. The Zuul route is simple zuul.routes.foos.path=/foos/** zuul.routes.foos.serviceId=reservation-service I run two instances of the book-service . When I set the sleeping time below the Hystrix timeout threshold (1000ms) I can see requests

How to make Server sent events (SSE) work trough Zuul Proxy spring-boot 2.1.1

那年仲夏 提交于 2019-12-18 09:14:14
问题 I have some issues getting SSE working trough my zuul reverse proxy My setup: Spring boot version: 2.1.1.RELEASE Spring cloud dependencies: Greenwich.RC1 Angular-cli: Angular 7 Kotlin: 1.3.11 os: Linux I have a small rest service that uses SSE @SpringBootApplication @RestController @CrossOrigin("http://localhost:19195") class RestApplication { private final val processor = DirectProcessor.create<Int>().serialize() private final val sink = processor.sink() private final val counter =

Netflix Zuul CORS

和自甴很熟 提交于 2019-12-13 20:00:40
问题 Hello all spring boot / cloud / Netflix Zuul experts ! I am running a microservice environment using the Netflix OSS components and Spring Boot using eureka and Zuul for service discovery and routing. Multiple micro services are deployed on multiple VPS via docker. I am running an Angular JS client which accesses these microservices via a single endpoint using Zuul routing. I am using yeoman hottowel for the angular scaffolding for the rapid development that this enables, however I am hitting

spring security client_credentials grant_type - support for refresh token

怎甘沉沦 提交于 2019-12-13 12:45:00
问题 Does client_credentials grant type support a refresh token scenario? How should access_token expiry be handled when using client_credentials grant type? I have an authorization service and secured services behind a proxy service (Zuul with EnableOAuth2Sso ) which acts as a gateway for all requests coming from client application. Here is the flow I have: A proxy service (zuul) that accepts requests (rest api) from client application Proxy service invokes Authorization Service api by posting

In Zuul gateway,How to modify the service path in custom filter?

余生长醉 提交于 2019-12-13 03:39:16
问题 I have implemented a zuul gateway service for the communication between some micro services that i have wrote. I have a specific scenario like i want to change the service path in one of my custom filter and redirected to some other service. Is this possible with the zuul gateway?. I have tried putting "requestURI" parameter with the updated uri to the request context in my route filter but that didn't worked out well Please help me out guys thanks in advance 回答1: yes, you can. for that you

How to exclude or ignore special paths or routes from zuul routing

吃可爱长大的小学妹 提交于 2019-12-12 10:44:33
问题 Is it possible to exclude paths or matchers from the Zuul routing? The goal is that All requests to /contracts/** are routed to contract.example.com All requests to /audit/** are routed to audit.example.com All requests to /heartbeat/** or /sso/** are served from zuul directly. All other requests ( /** ) are routed to html.example.com I have configuration like this: zuul: routes: contract: path: /contracts/** url: http://contracts.example.com:8080/api audit: path: /audits/** url: http://audit

Hystrix Dashboard with Turbine issue

谁说我不能喝 提交于 2019-12-12 05:27:51
问题 I have multiple service that are mapped thru zuul so my turbine project looks for hystrix.stream from the zuul project. I think i have setup everyting right because I can see the hits getting updated properly. But the below section for Thread Pools keeps on loading what am i missing here and whats the use of it, couldnot find anything that can help me to understand it actual use.Here is the screenshot of my dahsboard. Hystrix Dashboard Image Let me know if more info is needed for the same. 来源

How can I get specific diagnostic information on an IP address from Zuul?

别说谁变了你拦得住时间么 提交于 2019-12-12 04:54:34
问题 I have Zuul and Eureka running, with a bunch of smaller services. Using Eureka, I can see all of the services and their associated host/IP address. Usually, I can boot up multiple instances of another service and Eureka will pick them up for Zuul to route to. I'm currently having an issue where I have three instances of a service registered in Eureka, but Zuul only routes to one of them. I don't know where to go to get diagnostic information from Zuul to understand why it isn't routing to the