Closed bai-xuan closed 3 months ago
I seem to have found a problem. Is this a code problem or a problem on my part?
Sorry, I accidentally ordered the problem that I just accidentally ordered the problem. I have reached this problem again.
Yeah reconnecting inside the onClose can not work.
Describe what you would like to know or do A clear and concise description of what the problem is.
After the connection is disconnected, try the failure caused by the continuous connection
Describe the solution you'd considered A clear and concise description of any solutions you've considered.
This is the log of printing:
This is the code that is reconflowing:
Additional context Add any other context or links about the question here.
I wonder if the code for disconnecting and reconnecting has data that has not been cleaned up. The problem is that 'pong' is not received within the corresponding time, and then it is automatically disconnected. I tried to call 'reconnectBlocking', but received 'java. lang.InterruptedException: null' error