Mobile Websocket failed to use connection and reported ProtocolException error

the development of mobile app during the recent winter vacation requires Websocket to receive messages pushed in the background
I use RxWebSocket to connect

there"s nothing wrong with writing a small demo with ws://echo.websocket.org
, but replacing it with the url provided by the background occurs the following situation

Excuse me, what is the problem with this?

May.09,2022

Sorry, it was found that url made a mistake

Menu