Comments (3)
Turns out that adding CredentialProvider.VSS.exe
to our build script had unintended consequences.
I changed our build script to copy the CredentialProvider.VSS.exe
to the %LocalAppData%\NuGet\CredentialProviders
directory which is the first directory Paket looks in for credentialing providers. In an AWS environment that provider doesn’t work because you need an access token to authenticate to VSTS. Because that credentialing provider was the first one found, Paket would hang trying to authenticate itself. Once that provider was removed, then Paket restore was able to find the credentialing provider installed by the “Setup Paket Credential Manager” task and everything works like it should.
from vsts-fsharp.
Thanks a lot for this analysis, does that mean the first provider was trying to get interactive input from the user? Maybe we can improve that scenario by printing a warning in paket after a while when the credentials provider doesn't exit?
from vsts-fsharp.
Yes, I do think that is what happens. I remember during my testing running the build manually on one of the build boxes and I got a login popup. After putting in my credentials that build box never had the authentication problem again but the other build boxes did.
from vsts-fsharp.
Related Issues (16)
- Unable to find build step in VSTS HOT 5
- Get latest changes from Paket.TeamBuildCredentials
- Support for custom FAKE path. HOT 1
- Update GitHub repository and add link to marketplace HOT 3
- Fake 5 runner not finding script if it is not in root folder HOT 12
- Paket restore failing with TF400813 HOT 5
- (re-) implement Paket Task HOT 4
- VSTS Hosted VS2017 Agent can't find fsi.exe HOT 4
- Run F# script does not support F# 4.5 HOT 9
- F# 4.1 support HOT 9
- Provide path to FAKE install location as output variable
- FAKE 5 Runner task doesn't work on Linux build agent HOT 10
- Upgrade tasks to use Powershell. HOT 2
- Tasks use outdated node HOT 4
- Release of the new Tasks is broken HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsts-fsharp.