# Connection Timeout during Get User's Recordings

**URL:** <https://devforum.zoom.us/t/connection-timeout-during-get-users-recordings/64030>\
**Category:** API and Webhooks\
**Created:** [February 9, 2022, 2:11am UTC](https://devforum.zoom.us/t/connection-timeout-during-get-users-recordings/64030 "2022-02-09T02:11:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdugan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jdugan/32/34969_2.png) [@jdugan](https://devforum.zoom.us/u/jdugan)\
**Post date:** [February 9, 2022, 2:11am UTC](https://devforum.zoom.us/t/connection-timeout-during-get-users-recordings/64030/1 "2022-02-09T02:11:32Z")

</div>

**Description**  
Python program doing GET on users recordings fails at unpredictable point with socket.timeout:timed out.

**Error**  
sock.connect(sa)  
socket.timeout: timed out  
‘Connection to [api.zoom.us](http://api.zoom.us) timed out. (connect timeout=15)’)  
Max retries exceeded with url: /v2/users/lhtaylo2@my.loyno.edu/recordings?page\_size=50&from=2021-05-01&to=2021-05-31 (Caused by ConnectTimeoutError(\<urllib3.connection.HTTPSConnection object at 0x042C58F8\>, ‘Connection timed out. (connect timeout=15)’))

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
[api.zoom.us/v2/users/](http://api.zoom.us/v2/users/)/recordings

**How To Reproduce (If applicable)**  
The same program with the same inputs will retrieve some data then produce the timeout error. The point at which the timeout occurs is different each time the program is executed.

**Screenshots (If applicable)**  
Posting the full Python error message seems to run afoul of a limit on the number of links I can put in a topic (as a new user).

**Additional context**  
The program is running in Python.3.8.5 on a Windows 10 laptop. The program attempts to retrieve a long list of recording details by issuing a large number of GETs for a relatively small amount of data each time. Page Size is 50 throughout. The program will loop through multiple pages if a next\_page\_token is received, but this is rare in the data being retrieved.  
The Python program ran to completion in the recent past. Running the program now, with the same input each time, will inevitably produce the timeout, but at a different point each time. Adding timeout=15 to the requests.get made no noticeable difference.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [February 23, 2022, 8:28pm UTC](https://devforum.zoom.us/t/connection-timeout-during-get-users-recordings/64030/2 "2022-02-23T20:28:11Z")

</div>

Hi @jdugan ,

Can you open a support ticket with these details and include this forum post? We’ll check with service engineering to see if something has been changed recently to affect this.

> **[Zoom Developer Support](https://devsupport.zoom.us/hc/en-us)**

Thank you,  
Gianni

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 26, 2022, 6:28am UTC](https://devforum.zoom.us/t/connection-timeout-during-get-users-recordings/64030/3 "2022-03-26T06:28:50Z")

</div>

Closed on March 26, 2022, 6:28am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
