Skip to content
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

CondaHTTPError: HTTP 000 CONNECTION FAILED #11367

Open
4 of 24 tasks
kenodegard opened this issue Mar 25, 2022 · 3 comments
Open
4 of 24 tasks

CondaHTTPError: HTTP 000 CONNECTION FAILED #11367

kenodegard opened this issue Mar 25, 2022 · 3 comments
Assignees
Labels
epic a highlevel collection of smaller related issues source::anaconda created by members of Anaconda, Inc. type::tech-debt identifies or resolves some technical debt

Comments

@kenodegard
Copy link
Contributor

kenodegard commented Mar 25, 2022

Summary

This is a catch-all error that is very unhelpful and very hard to diagnose (although there are a small handful of cases that typically causes it). Collecting reported issues to see if we can make a plan.

Acceptance Criteria

In order for this issue to be considered completed, the following must be true:

  • Users no longer see a HTTP 000 message and actually see an error that better reflects what is actually happening (e.g. SSL error or TCP connection error)

Linked Issues & PRs

HTTP 000

Fixes

@kenodegard kenodegard added epic a highlevel collection of smaller related issues source::anaconda created by members of Anaconda, Inc. type::tech-debt identifies or resolves some technical debt labels Mar 25, 2022
@beeankha beeankha added the backlog issue has been triaged but has not been earmarked for any upcoming release label Mar 31, 2022
@jezdez
Copy link
Member

jezdez commented May 5, 2022

Let's stop using HTTP 000 errors as a way to tell users that something didn't work out during networking/IO.

@kenodegard
Copy link
Contributor Author

except (ConnectionError, HTTPError, SSLError) as e:

@kenodegard kenodegard self-assigned this Jun 15, 2022
@kenodegard kenodegard added in-progress issue is actively being worked on and removed backlog issue has been triaged but has not been earmarked for any upcoming release labels Jun 15, 2022
@kenodegard kenodegard removed the in-progress issue is actively being worked on label Jun 28, 2022
@biologyzhangbo
Copy link

I provid a solution to this issue, but it only works in mainland China.
First, delete the line containing "defaults" in the channels. Note that you should delete the entire line.
Next, replace all instances of "https" with "http" in the Tsinghua channel URLs.
Then you will find that your Conda can work normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic a highlevel collection of smaller related issues source::anaconda created by members of Anaconda, Inc. type::tech-debt identifies or resolves some technical debt
Projects
Status: 📦 Aggregate
Development

No branches or pull requests

4 participants