You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario: I'm downloading an individual file from a private repo using a known-good access token. I'm running paket install. This fails with "Credentials from authentication store for mytok are invalid."
Observation in the debugger:
Paket is requesting a paket.dependencies file from the source repo (the repo from which I'm fetching a file). This file does not exist.
I did not request paket.dependencies. Paket seems to think it should be there in the source repo.
Upon trying to retrieve the non-existent file checkCredentials fails ("The remote server returned an error: (404) Not Found."; this exception is swallowed), causing the error message above in GetAuthenticationForUrl. So it fails while trying to check dependencies.
Please verify that Paket should not require a paket.dependencies file in the source repo--the repo from which I'm fetching a file. This is undesirable behavior.
Let me know if you have questions. Here's the call stack when the exception is thrown; line numbers may be slightly off as I've added a little code for easier debugging:
Paket.Core.dll!Paket.ConfigFile.checkCredentials(string url = "https://raw.githubusercontent.com/SoundMetrics/arepo/longpath/command-module/paket.dependencies", Microsoft.FSharp.Core.FSharpOption<Paket.Utils.Auth> cred = Some({Paket.Utils.Auth.Token})) Line 126 F#
Paket.Core.dll!Paket.ConfigFile.GetAuthenticationForUrl(string source = "mytok", string url = "https://raw.githubusercontent.com/SoundMetrics/arepo/longpath/paket.dependencies") Line 157 F#
[email protected](string key = "mytok") Line 81 F#
Paket.Core.dll!Paket.RemoteDownload.downloadDependenciesFile@65<Paket.DependenciesFile>.Invoke(Microsoft.FSharp.Core.Unit unitVar = null) Line 79 F#
The text was updated successfully, but these errors were encountered:
Scenario: I'm downloading an individual file from a private repo using a known-good access token. I'm running
paket install
. This fails with "Credentials from authentication store for mytok are invalid."Observation in the debugger:
paket.dependencies
file from the source repo (the repo from which I'm fetching a file). This file does not exist.paket.dependencies
. Paket seems to think it should be there in the source repo.checkCredentials
fails ("The remote server returned an error: (404) Not Found."; this exception is swallowed), causing the error message above inGetAuthenticationForUrl
. So it fails while trying to check dependencies.Please verify that Paket should not require a
paket.dependencies
file in the source repo--the repo from which I'm fetching a file. This is undesirable behavior.Let me know if you have questions. Here's the call stack when the exception is thrown; line numbers may be slightly off as I've added a little code for easier debugging:
The text was updated successfully, but these errors were encountered: