Skip to content

Add default proxy credentials when connecting to GitHub - #2507

Merged
matthid merged 2 commits into
fsprojects:release/nextfrom
csmager:github-proxy
May 4, 2020
Merged

matthid merged 2 commits into
fsprojects:release/nextfrom
csmager:github-proxy

Conversation

@csmager

@csmager csmager commented Apr 29, 2020

Copy link
Copy Markdown
Contributor

Description

Primarily, this adds the default credentials as the default proxy credentials when connecting to GitHub. This is per dotnet/runtime#25745 (comment). I've tested this in our environment (where this had previously failed), and the issue is resolved.

Additionally, the code had a workaround for a missing Octokit hook to increase the timeout on uploading release assets. This has since been added to Octokit in octokit/octokit.net#1693, so I've replaced the workaround with code to make use of this instead.

Fixes #2505

csmager added 2 commits April 29, 2020 13:27
The issue referred in the code octokit/octokit.net#963
has since been fixed.

The timeout can be set via a method on the client, and per the last
comment octokit/octokit.net#963 (comment)
this needs to be set on the release upload request as well. If not set,
the default per-request timeout of 100 seconds is configured.
@csmager

csmager commented Apr 29, 2020 •

Copy link
Copy Markdown
Contributor Author

Build fails because although fake will install the dotnet SDK specified in global.json, you can't do dotnet tool restore to download fake unless it's already present - and it seems 3.1.100 is no longer installed on AppVeyor. A bit of a chicken and egg situation!

@matthid

matthid commented May 4, 2020

Copy link
Copy Markdown
Member

Thanks, looks reasonable

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.

GitHub connection doesn't work behind authenticated proxy

2 participants