InvalidOperationException: Timeouts not supported with this stream when using BaGet
See original GitHub issueDescription
I want to install a nuget package from our BaGet server (https://github.com/ai-traders/BaGet). This fails with an InvalidOperationException: Timeouts werden in diesem Datenstrom nicht unterstützt (german windows, the error message says timeouts are not supported for this data stream). It works with the previous stable version (5.181.1)
This behaviour was observed on Windows 10 with both the full dotnet framework and the dotnet core sdk installed (latest-ish versions - let me know if the precicse versions help)
Repro steps
Please provide the steps required to reproduce the problem
-
Create a new f# console application, add the paket bootstrapper
-
Use this as paket.dependencies
storage: none
source https://api.nuget.org/v3/index.json
framework: auto-detect
nuget FSharp.Core
source https://baget.cloud.douglasconnect.com/v3/index.json
nuget DouglasConnect
- Run paket install and you should see the InvalidOperationException.
Expected behavior
The package should be downloaded and installed
Actual behavior
An exception occurs:
Paket failed with
-> Could not download DouglasConnect 6.0.6 from https://baget.cloud.douglasconnect.com/v3/package/douglasconnect/6.0.6/douglasconnect.6.0.6.nupkg.
StackTrace:
bei Paket.NuGet.download@853-54.Invoke(Exception _arg12)
bei Microsoft.FSharp.Control.AsyncBuilderImpl.callA@522.Invoke(AsyncParams`1 args)
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei Microsoft.FSharp.Control.AsyncBuilderImpl.commit[a](AsyncImplResult`1 res)
bei Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronouslyInCurrentThread[a](CancellationToken token, FSharpAsync`1 computation)
bei Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronously[a](CancellationToken token, FSharpAsync`1 computation, FSharpOption`1 timeout)
bei Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync`1 computation, FSharpOption`1 timeout, FSharpOption`1 cancellationToken)
bei Microsoft.FSharp.Collections.Internal.IEnumerator.map@74.DoMoveNext(b& curr)
bei Microsoft.FSharp.Collections.Internal.IEnumerator.MapEnumerator`1.System-Collections-IEnumerator-MoveNext()
bei Microsoft.FSharp.Core.CompilerServices.RuntimeHelpers.takeOuter@274[T,TResult](ConcatEnumerator`2 x, Unit unitVar0)
bei Microsoft.FSharp.Core.CompilerServices.RuntimeHelpers.takeOuter@274[T,TResult](ConcatEnumerator`2 x, Unit unitVar0)
bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
bei Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source)
bei Paket.InstallProcess.InstallIntoProjects[a](InstallerOptions options, Boolean forceTouch, DependenciesFile dependenciesFile, LockFile lockFile, FSharpList`1 projectsAndReferences, FSharpMap`2 updatedGroups)
bei Paket.UpdateProcess.SmartInstall(DependenciesFile dependenciesFile, UpdateMode updateMode, UpdaterOptions options)
bei <StartupCode$Paket-Core>.$PublicAPI.Install@266.Invoke(Unit unitVar0)
bei Paket.Utils.RunInLockedAccessMode[a](String lockedFolder, FSharpFunc`2 action)
bei Paket.Program.handleCommand@822-11.Invoke(ParseResults`1 results)
bei Paket.Program.processWithValidationEx$cont@42[a](Boolean silent, FSharpFunc`2 commandF, a result, Unit unitVar)
bei Paket.Program.processWithValidation[T](Boolean silent, FSharpFunc`2 validateF, FSharpFunc`2 commandF, ParseResults`1 result)
bei Paket.Program.handleCommand(Boolean silent, Command command)
bei Paket.Program.main()
-> InvalidOperationException: Timeouts werden in diesem Datenstrom nicht unterstützt.
Known workarounds
Switch from using paket in magic mode to using the last stable version.
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (8 by maintainers)
Top GitHub Comments
ok I’m reverting
Thanks