Highlighted
Posted by RlS
Trigon

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

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()

 

2 Replies
2 Replies
Posted by TeamViewer Staff
TeamViewer Staff

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

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!
Posted by RlS
Trigon

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

Christian,

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