Azure / Azure/cosmos-explorer

Invalid auth token reported as firewall issue

Open
#204 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
131
Forks
67
Avg merge
3d 13h
Merged PRs (30d)
10

Description

Sometimes user will see the following error:
![image](https://user-images.githubusercontent.com/25827057/93243971-d6fa1200-f73d-11ea-8162-fd1a163752ec.png)

But the underlying exception is:
"Microsoft.Azure.Documents.DocumentClientException: The authorization token is not valid at the current time. Please create another token and retryMicrosoft.Azure.Documents.DocumentClientException: The authorization token is not valid at the current time. Please create another token and retry"

Currently any permission error is bucketed as a firewall issue. In this case, the user to spend time trying to "fix" their firewall or ask CSS why firewall isn't working. The exception should be caught separately.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Locate the error-handling path that buckets permission errors as firewall issues, then inspect how the invalid authorization-token exception is surfaced. Done means this exception is reported separately from firewall errors and the existing behavior remains covered by verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
authentication, database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.