问题描述
我正在使用 web-proxy 代码使用 spring-boot 进行反向 websocket 代理,它在初始连接期间工作,之后我收到以下错误
java.lang.illegalstateexception: the remote endpoint was in state [text_partial_writing] which is an invalid state for called method,I tried with adding synchronized block but seemed as difficult to make it stable.
我尝试使用 spring-cloud-gateway 但它与 spring-starter-web 不兼容(由于代码中的 spring MVC 依赖,我无法删除 web)
是否可以使用 zuul 实现 web-socket 代理,或者有没有办法在特定 URL 上路由 websocket 请求?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)