You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
proxy url взят с бесплатного сайта, он рабочий(подключал к нему пк), но при запуске была вернута ошибка:
Traceback (most recent call last):
File "/home/container/main.py", line 31, in <module>
client = Client("y0_AgAAAABCYqrDAAG8XgAAAADWMujSSbuFlQssRKSr1s1FW9hf-KoRuaE", request=request).init()
File "/home/container/.local/lib/python3.9/site-packages/yandex_music/client.py", line 66, in wrapper
result = method(*args, **kwargs)
File "/home/container/.local/lib/python3.9/site-packages/yandex_music/client.py", line 152, in init
self.me = self.account_status()
File "/home/container/.local/lib/python3.9/site-packages/yandex_music/client.py", line 66, in wrapper
result = method(*args, **kwargs)
File "/home/container/.local/lib/python3.9/site-packages/yandex_music/client.py", line 173, in account_status
result = self._request.get(url, timeout=timeout, *args, **kwargs)
File "/home/container/.local/lib/python3.9/site-packages/yandex_music/utils/request.py", line 242, in get
result = self._request_wrapper(
File "/home/container/.local/lib/python3.9/site-packages/yandex_music/utils/request.py", line 200, in _request_wrapper
raise NetworkError(e)
yandex_music.exceptions.NetworkError: HTTPSConnectionPool(host='api.music.yandex.net', port=443): Max retries exceeded with url: /account/status (Caused by ProxyError('Your proxy appears to only use HTTP and not HTTPS, try changing your proxy URL to be HTTP. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#https-proxy-error-http-proxy', SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)'))))
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
proxy url взят с бесплатного сайта, он рабочий(подключал к нему пк), но при запуске была вернута ошибка:
В чём может быть проблема?
Beta Was this translation helpful? Give feedback.
All reactions