-
Notifications
You must be signed in to change notification settings - Fork 82
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
Clarify that 404 at "downloading legacy link" in dotnet-install.sh is usually expected #11
Comments
@marcpopMSFT this should go to Bekir for triage, but I don't know his GitHub handle |
@dsplaisted it's @bozturkMSFT |
the 2nd link is already dead, thus it results in a 404, as mentioned.
|
Maybe you're already aware, but I want to make sure this is considered appropriately. We'd need to be sure nobody is using (or plans to use) a version of the SDK that uses the legacy link rather than the new style of link. That's why I focused the issue on the misleading messaging rather than asking the link to be removed. (If we can stop supporting the legacy link, that would be good, but I have my doubts.)
How does this help the scenario I'm pointing at here? Are you expecting a user of the script to have access to the telemetry and dashboards, or is there some other scenario being looked at here?
Lack of retries seems like a separate issue about script reliability, not related to misleading log messages. /cc @dleeapho @MichaelSimons @NikolaMilosavljevic @leecow @rbhanda |
A similar issue: dotnet/sdk#10450 @johnbeisner wrote:
Let's track them both here. I am closing the other. |
The need tracked in this issue should be a requirement in the re-engineering effort. Moving to the re-engineering project. |
* Added functions to get http headers, made download functions to return http status code. * issue #11: handle http status code 404 separately * Fix extraction failure processing.
Changed the messages such that if we have 404-NotFound and some other error, the other (actual) error will be displayed at the end of the log as an error. However, the messages concerning legacy link download attempt and failure stay as info messages. |
When builds fail with issues like this, there's a huge red herring:
The error here is
curl: (56) GnuTLS recv error (-9)
. But, people see the 404 for the legacy download and sometimes miss the main problem, think the 404 might be a related problem, or that they have a secondary problem to look into also.The message should clarify that the legacy download link is not a backup. (This is a typical interpretation.)
Or, can we remove the legacy fallback? What versions actually use it (are they EOL)?
The text was updated successfully, but these errors were encountered: