Netflix / zuul

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

Websocket SockJS and Zuul #506

Closed Amraneze closed 1 week 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.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 week ago

This issue was closed because it has been stalled for 7 days with no activity.