Netflix / zuul

Zuul is a gateway service that provides dynamic routing, monitoring, resiliency, security, and more.
Apache License 2.0
13.47k stars 2.37k forks source link

Websocket SockJS and Zuul #506

Open Amraneze opened 6 years ago

Amraneze commented 6 years ago

I'm trying to use websocket with Zuul, but I can't access to it. I'm getting connection lost after some ms. I was looking and I found that I need to increase the time of ribbon ConnectTimeout and ReadTimeout and it was working for some some seconds and after it's stopped. Is there any solution for this ?

I'm using Spring boot 2.0.3.RELEASE with Spring cloud Finchley.RELEASE

Here is my configuration for Zuul:

hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 50000

ribbon:
  eureka:
    enabled: true
  ReadTimeout: 50000
  ConnectTimeout: 3000
  MaxAutoRetries: 0
  MaxAutoRetriesNextServer: 1
  OkToRetryOnAllOperations: false
artgon commented 6 years ago

Please direct your question to the Spring Boot issue tracker.

Amraneze commented 6 years ago

@artgon it's done https://github.com/spring-projects/spring-boot/issues/14280, but can you tell me why ? thank you.

snicoll commented 6 years ago

There is no support for neither Zull nor Ribbon in Spring Boot. This request should probably have been redirected to Spring Cloud Netflix.