-
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
Improve or remove Blacklisting logic #2640
Comments
yeah potentially. |
Aha, I think this is related to that boring-ssl crap. If the first request hits the mono bug, then the source gets blacklisted. #2637 may lessen the impact of this, but ultimately the paket behavior is probably ok. |
Yes that's what I thought, but the message is still not optimal... |
We are also having sporadic issues with all sources being blacklisted at the start of the resolution, which causes Paket to seemingly get stuck in an infinite loop. This is not Mono-related however, since we build on .NET, but seems to be performance-related: log.txt (short version of a much longer log) We use an on-premise Proget server that sometimes struggles with response times. With older versions (x < 5.86.0) we have not recorded this error, but we see it sometimes with the newer versions. It usually works on the second try though, and we often have trouble reproducing these errors ourselves. Is my assumption that this is performance-related correct? If so, how can we fix this, other than improving the performance of our Proget server (we are working on that...)? |
There are also issues with feeds getting blacklisted, if a package was not yet indexed: I uploaded https://www.nuget.org/packages/0x53A.ReferenceAssemblies.net45/0.1.0 a few minutes ago:
|
Yes this is real - especially when a package is not existing on a source. The huge problem is that we cannot trust a source that a 404 is correct (as some sources always do that for some V2 urls). To be honest I have no idea anymore what to do. We need to somehow intelligently detect that a source is trustworthy and "trust" 404 responses as well. |
I'm slowly starting to think that the only sane way forward is:
|
Thinking about this again, maybe the problem is something different. |
I told you about that 404 debacle. ;-)
This is seriously shit.
Am 03.09.2017 11:58 nachm. schrieb "Matthias Dittrich" <
[email protected]>:
… I'm slowly starting to think that the only sane way forward is:
- Implement what nuget.exe is doing exactly (figure that out by using
fiddler on various sources)
- Use this logic to validate before blacklisting a source or just
remove the current logic
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2640 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNG4CcdBvR6NJwLMhWrVOj-TX-El4ks5seyECgaJpZM4O8uDm>
.
|
@forki look at my last comment, maybe there is another bug here. Because when I implemented it the assumption was: when we make the request we already know the package exists on this source (because we got the version from it). Therefore we can follow: 404 -> broken Uri. |
yeah that assumption is sound. |
I'm totally ignoring "This package has not been indexed yet", because IMHO that is clearly a server bug (and is only a transient error) |
@Desarc Can you post your |
We get this in many different projects, with many different I don't know if it's relevant, but we usually don't use groups, and list multiple sources. The number of packages listed in one |
https://travis-ci.org/fsprojects/Paket/jobs/266553668#L7258
The text was updated successfully, but these errors were encountered: