Open mxdpeep opened 1 week ago
seems like connectivity problems
can you try using legendary directly and see if it can connect? https://github.com/derrod/legendary this is what we use internally to connect to epic stuff
Same issue here and cannot login via legendary too..i have urlib3 already installed (heroic launcher 2.15.2 on ArchLinux 6.11.7)
legendary log output
`legendary auth
[cli] INFO: Testing existing login data if present...
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/usr/lib/python3.12/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 716, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 404, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 1061, in _validate_conn
conn.connect()
File "/usr/lib/python3.12/site-packages/urllib3/connection.py", line 363, in connect
self.sock = conn = self._new_conn()
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7ac43bfb4b30>: Failed to establish a new connection: [Errno 101] Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 802, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.legendary.gl', port=443): Max retries exceeded with url: /v1/version.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ac43bfb4b30>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/legendary", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3.12/site-packages/legendary/cli.py", line 3058, in main
cli.auth(args)
File "/usr/lib/python3.12/site-packages/legendary/cli.py", line 92, in auth
self.core.check_for_updates(force=True)
File "/usr/lib/python3.12/site-packages/legendary/core.py", line 272, in check_for_updates
version_info = self.lgdapi.get_version_information()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/legendary/api/lgd.py", line 21, in get_version_information
r = self.session.get(f'https://{self._api_host}/v1/version.json',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/requests/adapters.py", line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.legendary.gl', port=443): Max retries exceeded with url: /v1/version.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ac43bfb4b30>: Failed to establish a new connection: [Errno 101] Network is unreachable'))`
legendary version "0.20.34", codename "Direct Intervention"
Describe the bug
An error has occurred! Try to Logout and Login on your Epic account. [cli] INFO: Logging in...[Core] INFO: Trying to re-use existing login session...[Core] WARNING: Resuming failed for unknown reason: ConnectionError(MaxRetryError('HTTPSConnectionPool(host=\'account-public-service-prod03.ol.epicgames.com\', port=443): Max retries exceeded with url: /account/api/oauth/verify (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7bb6b3115430>: Failed to resolve \'account-public-service-prod03.ol.epicgames.com\' ([Errno -3] Temporary failure in name resolution)"))')) [Core] INFO: Falling back to using refresh token...[Core] INFO: Logging in...Traceback (most recent call last): File "urllib3/connectionpool.py", line 466, in _make_requestFile "urllib3/connectionpool.py", line 1095, in _validate_conn File "urllib3/connection.py", line 730, in connect File "urllib3/connection.py", line 909, in _ssl_wrap_socket_and_matchhostname File "urllib3/util/ssl.py", line 469, in ssl_wrapsocketFile "urllib3/util/ssl.py", line 513, in _ssl_wrap_socket_impl File "ssl.py", line 501, in wrap_socket File "ssl.py", line 1074, in _create File "ssl.py", line 1343, in do_handshakesocket.timeout: _ssl.c:1116: The handshake operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "requests/adapters.py", line 667, in send File "urllib3/connectionpool.py", line 843, in urlopenFile "urllib3/util/retry.py", line 474, in increment File "urllib3/util/util.py", line 39, in reraise File "urllib3/connectionpool.py", line 789, in urlopenFile "urllib3/connectionpool.py", line 490, in _make_request File "urllib3/connectionpool.py", line 468, in _make_requestFile "urllib3/connectionpool.py", line 369, in _raise_timeout urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='account-public-service-prod03.ol.epicgames.com', port=443): Read timed out. (read timeout=10) During handling of the above exception, another exception occurred: Traceback (most recent call last):File "legendary/cli.py", line 3224, in
File "legendary/cli.py", line 3133, in main
File "legendary/cli.py", line 192, in list_games
File "legendary/core.py", line 256, in loginFile "legendary/core.py", line 241, in _loginFile "legendary/api/egs.py", line 117, in start_session
File "requests/sessions.py", line 637, in postFile "requests/sessions.py", line 589, in requestFile "requests/sessions.py", line 703, in send
File "requests/adapters.py", line 713, in sendrequests.exceptions.ReadTimeout: HTTPSConnectionPool(host='account-public-service-prod03.ol.epicgames.com', port=443): Read timed out. (read timeout=10)[PYI-82564:ERROR] Failed to execute script 'cli' due to unhandled exception!
Add logs
Steps to reproduce
pops automatically
Expected behavior
no popup / no Python errors
Screenshots
No response
Heroic Version
Latest Stable
System Information
Ubuntu 22.04.5
Additional information
No response