Skip to content

it looks like dart pub is not working behind a corporate proxy with authentication #52239

@insinfo

Description

@insinfo

it seems that dart pub is not working behind a corporate proxy, I configured a Windows 10 PC with corporate Proxy with authentication and installed Chocolatey using the proxy through an environment variable and Chocolatey worked correctly including installing dart sdk 2.18 correctly but when I went to use dart pub it didn't work

Captura de tela 2023-05-02 101218

image

PS C:\tiff_to_pdf-main\tiff_to_pdf-main> dart pub get
Resolving dependencies...
Proxy failed to establish tunnel (407 Proxy Authentication Required)
PS C:\tiff_to_pdf-main\tiff_to_pdf-main> dart --version
Dart SDK version: 2.18.0 (stable) (Fri Aug 26 10:22:54 2022 +0000) on "windows_x64"

Captura de tela 2023-05-02 101513

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.dart-cli-pubIssues related to the 'dart pub' tool

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions