Closed matzegebbe closed 6 years ago
I use zuul with spring boot 1.5.8 and spring cloud Dalston.SR4
Also I have a small spring boot project with Server Sent Events using SseEmitter. This works fine when I directly call the application.
Calling the same application through the zuul proxy is not working. The stream endpoint is opened but I get no response (not killed by a timeout)
Does sse works with zuul?
directly
https://user-images.githubusercontent.com/3482021/33031964-12c80ffc-ce20-11e7-890e-c993bfdba428.png
With zuul
https://user-images.githubusercontent.com/3482021/33032012-384f1996-ce20-11e7-86e7-d13347a06bcf.png
Or is there a way to use a prefilter to just forward all requests? My compromise solution would be a nginx in front of all services :-1:
thanks!
I'll refer you to the comment the maintainer of zuul made to you on a duplicate issue
https://github.com/Netflix/zuul/issues/376#issuecomment-347356803
Zuul 1.x does not support SSE.
I use zuul with spring boot 1.5.8 and spring cloud Dalston.SR4
Also I have a small spring boot project with Server Sent Events using SseEmitter. This works fine when I directly call the application.
Calling the same application through the zuul proxy is not working. The stream endpoint is opened but I get no response (not killed by a timeout)
Does sse works with zuul?
directly
https://user-images.githubusercontent.com/3482021/33031964-12c80ffc-ce20-11e7-890e-c993bfdba428.png
With zuul
https://user-images.githubusercontent.com/3482021/33032012-384f1996-ce20-11e7-86e7-d13347a06bcf.png
Or is there a way to use a prefilter to just forward all requests? My compromise solution would be a nginx in front of all services :-1:
thanks!