You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
reconnectBlocking blocks the callback all the time #1456
Are you calling reconnectBlocking from the onClose callback? This will not work, since you shouldn't do blocking tasks from callbacks. Try using a separate thread instead.
Are you calling reconnectBlocking from the onClose callback? This will not work, since you shouldn't do blocking tasks from callbacks. Try using a separate thread instead.
I enable a single-thread call reconnectBlocking in the onClose callback, and then the whole thread is blocked. It is recommended to add a timeout setting in the WebSocketClient#reconnectBlocking method.
Activity
PhilipRoman commentedon Feb 12, 2025
Are you calling reconnectBlocking from the onClose callback? This will not work, since you shouldn't do blocking tasks from callbacks. Try using a separate thread instead.
Adiudiu commentedon Feb 13, 2025
I enable a single-thread call reconnectBlocking in the onClose callback, and then the whole thread is blocked. It is recommended to add a timeout setting in the WebSocketClient#reconnectBlocking method.