HTTPSConnectionPool(host='webap.teamviewer.com', port=443): Max retries exceeded with url: /api/v1/r

Trying to get a list of connections with a python. Im getting the following exception. What is max retries mean, I have only run this code once???

Thanks


Message=HTTPSConnectionPool(host='webap.teamviewer.com', port=443): Max retries exceeded with url: /api/v1/reports/connections?username=Rick (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x**Please do not post TeamViewer IDs**C2F3128>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
Source=
StackTrace:
File "C:\Users\rsmith\source\repos\GetTVConnReportA\GetTVConnReportA\GetTVConnReportA.py", line 31, in getConnections
r = requests.get(url, headers=headers)
File "C:\Users\rsmith\source\repos\GetTVConnReportA\GetTVConnReportA\GetTVConnReportA.py", line 52, in <module>
getConnections()

 

Comments

  • christian-j
    christian-j Posts: 54 Staff member 🤠

    Hello,

    please give "webapi.teamviewer.com" a try instead of "webap.teamviewer.com".

    Team Lead Product Development (Enterprise)

    Did my reply answer your question? To help others, please accept it as solution. Thanks!
  • RlS
    RlS Posts: 15

    Christian,

    Thanks, I see it now. Too many late nights.