spring-cloud / spring-cloud-gateway

An API Gateway built on Spring Framework and Spring Boot providing routing and more.
http://cloud.spring.io
Apache License 2.0
4.54k stars 3.33k forks source link

Onclose can not be called when proxying websocket #1011

Closed mtcto closed 5 years ago

mtcto commented 5 years ago

Onclose can not be called when proxying websocket.

springboot version is 2.0.0.RELEASE

springcloud version is Finchley.M8

How can I solve this problem?

This question is very urgent!

tony-clarke-amdocs commented 5 years ago

If it was very urgent you might try using a supported release :) Finchley.M8 is a milestone release.

mtcto commented 5 years ago

@tony-clarke-amdocs Which version should I use instead?

spencergibb commented 5 years ago

Greenwich.SR1

mtcto commented 5 years ago

@spencergibb Greenwich.SR1 can solve this problem?

spencergibb commented 5 years ago

I don't know, but it is supported, the pre release milestone you were using, is not

mtcto commented 5 years ago

@spencergibb Is springboot version is 2.0.0.RELEASE compatible with Greenwich.SR1?

spencergibb commented 5 years ago

No 2.1.x. The latest for boot 2.0.x is Finchley.SR3

mtcto commented 5 years ago

Thanks! I upgrade my version!