Skip to content

docs(dotnet): add Proxy Server troubleshooting #13438

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Flash0ver
Copy link
Member

@Flash0ver Flash0ver commented Apr 17, 2025

DESCRIBE YOUR PR

Add troubleshooting entry when using Proxy Servers. Impacts all .NET SDKs.
See also getsentry/sentry-dotnet#4118

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Copy link

vercel bot commented Apr 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 1:50pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
changelog ⬜️ Ignored (Inspect) Apr 17, 2025 1:50pm
develop-docs ⬜️ Ignored (Inspect) Apr 17, 2025 1:50pm

Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

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

Thanks for updating, LGTM!

```csharp
(SentryOptions options) =>
{
options.HttpProxy = new WebProxy("read the proxy's address from your Configuration");
Copy link
Collaborator

Choose a reason for hiding this comment

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

When you pass a string parameter to the WebProxy constructor, it's supposed to be the URI or address right? So something like:

new WebProxy("http://contoso")

The sample code above feels a bit misleading... I think either we show some code demonstrating how to read the proxy address from config and then feed that into the WebProxy constructor or wereturn new WebProxy("http://contoso");just demonstrate passing in a URI (maybe with a comment saying people need to replace this with the URI of the proxy server on their network).

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.

3 participants