Skip to content
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

[Bug] scoop do not obey proxy configuration #6238

Open
xtellaris opened this issue Dec 2, 2024 · 1 comment
Open

[Bug] scoop do not obey proxy configuration #6238

xtellaris opened this issue Dec 2, 2024 · 1 comment
Labels

Comments

@xtellaris
Copy link

Bug Report

Current Behavior

scoop update follows the former proxy port 7890 after changing it to 17890 by scoop config, and throws connection fails.

I've tried scoop config rm proxy, but it behaved the same.

anyway, thanks for your work about this remarkable package manager! ❤️

Expected Behavior

scoop should obey the proxy configuration set by scoop config.

Additional context/output

Here's output from my terminal:
PS C:\Users\x86ar> scoop update
Updating Scoop...
fatal: unable to access 'https://github.com/ScoopInstaller/Scoop.git/': Failed to connect to 127.0.0.1 port 7890 after
2025 ms: Could not connect to server
    + CategoryInfo          : NotSpecified: (fatal: unable t...nnect to server:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
    + PSComputerName        : localhost

Updating Buckets...
fatal: unable to access 'https://github.com/ScoopInstaller/Main.git/': Failed to connect to 127.0.0.1 port 7890 after 2
021 ms: Could not connect to server
    + CategoryInfo          : NotSpecified: (fatal: unable t...nnect to server:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
    + PSComputerName        : localhost

fatal: unable to access 'https://github.com/ScoopInstaller/Extras/': Failed to connect to 127.0.0.1 port 7890 after 201
8 ms: Could not connect to server
    + CategoryInfo          : NotSpecified: (fatal: unable t...nnect to server:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
    + PSComputerName        : localhost

fatal: unable to access 'https://github.com/ScoopInstaller/Versions/': Failed to connect to 127.0.0.1 port 7890 after 2
023 ms: Could not connect to server
    + CategoryInfo          : NotSpecified: (fatal: unable t...nnect to server:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
    + PSComputerName        : localhost

fatal: unable to access 'https://github.com/matthewjberger/scoop-nerd-fonts/': Failed to connect to 127.0.0.1 port 7890
 after 2022 ms: Could not connect to server
    + CategoryInfo          : NotSpecified: (fatal: unable t...nnect to server:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
    + PSComputerName        : localhost

fatal: unable to access 'https://github.com/ScoopInstaller/Java/': Failed to connect to 127.0.0.1 port 7890 after 2024
ms: Could not connect to server
    + CategoryInfo          : NotSpecified: (fatal: unable t...nnect to server:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
    + PSComputerName        : localhost

Possible Solution

System details

Windows version: 11

OS architecture: 64bit (x86_64)

PowerShell version:

PS C:\Users\x86ar> echo $($PSVersionTable.PSVersion)

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      22621  4391

Additional software: may not related to thirt party applications or buckets.

Scoop Configuration

{
    "last_update":  "2024-11-18T15:32:45.5695132+08:00",
    "gh_token": "mytoken",
    "aria2-enabled":  false,
    "scoop_branch":  "master",
    "scoop_repo":  "https://github.com/ScoopInstaller/Scoop",
    "proxy":  "127.0.0.1:17890"
}
@xtellaris xtellaris added the bug label Dec 2, 2024
@xtellaris xtellaris changed the title [Bug] scoop do not obey proxy configuration [Bug] scoop do not obey proxy configuration Dec 2, 2024
@Super1Windcloud
Copy link

也许你设置了 http_proxy 环境变量

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants