DetailedDescription=$"Please verify your username and password. Also verify if the host running Sonarr isn't blocked from accessing {Name} by WhiteList limitations in the {Name} configuration."
};
}
catch(WebExceptionex)
{
_logger.Error(ex);
if(ex.Status==WebExceptionStatus.ConnectFailure)
{
returnnewNzbDroneValidationFailure("Host","Unable to connect")
{
DetailedDescription="Please verify the hostname and port."
_logger.Debug("Download Station api version information: Min {0} - Max {1}",versionRange.Min(),versionRange.Max());
if(!versionRange.Contains(2))
{
returnnewValidationFailure(string.Empty,$"Download Station API version not supported, should be at least 2. It supports from {versionRange.Min()} to {versionRange.Max()}");
DetailedDescription=$"Please verify your username and password. Also verify if the host running Sonarr isn't blocked from accessing {Name} by WhiteList limitations in the {Name} configuration."
};
}
catch(WebExceptionex)
{
_logger.Error(ex);
if(ex.Status==WebExceptionStatus.ConnectFailure)
{
returnnewNzbDroneValidationFailure("Host","Unable to connect")
{
DetailedDescription="Please verify the hostname and port."
_logger.Debug("Download Station api version information: Min {0} - Max {1}",versionRange.Min(),versionRange.Max());
if(!versionRange.Contains(2))
{
returnnewValidationFailure(string.Empty,$"Download Station API version not supported, should be at least 2. It supports from {versionRange.Min()} to {versionRange.Max()}");