I have tried two solutions.
1.Restarting regularly
oldClient.closeAllConnections();
ThreadUtil.sleep(5000);
startBinanceWs(); // reconnect
But I got an error: the connection will enter onFailureCallback
2.I want to use the official website's method:
"Combined streams are accessed at /stream?streams=//&listenKey=
must be a valid listenKey when you establish a connection"
But it seems that it doesn't support.
Do you have any good solutions? I'm waiting for your reply online, thank you very much!