diff --git a/js/services/rpc/rpc.js b/js/services/rpc/rpc.js index 851b0a9..1b0bc2a 100644 --- a/js/services/rpc/rpc.js +++ b/js/services/rpc/rpc.js @@ -122,6 +122,7 @@ function(syscall, globalTimeout, alerts, utils, rootScope, uri, authconf, filter }); if (failed) { + needNewConnection = true; alerts.addAlert('Oh Snap! Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings', 'error'); timeout = setTimeout(update, globalTimeout); return;