DetailedLoLRPC icon indicating copy to clipboard operation
DetailedLoLRPC copied to clipboard

error "Failed to resolve 'github.com'

Open xaiyadev opened this issue 8 months ago • 5 comments

Had some connection problems, after I fixed them suddenly everytime I try oppening up the exe this error pops up. Could this be becouse you are checking for updates? Is it maybe possible to put it into some sort of try/catch and just spit out that the connection is not working?

Traceback (most recent call last):
  File "urllib3\connection.py", line 196, in _new_conn
  File "urllib3\util\connection.py", line 60, in create_connection
  File "socket.py", line 964, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "urllib3\connectionpool.py", line 789, in urlopen
  File "urllib3\connectionpool.py", line 490, in _make_request
  File "urllib3\connectionpool.py", line 466, in _make_request
  File "urllib3\connectionpool.py", line 1095, in _validate_conn
  File "urllib3\connection.py", line 615, in connect
  File "urllib3\connection.py", line 203, in _new_conn
urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x0000023BF4A3C050>: Failed to resolve 'github.com' ([Errno 11001] getaddrinfo failed)

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 urlopen
  File "urllib3\util\retry.py", line 519, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /developers192/DetailedLoLRPC//releases/latest (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x0000023BF4A3C050>: Failed to resolve 'github.com' ([Errno 11001] getaddrinfo failed)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "DetailedLoLRPC.py", line 36, in <module>
  File "src\utilities.py", line 113, in isOutdated
  File "requests\api.py", line 73, in get
  File "requests\api.py", line 59, in request
  File "requests\sessions.py", line 589, in request
  File "requests\sessions.py", line 703, in send
  File "requests\adapters.py", line 700, in send
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /developers192/DetailedLoLRPC//releases/latest (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x0000023BF4A3C050>: Failed to resolve 'github.com' ([Errno 11001] getaddrinfo failed)"))

Could it possibly be becouse the url is wrong? /developers192/DetailedLoLRPC//releases/latest Just some guesses tho

xaiyadev avatar Apr 14 '25 10:04 xaiyadev

Something I need to add: After having this issue and then opening up the riot games client again (without the detailedLoLRPC in the background open) I will get logged out. My only solution for this right now is completly restarting the PC... What is a bit annoying

xaiyadev avatar Apr 14 '25 10:04 xaiyadev

Sorry, can't help right now. I'm in the hospital

developers192 avatar Apr 18 '25 08:04 developers192

Oh, I am so sorry to hear that, I hope you will get well soon!

Take the time you need, it's not like the project is not working anymore xD

xaiyadev avatar Apr 18 '25 22:04 xaiyadev

@xaiyadev check your hosts file if you blacklisted github.com domain. if not, set dns to 1.1.1.1

daglaroglou avatar May 01 '25 23:05 daglaroglou

Already fixed it myself, but having some error catch/skip if github is not reachable would be a nice feature

xaiyadev avatar May 05 '25 06:05 xaiyadev

Check out the latest release! Thanks!

developers192 avatar May 29 '25 20:05 developers192