Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added authentication exception as retriable #7132

Draft
wants to merge 4 commits into
base: release/1.4
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ namespace Microsoft.Azure.Devices.Edge.Hub.Core.Routing
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Security.Authentication;
using System.Threading;
using System.Threading.Tasks;
using App.Metrics;
Expand Down Expand Up @@ -70,7 +71,8 @@ internal class CloudMessageProcessor : IProcessor
typeof(IOException),
typeof(IotHubException),
typeof(EdgeHubCloudSDKException),
typeof(UnauthorizedException) // This indicates the SAS token has expired, and will get a new one.
typeof(UnauthorizedException), // This indicates the SAS token has expired, and will get a new one.
typeof(AuthenticationException)
};

readonly CloudEndpoint cloudEndpoint;
Expand Down