httpx.ConnectError: All connection attempts failed
Closed this issue · 2 comments
dexforint commented
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 commented
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
.
В противном случае измените её на адрес прокси, который вы используете.