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
{{ message }}
Repository navigation
paket.exe, paket.bootstrapper.exe don't work behind proxy #226
But it's inconvenient since it cannot be pushed into a public repository.
I suggest to always use default system proxy programmatically for downloading paket.exe and nuget packages.
Paket failed with:
Could not retrieve data from https://github.com/forki/FsUnit/raw/a8830b5a70e72a1948592cfa1e43e3c5b0a31b92/F
sUnit.fs
Message: The remote server returned an error: (407) Proxy Authentication Required.
StackTrace:
at Microsoft.FSharp.Control.AsyncBuilderImpl.commit[a](Result`1 res)
at Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronously[a](CancellationToken token, FSharpAsync`1
computation, FSharpOption`1 timeout)
at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync`1 computation, FSharpOption`1 timeo
ut, FSharpOption`1 cancellationToken)
at Paket.InstallProcess.Install(FSharpList`1 sources, Boolean force, Boolean hard, LockFile lockFile)
at Paket.Program.clo@93-2.Invoke(Unit unitVar)
at <StartupCode$paket>.$Paket.Program.main@()
Paket failed with:
Could not retrieve data from https://github.com/forki/FsUnit/raw/a8830b5a70e72a1948592cfa1e43e3c5b0a31b92/F
sUnit.fs
Message: The remote server returned an error: (407) Proxy Authentication Required.
StackTrace:
at Microsoft.FSharp.Control.AsyncBuilderImpl.commit[a](Result1 res) at Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronously[a](CancellationToken token, FSharpAsync1
computation, FSharpOption1 timeout) at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync1 computation, FSharpOption1 timeo ut, FSharpOption1 cancellationToken)
at Paket.InstallProcess.Install(FSharpList`1 sources, Boolean force, Boolean hard, LockFile lockFile)
at Paket.Program.clo@93-2.Invoke(Unit unitVar)
at <StartupCode$paket>.$Paket.Program.main@()
—
Reply to this email directly or view it on GitHub #226 (comment).
Paket itself is build successfully both from command line and inside VS.
Great! :) Thanks.
I replaced paket.bootstrapper.exe with the newly built version in VFPT
and got the following:
No version specified. Downloading latest stable.
Starting download from https://github.com/fsprojects/Paket/releases/download/0.4.31/paket.exe
Paket version 0.4.31.0
Downloading fsharp/FAKE:a25c2f256a99242c1106b5a3478aae6bb68c7a93 modules/Octokit/Octokit.fsx to l:\github\FSha
rpVSPowerTools\paket-files\fsharp\FAKE\modules\Octokit\Octokit.fsx
Expression.Blend.Sdk 1.0.2 already downloaded
FSharp.ViewModule.Core 0.9.9.1 already downloaded
FAKE 3.5.5 already downloaded
Foq 1.6 already downloaded
Fantomas 1.5.0 already downloaded
FSharp.Formatting 2.4.26 already downloaded
FSharp.Compiler.Service 0.0.62 already downloaded
FsCheck 1.0.0 already downloaded
FSharp.ViewModule.Core 0.9.9.1 unzipped to l:\github\FSharpVSPowerTools\packages\FSharp.ViewModule.Core
FsCheck 1.0.0 unzipped to l:\github\FSharpVSPowerTools\packages\FsCheck
Foq 1.6 unzipped to l:\github\FSharpVSPowerTools\packages\Foq
Libraries found in l:\github\FSharpVSPowerTools\packages\FSharp.ViewModule.Core:l:\github\FSharpVSPowerTools\p
ackages\FSharp.ViewModule.Core\lib\net45\FSharp.ViewModule.Core.Wpf.dll
l:\github\FSharpVSPowerTools\packages\FSharp.ViewModule.Core\lib\portable-net45+netcore45+wpa81+wp8+MonoAn
droid1+MonoTouch1\FSharp.ViewModule.Core.dll
Libraries found in l:\github\FSharpVSPowerTools\packages\FsCheck:l:\github\FSharpVSPowerTools\packages\FsCheck
\lib\net45\FsCheck.dll
Expression.Blend.Sdk 1.0.2 unzipped to l:\github\FSharpVSPowerTools\packages\Expression.Blend.Sdk
Fantomas 1.5.0 unzipped to l:\github\FSharpVSPowerTools\packages\Fantomas
Libraries found in l:\github\FSharpVSPowerTools\packages\Foq:l:\github\FSharpVSPowerTools\packages\Foq\lib\net
40\Foq.dll
l:\github\FSharpVSPowerTools\packages\Foq\lib\net45\Foq.dll
FSharp.Formatting 2.4.26 unzipped to l:\github\FSharpVSPowerTools\packages\FSharp.Formatting
FsXaml.Wpf 0.9.8 already downloaded
Microsoft.AspNet.Razor 2.0.30506.0 already downloaded
Libraries found in l:\github\FSharpVSPowerTools\packages\Expression.Blend.Sdk:l:\github\FSharpVSPowerTools\pac
kages\Expression.Blend.Sdk\lib\net40-client\System.Windows.Interactivity.dll
l:\github\FSharpVSPowerTools\packages\Expression.Blend.Sdk\lib\wp8\System.Windows.Interactivity.dll
Libraries found in l:\github\FSharpVSPowerTools\packages\Fantomas:l:\github\FSharpVSPowerTools\packages\Fantom
as\lib\Fantomas.exe
l:\github\FSharpVSPowerTools\packages\Fantomas\lib\FSharp.Core.dll
Microsoft.Bcl 1.1.9 already downloaded
Libraries found in l:\github\FSharpVSPowerTools\packages\FSharp.Formatting:l:\github\FSharpVSPowerTools\packag
es\FSharp.Formatting\lib\net40\CSharpFormat.dll
l:\github\FSharpVSPowerTools\packages\FSharp.Formatting\lib\net40\FSharp.MetadataFormat.dll
FsXaml.Wpf 0.9.8 unzipped to l:\github\FSharpVSPowerTools\packages\FsXaml.Wpf
Microsoft.AspNet.Razor 2.0.30506.0 unzipped to l:\github\FSharpVSPowerTools\packages\Microsoft.AspNet.Razor
Microsoft.Bcl.Build 1.0.21 already downloaded
Microsoft.Net.Http 2.2.28 already downloaded
NUnit 2.6.3 already downloaded
Libraries found in l:\github\FSharpVSPowerTools\packages\FsXaml.Wpf:l:\github\FSharpVSPowerTools\packages\FsXa
ml.Wpf\lib\net45\FsXaml.Wpf.dll
l:\github\FSharpVSPowerTools\packages\FsXaml.Wpf\lib\net45\FsXaml.Wpf.TypeProvider.dll
Libraries found in l:\github\FSharpVSPowerTools\packages\Microsoft.AspNet.Razor:l:\github\FSharpVSPowerTools\p
ackages\Microsoft.AspNet.Razor\lib\net40\System.Web.Razor.dll
Microsoft.Bcl.Build 1.0.21 unzipped to l:\github\FSharpVSPowerTools\packages\Microsoft.Bcl.Build
NUnit.Runners 2.6.3 already downloaded
NUnit 2.6.3 unzipped to l:\github\FSharpVSPowerTools\packages\NUnit
NuGet.CommandLine 2.8.2 already downloaded
No libraries found in l:\github\FSharpVSPowerTools\packages\Microsoft.Bcl.Build
Libraries found in l:\github\FSharpVSPowerTools\packages\NUnit:l:\github\FSharpVSPowerTools\packages\NUnit\lib
\nunit.framework.dll
Octokit 0.4.1 already downloaded
RazorEngine 3.3.0 already downloaded
NuGet.CommandLine 2.8.2 unzipped to l:\github\FSharpVSPowerTools\packages\NuGet.CommandLine
No libraries found in l:\github\FSharpVSPowerTools\packages\NuGet.CommandLine
RazorEngine 3.3.0 unzipped to l:\github\FSharpVSPowerTools\packages\RazorEngine
Octokit 0.4.1 unzipped to l:\github\FSharpVSPowerTools\packages\Octokit
Microsoft.Net.Http 2.2.28 unzipped to l:\github\FSharpVSPowerTools\packages\Microsoft.Net.Http
NUnit.Runners 2.6.3 unzipped to l:\github\FSharpVSPowerTools\packages\NUnit.Runners
Libraries found in l:\github\FSharpVSPowerTools\packages\RazorEngine:l:\github\FSharpVSPowerTools\packages\Raz
orEngine\lib\net40\RazorEngine.dll
Libraries found in l:\github\FSharpVSPowerTools\packages\Octokit:l:\github\FSharpVSPowerTools\packages\Octokit
\lib\net45\Octokit.dll
l:\github\FSharpVSPowerTools\packages\Octokit\lib\portable-net45+wp80+win\Octokit.dll
Libraries found in l:\github\FSharpVSPowerTools\packages\Microsoft.Net.Http:l:\github\FSharpVSPowerTools\packa
ges\Microsoft.Net.Http\lib\monoandroid\System.Net.Http.Extensions.dll
l:\github\FSharpVSPowerTools\packages\Microsoft.Net.Http\lib\wpa81\System.Net.Http.Primitives.dll
No libraries found in l:\github\FSharpVSPowerTools\packages\NUnit.Runners
Microsoft.Bcl 1.1.9 unzipped to l:\github\FSharpVSPowerTools\packages\Microsoft.Bcl
Libraries found in l:\github\FSharpVSPowerTools\packages\Microsoft.Bcl:l:\github\FSharpVSPowerTools\packages\M
icrosoft.Bcl\lib\net40\System.IO.dll
l:\github\FSharpVSPowerTools\packages\Microsoft.Bcl\lib\sl5\System.Threading.Tasks.dll
FSharp.Compiler.Service 0.0.62 unzipped to l:\github\FSharpVSPowerTools\packages\FSharp.Compiler.Service
Libraries found in l:\github\FSharpVSPowerTools\packages\FSharp.Compiler.Service:l:\github\FSharpVSPowerTools
packages\FSharp.Compiler.Service\lib\net40\FSharp.Compiler.Service.dll
l:\github\FSharpVSPowerTools\packages\FSharp.Compiler.Service\lib\net45\FSharp.Compiler.Service.dll
FAKE 3.5.5 unzipped to l:\github\FSharpVSPowerTools\packages\FAKE
No libraries found in l:\github\FSharpVSPowerTools\packages\FAKE
Paket failed with:
Could not retrieve data from https://github.com/fsharp/FAKE/raw/a25c2f256a99242c1106b5a3478aae6bb68c7a93/mo
dules/Octokit/Octokit.fsx https://github.com/fsharp/FAKE/raw/a25c2f256a99242c1106b5a3478aae6bb68c7a93/modules/Octokit/Octokit.fsx
Message: The remote server returned an error: (407) Proxy Authentication Required.
StackTrace:
at Microsoft.FSharp.Control.AsyncBuilderImpl.commit[a](Result1 res) at Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronously[a](CancellationToken token, FSharpAsync1
computation, FSharpOption1 timeout) at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync1 computation, FSharpOption1 timeo ut, FSharpOption1 cancellationToken)
at Paket.InstallProcess.Install(FSharpList`1 sources, Boolean force, Boolean hard, LockFile lockFile)
at Paket.Program.clo@95-2.Invoke(Unit unitVar)
at <StartupCode$paket>.$Paket.Program.main@()
l:\github\FSharpVSPowerTools>
So we should update Paket version used in VFPT to the latest, but how?
—
Reply to this email directly or view it on GitHub #226 (comment).
Aha. It works :) VFPT is successfully built. Cooool. So, we should replace paket.bootstrapper.exe manually, then use 'prerelease' flag? Oh we should wait when 0.5.0 is released? //cc @dungpa
Aha. It works :) VFPT is successfully built. Cooool. So, we should replace
paket.bootstrapper.exe manually, then use 'prerelease' flag? Oh we should
wait when 0.5.0 is released? //cc @dungpahttps://github.com/dungpa
—
Reply to this email directly or view it on GitHub #226 (comment).
Activity
forki commentedon Oct 7, 2014
is there an SO question or blog post where I can read about that? I'm not sure I know what I have to do to make it work.
Use default proxy in paket.exe and bootstrapper.exe - references #226
forki commentedon Oct 9, 2014
@vasily-kirichenko could you please review/test this? I'm not sure I do the right thing.
vasily-kirichenko commentedon Oct 9, 2014
Will do right now.
forki commentedon Oct 9, 2014
Thanks.
On Oct 9, 2014 11:42 AM, "Vasily Kirichenko" notifications@github.com
wrote:
vasily-kirichenko commentedon Oct 9, 2014
Where can I find the compiled binary? I cannot build it from sources even with .config files in place.
vasily-kirichenko commentedon Oct 9, 2014
forki commentedon Oct 9, 2014
https://github.com/fsprojects/Paket/releases/tag/0.5.0-alpha008
On Oct 9, 2014 11:48 AM, "Vasily Kirichenko" notifications@github.com
wrote:
vasily-kirichenko commentedon Oct 9, 2014
The full log is
vasily-kirichenko commentedon Oct 9, 2014
This is what you binary says
vasily-kirichenko commentedon Oct 9, 2014
I'm trying to fix this.
forki commentedon Oct 9, 2014
Cool.
According to
http://stackoverflow.com/questions/9603093/407-proxy-authentication-required-in-c-sharp
the proxy class has their own credentials. I didn't add these.
On Oct 9, 2014 11:56 AM, "Vasily Kirichenko" notifications@github.com
wrote:
Set default proxy - references #226
vasily-kirichenko commentedon Oct 9, 2014
Paket itself is build successfully both from command line and inside VS. Great! :) Thanks.
I replaced
paket.bootstrapper.exewith the newly built version in VFPT and got the following:So we should update Paket version used in VFPT to the latest, but how?
forki commentedon Oct 9, 2014
Try to run paket bootstrapper exe prerelease see
http://fsprojects.github.io/Paket/bootstrapper.html
On Oct 9, 2014 1:31 PM, "Vasily Kirichenko" notifications@github.com
wrote:
vasily-kirichenko commentedon Oct 9, 2014
Aha. It works :) VFPT is successfully built. Cooool. So, we should replace paket.bootstrapper.exe manually, then use 'prerelease' flag? Oh we should wait when 0.5.0 is released? //cc @dungpa
forki commentedon Oct 9, 2014
I will probabyl release 0.5 today or tomorrow.
2014-10-09 13:50 GMT+02:00 Vasily Kirichenko notifications@github.com:
vasily-kirichenko commentedon Oct 9, 2014
Great.
Documented migration steps required for PR fsprojects#226