# How do I change the default timeout time for an Ecephysprojectcache object (Neuropixels dataset)

**URL:** <https://community.brain-map.org/t/how-do-i-change-the-default-timeout-time-for-an-ecephysprojectcache-object-neuropixels-dataset/1036>\
**Category:** Technical\
**Tags:** brain-observatory-visual-coding\
**Created:** [April 12, 2021, 10:52pm UTC](https://community.brain-map.org/t/how-do-i-change-the-default-timeout-time-for-an-ecephysprojectcache-object-neuropixels-dataset/1036 "2021-04-12T22:52:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmg55](https://avatars.discourse-cdn.com/v4/letter/v/ed8c4c/32.png) [@vmg55](https://community.brain-map.org/u/vmg55)\
**Post date:** [April 12, 2021, 10:52pm UTC](https://community.brain-map.org/t/how-do-i-change-the-default-timeout-time-for-an-ecephysprojectcache-object-neuropixels-dataset/1036/1 "2021-04-12T22:52:47Z")

</div>

I am working with the Neuropixels dataset and the Ecephysprojectcache class. I am attempting to download the data from the sessions using the method `get_session_data`, but my download continues to timeout mid-download and produces the error message “Timeout: Download took 600.033632457 seconds, but timeout was set to 600”. I am wondering if there is a way to change the default timeout value to something greater than 600 to allow the download to continue. So far I have found this documentation, [allensdk.brain\_observatory.ecephys.ecephys\_project\_api.http\_engine — Allen SDK dev documentation](https://allensdk.readthedocs.io/en/v1.7.0/_modules/allensdk/brain_observatory/ecephys/ecephys_project_api/http_engine.html), but am unaware on how to use it to change the timeout value. Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![wayne](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/wayne/32/16_2.png) [@wayne](https://community.brain-map.org/u/wayne)\
**Post date:** [April 13, 2021, 4:24pm UTC](https://community.brain-map.org/t/how-do-i-change-the-default-timeout-time-for-an-ecephysprojectcache-object-neuropixels-dataset/1036/2 "2021-04-13T16:24:27Z")

</div>

Hi @vmg55  
What version of the AllenSDK are you using? There was an issue fixed a while back. It may help to upgrade to the latest version which is 2.10.2.

If that still does not work, can you provide additional details about your work environment, such as the OS, RAM, CPU, network bandwidth, etc?

Thanks,  
Wayne
