Scoop icon indicating copy to clipboard operation
Scoop copied to clipboard

[Bug] Authentication failed because the remote party has closed the transport stream.

Open xiaoxstz opened this issue 4 months ago • 0 comments

Bug Report

Current Behavior

I came across this error when I update any package. Such as, vscode and oh-my-posh

For example, the output of the command scoop update vscode is shown below.

(base) PS C:\Users\tanzi> scoop update vscode
Updating one outdated app:
Updating 'vscode' (1.94.0 -> 1.94.2)
Downloading new version
Authentication failed because the remote party has closed the transport stream.
At C:\Users\tanzi\scoop\apps\scoop\current\lib\install.ps1:115 char:9
+         throw $e
+         ~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], IOException
    + FullyQualifiedErrorId : Authentication failed because the remote party has closed the transport stream.

Expected Behavior

Download the package and update it

Additional context/output

Possible Solution

System details

Windows version: 10

OS architecture: 64bit

PowerShell version: [output of "$($PSVersionTable.PSVersion)"]

(base) PS C:\Users\tanzi> $($PSVersionTable.PSVersion)

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      19041  4957

Additional software: [(optional) e.g. ConEmu, Git]

Scoop Configuration

//# Your configuration here
{
  "last_update": "2024-10-11T16:42:25.2438842+08:00",
  "aria2-enabled": false,
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop",
  "scoop_branch": "master"
}

xiaoxstz avatar Oct 11 '24 09:10 xiaoxstz