Visual Studio 2019 unable to bypass proxy

tariq kipkemei 201 Reputation points
2020-10-19T09:09:06.977+00:00

Even though I have disable proxy:

33237-image.png

Somehow visual studio is still trying to access it: How do I disable this?

"Pushing master
Error encountered while pushing to the remote repository: Git failed with a fatal error.
unable to access 'https://dev.azure.com/azureplay-projects/AzurePlayWebApplication/_git/AzurePlayWebApplication/': Failed to connect to 172.30.100.1 port 8080: Timed out
Pushing to https://dev.azure.com/azureplay-projects/AzurePlayWebApplication/_git/AzurePlayWebApplication"

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,593 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
938 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
961 questions
0 comments No comments
{count} votes

Accepted answer
  1. tariq kipkemei 201 Reputation points
    2020-10-21T10:18:58.293+00:00

    Thanks , @Anna Xiu-MSFT your solution worked on GIT bash.

    But on VS2019 I had to add these line on 'gitconfig' file:
    Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\etc

    [http]
    sslVerify = false
    proxy =
    [https]
    sslVerify = false
    proxy =


1 additional answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,551 Reputation points Microsoft Vendor
    2020-10-20T03:38:50.91+00:00

    Hi @tariqkipkemei,

    Please run the following commands to disable the proxy:

    git config --global --unset http.proxy
    git config --global --unset https.proxy

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Sincerely,
    Anna

    1 person found this answer helpful.
    0 comments No comments