Closed Aravinth-Earth closed 10 months ago
I am receiving the same error after updating my PAT recently, but on Windows 10.
I am receiving the same error after updating my PAT recently, but on Windows 10.
Interesting!, By any chance is it the same/similar list of apps, you have issue with ?
My currently stuck apps are:
I assume it has to do with the Github download links.
it seems so !
Also is there an easier way in scoop to get detailed error info of the failed install ? rather than just the one-liner !
Updating 'bitwarden' (2023.9.3 -> 2023.10.1) Downloading new version OperationStopped: C:\Users\aravi\scoop\apps\scoop\current\lib\install.ps1:111 Line | 111 | throw $e | ~~~~~~~~ | Response status code does not indicate success: 401 (Unauthorized).
Tried to re-install one of the apps with update issue, But the clean install also throws an error as Response status code does not indicate success: 401 (Unauthorized).
The full error message,
PS C:\Windows\System32> scoop install bitwarden
Installing 'bitwarden' (2023.10.1) [64bit] from extras bucket
Response status code does not indicate success: 401 (Unauthorized).
URL https://github.com/bitwarden/clients/releases/download/desktop-v2023.10.1/Bitwarden-Portable-2023.10.1.exe is not valid
But when hitting that download URL directly from the browser tab ( in both authorized or UN-authorized way), able to download the exe file.
So, Is the actual error, is it something to do with scoop way of downloading the files ?
@Zottelchen - found any workaround yet ?
@Aravinth-Earth I just deleted the previous token and generated a new one on GitHub. Then I explicitly deleted the token saved by scoop (scoop config rm gh_token
) and set the new one (scoop config gh_token <token>
). Seems to work for now.
Cool, It' works for me as well..
Maybe a temporary issue with token issuing on GitHubs part. Could also explain why the issue isn't more widespread🤔
True, Feels like a glitch in Github side & nothing to do with scoop, Hence closing this issue
Closing this issue
Bug Report
Current Behavior
I have been using my own GitHub PAT, which got expired some time back, then configured with new token, with that I am unable to update few apps ( it's a static list, tried with different PAT token {which has fine grained access config to access all public GitHub repositories}, But works for the rest without any issue
Expected Behavior
All apps should get updated, without any error
Additional context/output
the power shell output
Possible Solution
No Clue, But seems some config related problem (may be on pat token creation ?)?
System details
Windows version: 11
OS architecture: 64bit
PowerShell version: 7.3.9
Additional software: Skipping the optional value
Scoop Configuration