Skip to content

problem when server runs out of internet #5

Description

@joserf

Error presented if the server runs out of internet, even after the program is restarted, it needs to close the main.py application and open again to work again.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Python37\lib\tkinter_init_.py", line 1705, in call
return self.func(*args)
File "C:\Python37\lib\tkinter_init_.py", line 749, in callit
func(*args)
File "C:\Users\Administrador\Desktop\Remote-PC-Telegram-master\main.py", line 117, in main
req = requests.get(url).json()
File "C:\Python37\lib\site-packages\requests\api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "C:\Python37\lib\site-packages\requests\api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Python37\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\Python37\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\Python37\lib\site-packages\requests\adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionAbortedError(10053, 'Uma conexão estabelecida foi anulada pelo software no computador host', None, 10053, None))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions