-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout settings IN paket.dependencies #2470
Comments
with latest paket we changed that to 180s |
I will not bad mouth about guys maintains our nexus |
could you please check logs for paket version? |
Paket version 5.2.1 Full detail is :
|
I think it's already set to 180s in 5.2.1 (only reporting was wrong and fixed later) |
4.8.8 (sad i know) v5.x works randomly depending of our infra response time but we can't split to group because there's alway the need of nuget.org in their transitive |
/cc @matthid this can be the issue that we saw in #2465 - @tebeco I assume you need to pin to 4.x until @matthid gets a chance to look at it. since you are using magic mode you want to put a paket.exe.config next to paket.exe - something like:
|
We have a job running that re-install quite DL paket.bootstrapper.exe + rename + set it path as %PAKET_HOME% so all our build will works for sure without the need to commit the folder .paket Do you think i can pin |
you can try. not sure if that works |
but you can just put that config file in paket_home folder |
well ... the webconfig might be a problem, i'll have to edit all our build first step that |
ok other idea - change the job to DL paket.bootstrapper.exe then instead of rename just call paket.bootstrapper.exe 4.xxx - so you have the correct version hanging around |
Any idea for #2465 estimate fix ? The quickest / easy fix would be either
A toggle feature OPT OUT Else, as you said, i'll have to ask devs to step down from magic mode to pinned version + repush paket.lock on repositories |
I personally can't say. It's a bit tricky and I need help by @matthid |
On the same topic, in order to reduce the amount of useless network request So i'm already 100% SURE that we do 20 * 5 (100 request) to internal nexus that DOES NOT have any nuget (like FSharp.core ....) and will fail (take tiiimmmmmes to fail) For example workaround would be instead of
doing :
condition is that the transitive of A and B can also see |
(Do you think it would be interesting to create a ticket for that one ?) |
^^ should work |
soooo without creating group can i do this ?
|
it checks all sources above - so nuget.org and teamA as well |
well, once again something i did not know in paket :) |
I managed to make thing worst, i'll give another try later today ;) |
I'll wait for the parameter INSIDE the paket.dependencies / command line instead of ENV var FYI : Found a tricky workaround so far
the .Wait(-1) will disable the timeout :D |
Please try again after #2499 is released Please report back. The environment variables are good for finding issues and testing performance, but really the default should work :) |
Closing Not sure if If so would benefits from an extension point like : |
Hi there,
Description
In our team we got nightly teamcity step that :
paket update
on some nugetSince v5 of paket and the introduction of
TimeOut
we're facing serious issueThe big one called Nexus, it is a mess here ... (slow or unresponsive randombly but frequntly)
Also our Build Agent are created on the fly on our cloud so Setting a ENV VARIABLE is kind of a big deal (we could add it to install script but it's a bit too magic) it's a bit overkill
is there a way i missed a command parameter for
paket update
or in thepaket.dependencies
to be able to tweak that ?Also is there a way to know what actually timeout (nuget + source + version + group ?)
Repro steps
Create a paket.depencies with 20-50 nuget inside paket files
Then add sources like nuget.org and other <= we use between 1 to 10 sources
Add failing source (randomly but at lest one everytime) (lower the timout ?)
And find a way to make it fail on Paket Install / Update
Then try to see what happened for paket output ;D
(see bellow)
Actual behavior
Paket failed with:
-> Unable to retrieve package versions for 'SomeTeamNuget'
-> TimeoutException: Waited 30 seconds for a request to finish.
Check the following sources, they might be rate limiting and stopped responding:
- https://api.nuget.org/v3/index.json
- https://someNugetSource1
- https://someNugetSource2
- https://someNugetSource3
Running build failed.
Error:
System.Exception: 'paket update nuget SomeTeamNuget' failed
at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1360.Invoke(String message)
at (our build fake step)
at Microsoft.FSharp.Collections.SeqModule.Iterate[T](FSharpFunc
2 action, IEnumerable
1 source)at (our build fake step)
at Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target)
The text was updated successfully, but these errors were encountered: