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

httpx.ConnectError: All connection attempts failed #120

Closed
dexforint opened this issue Mar 26, 2024 · 2 comments
Closed

httpx.ConnectError: All connection attempts failed #120

dexforint opened this issue Mar 26, 2024 · 2 comments

Comments

@dexforint
Copy link

When I try Yandex demo, I get error message:

...
  File "/usr/local/lib/python3.10/dist-packages/httpx/_transports/default.py", line 83, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
          │          └ 'All connection attempts failed'<class 'httpx.ConnectError'>

httpx.ConnectError: All connection attempts failed
@NekoAria
Copy link
Collaborator

NekoAria commented Mar 27, 2024

Did you perhaps overlook the proxies variable used for configuring proxies?

If your network environment does not require a proxy, please set it to None.
Otherwise, change it to the proxy address you are using.


Вы, возможно, упустили переменную proxies, используемую для настройки прокси?

Если ваша сетевая среда не требует прокси, пожалуйста, установите её в значение None.
В противном случае измените её на адрес прокси, который вы используете.

@NekoAria
Copy link
Collaborator

NekoAria commented Apr 10, 2024

According to this issue #126, the problem may lie with the DNS of your network. Try switching it and then give it another try.


Согласно этой проблеме #126, проблема может заключаться в DNS вашей сети. Попробуйте изменить его, а затем попробуйте снова.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants