rasa.core.lock_store.LockError: Could not acquire lock for conversation_id - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum

👋 Introducing the Rasa Playground

rasa.core.lock_store.LockError: Could not acquire lock for conversation_id

post by SriSatyaLokesh on Jun 16, 2020

 2020-06-16T11:10:57.397296888Z rasa.core.lock_store.LockError: Could not acquire lock for conversation_id 'arjunnewfd-180-4'.
2020-06-16T11:10:57.397869808Z 2020-06-16 11:10:57 ERROR    rasa.core.channels.channel  - An exception occured while handling user message 'hi'.
2020-06-16T11:10:57.397909109Z Traceback (most recent call last):
2020-06-16T11:10:57.397921409Z   File "/usr/local/lib/python3.6/dist-packages/rasa/core/channels/channel.py", line 487, in receive
2020-06-16T11:10:57.397930610Z     metadata=metadata,
2020-06-16T11:10:57.397939510Z   File "/usr/local/lib/python3.6/dist-packages/rasa/core/channels/channel.py", line 83, in handler
2020-06-16T11:10:57.397948510Z     await app.agent.handle_message(*args, **kwargs)
2020-06-16T11:10:57.397957411Z   File "/usr/local/lib/python3.6/dist-packages/rasa/core/agent.py", line 485, in handle_message
2020-06-16T11:10:57.397966411Z     async with self.lock_store.lock(message.sender_id):
2020-06-16T11:10:57.397975011Z   File "/usr/local/lib/python3.6/dist-packages/async_generator/_util.py", line 34, in __aenter__
2020-06-16T11:10:57.397983712Z     return await self._agen.asend(None)
2020-06-16T11:10:57.397992012Z   File "/usr/local/lib/python3.6/dist-packages/rasa/core/lock_store.py", line 93, in lock
2020-06-16T11:10:57.398000612Z     conversation_id, ticket, wait_time_in_seconds
2020-06-16T11:10:57.398009012Z   File "/usr/local/lib/python3.6/dist-packages/rasa/core/lock_store.py", line 125, in _acquire_lock
2020-06-16T11:10:57.398017713Z     f"Could not acquire lock for conversation_id '{conversation_id}'."
2020-06-16T11:10:57.398026213Z rasa.core.lock_store.LockError: Could not acquire lock for conversation_id 'arjunnewfd-180-4'.
2020-06-16T11:10:57.398751838Z 2020-06-16 11:10:57 ERROR    rasa.core.channels.channel  - An exception occured while handling user message 'hi'.

post by triinity2221 on Feb 8, 2021

Hi, I am also getting the exactly same error as yours, please can you confirm what worked in your case.

post by Utt on Aug 20, 2021

Hey, any update on this? I am desperate to find the solution for this error.

post by ashok5451chicha on Mar 17, 2022

getting the same error any fix on this

Related topics

Topic Replies Views Activity
Could not acquire lock for conversation_id
Rasa Open Source
0 368 Jan 2023
Getting error with lock store in rasa open source
Rasa Open Source
2 41 Sep 2024
Failed to acquire lock for conversation ID . Retrying
Rasa Open Source
11 2.3k Oct 2020
DEBUG rasa.core.lock_store - Failed to acquire lock for conversation ID
Rasa Open Source
2 859 Jul 2020
Failed to acquire lock for conversation ID
Rasa Open Source
9 1.6k Mar 2022