link icon
Ask The Community

TeamViewer is one of the winners of the European Customer Centricity Award 🥳

Please find more information here.

HTTPSConnectionPool(host='', 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???


Message=HTTPSConnectionPool(host='', 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'))
File "C:\Users\rsmith\source\repos\GetTVConnReportA\GetTVConnReportA\", line 31, in getConnections
r = requests.get(url, headers=headers)
File "C:\Users\rsmith\source\repos\GetTVConnReportA\GetTVConnReportA\", line 52, in <module>



  • Hello,

    please give "" a try instead of "".

    Team Lead Product Development (Enterprise)

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


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