Custom component timeout

Hello, i am using custom component. I degsigned spell checker on detected entities, but it gives me an error. it gives me this error: 2021-12-20 12:13:43 ERROR asyncio - Task exception was never retrieved future: <Task finished name='Task-2' coro=<configure_app.<locals>.run_cmdline_io() done, defined at /mnt/c/Users/daton/projects/virtual_environments/linux/pulsar_linux/lib/python3.8/site-packages/rasa/core/run.py:131> exception=TimeoutError()>

This is how my code looks like:

class CreateKeywords(Component):
    def __init__(self, component_config: Optional[Dict[Text, Any]] = None) -> None:
        super().__init__(component_config)

    def process(self, message, **kwargs: Any):
        start = time.time()

        print("message", message.data)
        keywords = []

        if message.data is not None:
            if 'entities' in message.data:
                for idx, entity in enumerate(message.data['entities']):
                    corrected_entity = spellchecker.correct(entity['value'])
                    # message.data['entities'][idx]['keywords'] = corrected_entity
                    keywords.append(corrected_entity)

        message.set('keywords', keywords, add_to_output=True)
        print("changed", message.data)
        end = time.time()
        print(end-start)

funny thing is it executes and prints time it spent, it executes everything in process function and then it gives me an error. I am using rasa 2 for this project, i looked into changed logs and saw that if that was a bug developer didn’t fix it, so i think it isn’t bug and i am doing something wrong

Hi There,

I run into the same problem with my current custom component. Have you been able to fix yours?