# Rasa lock store preventing actions from returning response

**URL:** <https://forum.rasa.com/t/rasa-lock-store-preventing-actions-from-returning-response/52737>\
**Category:** Rasa Open Source\
**Created:** [April 21, 2022, 9:49am UTC](https://forum.rasa.com/t/rasa-lock-store-preventing-actions-from-returning-response/52737 "2022-04-21T09:49:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fredseidler](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fredseidler/32/19535_2.png) [@fredseidler](https://forum.rasa.com/u/fredseidler)\
**Post date:** [April 21, 2022, 9:49am UTC](https://forum.rasa.com/t/rasa-lock-store-preventing-actions-from-returning-response/52737/1 "2022-04-21T09:49:29Z")

</div>

Hey team! I have a project where the conversation prompts a user to send in a media file, an action then looks at this media file and sends a response back to the user.

However, if the user takes more than about 14 seconds to send in their media file rasa.core.lock\_store deletes the conversation lock and the response fails.

debugging looks like this:

2022-04-21 10:38:48 DEBUG rasa.core.actions.action - Calling action endpoint to run action ‘action\_find\_asthma\_recording’. 2022-04-21 10:39:03 DEBUG rasa.core.lock\_store - Deleted lock for conversation ‘whatsapp:+44XXXXXXXX’.

Is it possible to increase this time before the conversation lock is deleted? I have tried increasing DEFAULT\_SOCKET\_TIMEOUT\_IN\_SECONDS = 10 in lock\_store.py but that made no difference.

Any ideas would be great!! Thanks 😄

---

<div class="post-metadata">

**Author:** ![boukhasmarsoufian](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/boukhasmarsoufian/32/20943_2.png) [@boukhasmarsoufian](https://forum.rasa.com/u/boukhasmarsoufian)\
**Post date:** [June 27, 2022, 2:50pm UTC](https://forum.rasa.com/t/rasa-lock-store-preventing-actions-from-returning-response/52737/2 "2022-06-27T14:50:03Z")

</div>

Same problem here! Any solution ? Thanks in advance.
