diff --git a/CryptoExchange.Net/Sockets/SocketConnection.cs b/CryptoExchange.Net/Sockets/SocketConnection.cs index 7b6014f..502468f 100644 --- a/CryptoExchange.Net/Sockets/SocketConnection.cs +++ b/CryptoExchange.Net/Sockets/SocketConnection.cs @@ -834,7 +834,11 @@ namespace CryptoExchange.Net.Sockets bool anyAuthenticated; lock (_listenersLock) - anyAuthenticated = _listeners.OfType().Any(s => s.Authenticated) || DedicatedRequestConnection; + { + anyAuthenticated = _listeners.OfType().Any(s => s.Authenticated) + || (DedicatedRequestConnection && ApiClient.AuthenticationProvider != null); + } + if (anyAuthenticated) { // If we reconnected a authenticated connection we need to re-authenticate