Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TicketExistsError when issuing tickets #4918

Closed
ricwo opened this issue Dec 6, 2019 · 0 comments
Closed

TicketExistsError when issuing tickets #4918

ricwo opened this issue Dec 6, 2019 · 0 comments
Labels
type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@ricwo
Copy link
Contributor

ricwo commented Dec 6, 2019

Rasa version: 1.5.X

Issue:
A TicketExistsError can lead to the lock store getting stuck in a loop trying to issue a new ticket

Error (including full traceback):

rasa-production_1  | rasa.core.lock_store.TicketExistsError: Ticket '11874' already exists for conversation ID '8e001a2806b1489897accc755dd9b24f'.
rasa-production_1  | 2019-12-06 15:13:45 ERROR    rasa.core.lock_store  - Ticket could not be issued. Issuing new ticket and retrying...
rasa-production_1  | Traceback (most recent call last):
rasa-production_1  |   File "/build/lib/python3.6/site-packages/rasa/core/lock_store.py", line 109, in issue_ticket
rasa-production_1  |     self.ensure_ticket_available(lock)
rasa-production_1  |   File "/build/lib/python3.6/site-packages/rasa/core/lock_store.py", line 251, in ensure_ticket_available
rasa-production_1  |     "".format(existing_lock.last_issued, lock.conversation_id)
rasa-production_1  | rasa.core.lock_store.TicketExistsError: Ticket '11874' already exists for conversation ID '8e001a2806b1489897accc755dd9b24f'.
rasa-production_1  | 2019-12-06 15:13:45 ERROR    rasa.core.lock_store  - Ticket could not be issued. Issuing new ticket and retrying...
rasa-production_1  | Traceback (most recent call last):
rasa-production_1  |   File "/build/lib/python3.6/site-packages/rasa/core/lock_store.py", line 109, in issue_ticket
rasa-production_1  |     self.ensure_ticket_available(lock)
rasa-production_1  |   File "/build/lib/python3.6/site-packages/rasa/core/lock_store.py", line 251, in ensure_ticket_available
rasa-production_1  |     "".format(existing_lock.last_issued, lock.conversation_id)
rasa-production_1  | rasa.core.lock_store.TicketExistsError: Ticket '11874' already exists for conversation ID '8e001a2806b1489897accc755dd9b24f'.
@ricwo ricwo added the type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors. label Dec 6, 2019
@ricwo ricwo mentioned this issue Dec 6, 2019
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

2 participants