Skip to content

Conversation

@ldennington
Copy link
Contributor

Currently, failure to access http://example.com causes failure of the Networking Diagnostic portion of the diagnose command. To improve the experience for users who are unable to access http://example.com, this change:

  1. Adds a fallback URI - if accessing http://example.com throws an exception, we now try http://httpforever.com.
  2. Prints a warning when either the primary or both the primary and fallback uris throw an exception (instead of failing the Networking Diagnostic).

Fixes #1215

@ldennington ldennington requested a review from mjcheetham July 17, 2023 16:24
@ldennington ldennington self-assigned this Jul 17, 2023
Copy link
Contributor

@mjcheetham mjcheetham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

Currently, failure to access http://example.com causes failure of the
Networking Diagnostic portion of the diagnose command. To improve the
experience for users who are unable to access http://example.com, this
change:

1. Adds a fallback URI - if accessing http://example.com throws an
exception, we now try http://httpforever.com.
2. Prints a warning when either the primary or both the primary and
fallback uris throw an exception (instead of failing the Networking
Diagnostic).
@ldennington ldennington force-pushed the diagnose-http-fallback branch from 303996a to 5afa56b Compare July 17, 2023 17:46
@ldennington ldennington merged commit 6904af7 into git-ecosystem:main Jul 17, 2023
@ldennington ldennington mentioned this pull request Aug 1, 2023
ldennington added a commit that referenced this pull request Aug 1, 2023
**Changes since 2.2.2:**

- Fix a GCM/Git Trace2 file locking issue
  - Issue: #1323 
  - PR: #1340
- Remove symlinks to `git-credential-manager-core` exe
  - Issue: #1322
  - PR: #1327 
- Add fallback http uri to `diagnose` command
  - Issue: #1215
  - PR: #1339
- Workaround MSAL tenant issue with silent auth
  - Issue: #1297
  - PR: #1321
@ldennington ldennington deleted the diagnose-http-fallback branch August 19, 2023 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GCM diagnose partially fails with System.Net.Http.HttpRequestException

2 participants